These tests use Playwright to simulate a user clicking through the UI of Aleph.
- Install the dependencies from
requirements-dev.txt
into your virtualenv (make dev
in your virtualenv) - Run
make e2e-local-setup
to have playwright install supported browsers - Use
make e2e-local
to run the tests locally. This requires Aleph running locally. - Use
make e2e
to run the tests in a Docker environment. Everything required will be set up before the tests run. - You might find
playwright codegen
useful for generating test code. - Debug tests visually using
PWDEBUG=1 make e2e-local
- Setting the
BASE_URL
allows one to point to a different base URL where Aleph is expected to run.