cypress-example-docker-compose-included
Example showing
docker-compose
running local Cypress tests inside a container using cypress/included image
See docker-compose.yml file
Use
# run tests using built-in Electron browser
docker-compose run e2e-electron
# run tests using Chrome browser pre-installed in cypress/included image
docker-compose run e2e-chrome
# run tests using Firefox browser (also pre-installed)
docker-compose run e2e-firefox
The tests work against https://example.cypress.io/ and use specs from cypress-example-kitchensink
Examples
Find more Docker + Cypress examples in Cypress Docker docs