cypress-example-docker-compose
Example running Cypress tests against Apache server via docker-compose
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
- build the containers with
npm run build
- start the web application and run Cypress tests with
npm run up