539 B
539 B
e2e
Install deps with corepack pnpm i.
Ensure that if you update @playwright/test that
(a) it remains a devdep, and
(b) it is a =-type dependency.
Start a dev server with cargo run. Tests expect an ephemeral user with username and
password both test. Achieve this with
cargo run set-password test
then
sqlite3 users.db "update users set ephemeral=true where username='test'"
Run tests in the docker image with the right browsers installed with ./Taskfile playwright:local or ./Taskfile playwright:ui.