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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Start headed from UI #31380

Open
PhilGarb opened this issue Jun 19, 2024 · 0 comments
Open

[Feature]: Start headed from UI #31380

PhilGarb opened this issue Jun 19, 2024 · 0 comments

Comments

@PhilGarb
Copy link

PhilGarb commented Jun 19, 2024

馃殌 Feature Request

I think a button to run a test in a headed browser from the playwright ui would be a great improvement.

Example

  1. In the config file a project can be marked as default.
  2. In the playwright ui a new button can be clicked to run: playwright test --project='<default from config>'-g '<name>' (name is replaced with the actual test name)
  3. (Optional) The test can be debugged and if it passes in the headed browser the test can be marked as passed in the ui.

It could be placed here:
image

Motivation

Ever since the ui mode has been released my workflow has looked like this:

  1. Use UI to run all test locally. (Terminal 1)
  2. Check failing tests and fix obvious problems.
  3. Go to file for failed test.
  4. Copy name from file.
  5. Run playwright test --project=chromium -g '<name>' (Terminal 2)
  6. Debug the test.
  7. Repeat 3-7 for each failed test.

I feel like having the option to just do steps 3-5 right from the failed test in the ui could be a major help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants