npm install -save https://github.com/Skywire/m2-cypress-suite.git#master
Test files will be installed to dev/tests/cypress
A cypress.json
file will be created in your project root
You should configure cypress and then commit all generated files.
Set the baseUrl
in cypress.json
- baseUrl: The full URL to your Magento instance e.g
https://docker.magento24.com
You will need to disable form key validation to allow for fixture HTTP requests
https://github.com/Skywire/m2-module-form-key-toggle
./node_modules/.bin/cypress open
./node_modules/.bin/cypress run