Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Get list of tests to be run in globalsetup #34784

Open
bthompzon opened this issue Feb 13, 2025 · 0 comments
Open

[Feature]: Get list of tests to be run in globalsetup #34784

bthompzon opened this issue Feb 13, 2025 · 0 comments
Labels
feature-test-runner Playwright test specific issues

Comments

@bthompzon
Copy link

🚀 Feature Request

Hi all,

In my automation project I programmatically login to several users during globalSetup however now that I have many accounts to login to I'm thinking I would like to only login to accounts which are needed for the tests being run.

I would love to be able to get a list of test names in globalSetup so I could determine what accounts need to be logged into?

I also want this to work when debugging or running from VScode so not just command line.

Is this possible?

Example

No response

Motivation

It will make handling authenticated state by specific test easier

@mxschmitt mxschmitt added the feature-test-runner Playwright test specific issues label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-test-runner Playwright test specific issues
Projects
None yet
Development

No branches or pull requests

2 participants