From 9b8cd175fb465c5bc738d19b326a3f2b1f91b475 Mon Sep 17 00:00:00 2001 From: Ryan Lewis <93001277+rylew1@users.noreply.github.com> Date: Fri, 24 May 2024 10:26:48 -0700 Subject: [PATCH] [Issue #37]: e2e docs update (#49) ## Summary Fixes #37 ## Changes proposed - add e2e docs prereq api command --- frontend/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/README.md b/frontend/README.md index 2238207f7..742dcbd59 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -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