Open kprekratbob opened 7 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?
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