Open kprekratbob opened 10 months ago
On the same note, the same generator adding eslintrc.json config to the base config which includes all the files instead to the block that restricting the files only under /e2e
Current:
Expected:
any news on that? maybe a workaround to extend the current generator?
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏
Current Behavior
When generating playwright configuration for existing Angular project via
nx g @nx/playwright:configuration
, playwright test configuration will be created, but newly added playwright tests (.spec.ts
files) will not be excluded from compilation when runningnx test
for that project.Expected Behavior
When
nx test project
is run, tests inside of thee2e
folder should not be part of the testing (compilation) scope.Possible solution:
Create a separate tsconfig file for e2e tests, and exclude e2e folder in
tsconfig.spec.ts
file.GitHub Repo
No response
Steps to Reproduce
nx g @nx/playwright:configuration --project=project-name
nx test
, created file should throw a compile-time errorNx Report
Failure Logs
No response
Package Manager Version
16.4.0.
Operating System
Additional Information
No response