Angular end-to-end testing

Cypress

To add Cypress into Angular app simply remove Protractor and run: "ng e2e"

or run this Cypress schematic:


ng add @cypress/schematic

CLI command to run Cypress Test Runner UI (requires separate "ng serve" running instance):


sudo npx cypress open

CLI command to run Cypress Test Runner UI (does not require separate "ng serve" running instance):


sudo ng e2e

CLI to run all the tests in CLI (requires separate "ng serve" running instance):


sudo npx cypress run --browser chrome