Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.78 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.78 KB

hello.cypress

A blueprint getting started with Cypress.io

My-App

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        -        -        -

Cypress

A container executing e2e-tests suitable for a CI/CD pipeline.

docker-compose run --rm cypress

References

Alternatives