Make running tests on lambdatest from local machine work out of the box
Background / User story
We want to make the barrier of entry to running and contributing to tests as low as possible.
Right now, running a test on lambdatest from your local machine involve many cumbersome steps where multiple code files need to be edited, and then the edits need to be removed before checking your change in versioning.
Everytime one tries to run test on lambdatest, one must go through the steps again, and while there is a python script that does most of these steps, it's not obvious that it even exists for anybody who wants to contribute to the ABP codebase.
What to change
- Make
npm run test:end-to-end [SUITE_NAME]
work out of the box. - Give helpful guidance through actionable error messages when something is missing
- Prevent secret keys getting checked in versioning
Hints for testers
It should be easy to run test on lambdatest from your own machine, these improvements should not break other ways to run e2e tests, they should still work in every environments.
Edited by Marwan Zibaoui