This is a repository from my Drupal South 2023 talk:
"Automate your tests so you can drink more coffee".
Link to talk: COMING SOON
These are some basic Cypress tests and commands to help you get started.
Make sure you have Node.js and npm installed on your system.
To install the dependencies, run the following command:
npm install
npm run cypress:open
Run in headless mode
npm run cypress:headless
and regenrate your baseline screen shots
npm run cypress:new-screenshots
Finally you can output a HTML report using:
npm run cypress:new-screenshots
Please note that this repository is archived and will not be updated. As time goes on, dependencies and configurations may change, and things may break. Use this codebase as a starting point and adapt it to your needs.
Thank you for checking out this repository!