Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
[Issue HHS#2082]: e2e docs update (#49)
Browse files Browse the repository at this point in the history
Fixes HHS#2082

- add e2e docs prereq api command
  • Loading branch information
rylew1 authored and acouch committed Sep 18, 2024
1 parent 753b67e commit cc86313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ E2E test filenames end with `.spec.ts` and are found in the `tests/e2e` director

To run E2E tests via CLI:

- `cd ../api && make init db-seed-local start` (prerequisite to start the API)
- `npx playwright install --with-deps` — Downloads playwright browsers required to run tests
- `npm run test:e2e` — Runs all E2E tests using the playwright config found at `tests/playwright.config.ts`
- `npm run test:e2e:ui` — Run specific or all E2E tests using Playwright's [UI mode](https://playwright.dev/docs/test-ui-mode), which is useful for debugging full traces of each test
Expand Down

0 comments on commit cc86313

Please sign in to comment.