8 lines
433 B
Markdown
8 lines
433 B
Markdown
|
|
# E2E
|
||
|
|
|
||
|
|
Copy `.env.e2e.example` to `.env.e2e`. The DB name must contain `e2e`; scripts reject any other name.
|
||
|
|
|
||
|
|
Run `yarn e2e:db:up`, `yarn playwright install chromium`, then `yarn e2e`. Use `yarn e2e:db:down` to discard the isolated DB.
|
||
|
|
|
||
|
|
Authentication is performed once by Playwright global setup through the UI, then saved as browser storage state. This is required because `react-secure-storage` encrypts its local storage values.
|