Cypress is an end-to-end testing framework written in javascript.
An overview and documentation are available here.
cd tests/cypress && npm install
You can change the environment constants to match your local setup by copying the example file as shown below and modifying its values. This new file will be excluded from version control.
cp tests/cypress/cypress.env.example.json tests/cypress/cypress.env.json
cd tests/cypress and then run composer install
Copy the configuration file into place and then start the standalone PHP server
cp tests/cypress/support/config.php system/user/config/config.php && php -S localhost:8888
Open Cypress to run tests (GUI)
cd tests/cypress && npm run cypress:open
Run Cypress tests (CLI)
cd tests/cypress && npm run cypress:run