A simulator to run e2e MinusX tests
- Only first time, have to install Chromium stuff
yarn playwright install
- On macs, have to start docker app
Ensure there is a valid extension build in ../extension/build and that it points to a valid MinusX web server (Typically localhost:3005, for development builds). Then run:
yarn testTest configs can be edited at src/configs.ts
To see test reports, run:
yarn reportTo run additional tests, you can pass HEADLESS=true and PROD=true to run headless tests and tests against the production build respectively. For example:
HEADLESS=true PROD=true yarn test