ngx-playwright
ngx-playwright copied to clipboard
Tools to run playwright e2e tests in an angular workspace
Add support for Angular 18-rc. Bump playwright/test because of [this](https://github.com/microsoft/playwright/issues/15717) issue. EDIT by @bgotink to stop gh from attaching this PR as "possible fix" to the linked playwright ticket
Running `ng add @ngx-playwright/test` requires an Application Project to be defined. Library projects will have components that require testing as well, but the schematic can't be used on library projects...
When I add the tests to a freshly generated project, it works OK with the default browser (chrome): ``` $ ng e2e ✔ Browser application bundle generation complete. Initial Chunk...
After successfully defining atleast 1 e2e scenario using this framework. The E2E test ended up taking about 1 minute even after disabling autoStabilization.