Leaning how to use cypress for end to end testing
Install npm dependencies using the following command:
npm install
For starting cypress, execute:
npx cypress open
It will open a browser where you can run your tests.
For executing e2e tests without browser, execute:
npx cypress run --headless
Running e2e tests without browser are helpful for CI/CD pipeline