-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
@nx/playwright ignoring --project argument #26965
Comments
Hey, can you retry this with the latest of Nx (19.5)? If it still doesn't work, could you provide a repo with a minimal reproduction, it would be super helpful. |
Repo: https://github.com/MillerSvt/nx-playwright-bug-repro
Workaround:
|
Could you fix it for version 18 as well? |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
@Coly010 what? |
@MillerSvt Can you try Note the additional |
It worked. Thank you! It would be nice to reflect this nuance in the documentation, because all other parameters work without additional |
Yeah, this one is kind of a "special case" because Nx CLI has an |
…ith Nx (#29107) ## Current Behavior Missing documentation on how to use Playwright's `--project` argument with Nx. Because Nx also has a `--project` argument, passing it to the command like `nx e2e app --project=firefox` will result in the `--project` being stripped from the command that is sent to Playwright. ## Expected Behavior The fix is simple enough, change the command to be `nx e2e app -- --project=firefox` to ensure the argument is forwarded correctly to Playwright. Add some information to the Playwright plugin's overview documentation to explain this. ## Related Issue(s) Fixes #26965
…ith Nx (#29107) ## Current Behavior Missing documentation on how to use Playwright's `--project` argument with Nx. Because Nx also has a `--project` argument, passing it to the command like `nx e2e app --project=firefox` will result in the `--project` being stripped from the command that is sent to Playwright. ## Expected Behavior The fix is simple enough, change the command to be `nx e2e app -- --project=firefox` to ensure the argument is forwarded correctly to Playwright. Add some information to the Playwright plugin's overview documentation to explain this. ## Related Issue(s) Fixes #26965 (cherry picked from commit c66b99c)
Current Behavior
nx e2e app --project=chromium
Runs all tests, ignoring the --project parameter
Expected Behavior
Runs only tests in the chromium project
GitHub Repo
#26965 (comment)
Steps to Reproduce
nx e2e app --project=some-project
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: