A blueprint getting started with Cypress.io
A sample React App, bootstrapped with Create React App (TypeScript)
$ cd my-app
$ npm install
# Run the app -> http://localhost:3000
$ npm start
# In another terminal, run e2e-tests
$ npm run test:e2e
...
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ √ sample-spec.cy.js 479ms 1 1 - - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
√ All specs passed! 479ms 1 1 - - -
A container executing e2e-tests suitable for a CI/CD pipeline.
docker-compose run --rm cypress