Running and Debugging Tests
-
Install 'Playwright Test for VSCode' extension
-
Run all playwright tests (e.g journeys)
npx nx run journeys-e2e:e2e
- Run just one playwright tests
npx playwright test apps/journeys-e2e/src/e2e/journeys.spec.ts
- Devcontainer's HTML results can be found at the root level in playwright-report/index.html. Copy entire directory to local and open the html report.
More resources on running tests: https://playwright.dev/docs/running-tests