40 lines
740 B
Markdown
40 lines
740 B
Markdown
# E2E Test Harness
|
|
|
|
Cucumber + Playwright smoke tests for HeyGermany, based on the Seminarhof setup.
|
|
|
|
## Running
|
|
|
|
From the repo root:
|
|
|
|
```sh
|
|
yarn e2e
|
|
```
|
|
|
|
Headed mode:
|
|
|
|
```sh
|
|
yarn e2e:headed
|
|
```
|
|
|
|
By default the harness starts:
|
|
|
|
- `pikku dev --port 3000`
|
|
- `yarn workspace @heygermany/website dev --port 3001`
|
|
|
|
You can also run the servers yourself and disable harness management:
|
|
|
|
```sh
|
|
APP_URL=http://localhost:3001 \
|
|
API_URL=http://localhost:3000 \
|
|
yarn workspace @heygermany/e2e test:tag '@smoke'
|
|
```
|
|
|
|
## Scope
|
|
|
|
The initial suite is intentionally basic:
|
|
|
|
- public page smoke coverage
|
|
- login page rendering and client-side validation
|
|
|
|
This gives the repo a stable baseline before adding seeded auth flows or deeper application journeys.
|