Add Playwright e2e test suite
This commit is contained in:
23
README.md
23
README.md
@@ -37,6 +37,29 @@ bun run build
|
||||
bun run start
|
||||
```
|
||||
|
||||
## Browser E2E tests
|
||||
|
||||
Install Playwright's Chromium browser once:
|
||||
|
||||
```bash
|
||||
bun run test:e2e:install
|
||||
```
|
||||
|
||||
Run the suite:
|
||||
|
||||
```bash
|
||||
bun run test:e2e
|
||||
```
|
||||
|
||||
Useful variants:
|
||||
|
||||
```bash
|
||||
bun run test:e2e:headed
|
||||
bun run test:e2e:ui
|
||||
```
|
||||
|
||||
The Playwright web server boot path uses an isolated SQLite database at `data/e2e.sqlite`, forces local Better Auth origins for the test port, and stores artifacts under `output/playwright/`.
|
||||
|
||||
## Docker deployment
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user