cypress-io / cypress-example-docker-compose

Example running Cypress tests against Apache server via docker-compose

Home Page:https://on.cypress.io/docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cypress-example-docker-compose

Example running Cypress tests against Apache server via docker-compose

CircleCI renovate-app badge

See docker-compose.yml and circle.yml files. First container runs Apache, second container has Cypress tests.

note: for performance on CircleCI, I have turned docker layer caching to avoid rebuilding Docker images unless they have changed.

Use

  1. build the containers with npm run build
  2. start the web application and run Cypress tests with npm run up

More info

About

Example running Cypress tests against Apache server via docker-compose

https://on.cypress.io/docker


Languages

Language:JavaScript 74.7%Language:Dockerfile 24.5%Language:HTML 0.8%