Skip to main content

Running and Debugging Tests

  1. Install 'Playwright Test for VSCode' extension

  2. Run all playwright tests (e.g journeys)

    npx nx run journeys-e2e:e2e
  1. Run just one playwright tests
    npx playwright test apps/journeys-e2e/src/e2e/journeys.spec.ts
  1. 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