An end to end test checks whether a application works as expected or not from beginning to end to ensure the application flow behaves as expected
Selenium
Cypress is a Javascript based testing framework.
Automatic waiting
no need waits or sleeps in between commands and assertions
Screenshots and videos
Network traffic control
Real time reloads
Cross browser Testing
Even Edge and Electron
Easy to pickup
npm init
npm install cypress
touch /cypress/integration/consumer/login_spec.js
Describe - Cypress method for containing one or more related tests. New suite of tests for a functionality should be wrapped in a describe block.
It - The actual test block. Write your test logic inside the it block using Cypress commands
Reminders:
https://www.cypress.io/support
https://docs.cypress.io/guides/references/best-practices
https://github.com/cypress-io/cypress-realworld-appBullet
https://github.com/dolthub/dolthub-cypress