Add information for running end-to-end tests
Background / User story
The documentation about running end-to-end tests is partially outdated, fragmented and incomplete, and we should improve it.
What to change
-
Development:
- Update the main README to include up-to-date information
- Include information about running e2e tests locally
- Add links to relevant information, e.g. https://gitlab.com/adblockinc/QA-team/-/wikis/Running-e2e-locally-using-LambdaTest
Running e2e tests locally
I'll add the information here, so that it doesn't get lost. As of now (Feb 2024), to locally run the e2e tests, these steps need to be done:
- Change the value of the ciTesting variable to
false
. - If you only want to run a single test suite, change the value of the all property to an array containing only the path to the test you want to run.
- Run the
test:end-to-end-local
npm script.