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