Is there a way I could run parallel cypress executors without access to the cypress dashboard?
I'm trying to have cypress run my tests in parallel but it seems that you must have internet connectivity to reach the cypress dashboard to record the tests.
Anyone knows how I can get around this and have tests run in parallel without being dependent on Cypress Dashboard or a specific CI tool like Circle CI?
Thanks in advance!
Look at this free solution https://github.com/agoldis/sorry-cypress I use only director service in docker-compose to make tests run parallel , as a simple example:
version: '3.7'
networks:
default:
external:
name: bridge
services:
cypress:
container_name: cypress
build:
context: ../
dockerfile: ./docker/cy.Dockerfile
links:
- director
ports:
- '5555:5555'
network_mode: bridge
cypress2:
container_name: cypress2
build:
context: ../
dockerfile: ./docker/cy.Dockerfile
links:
- director
ports:
- '5556:5556'
network_mode: bridge
mongo:
image: mongo:4.0
network_mode: bridge
ports:
- 27017:27017
director:
image: agoldis/sorry-cypress-director:latest
environment:
MONGODB_URI: "mongodb://mongo:27017"
network_mode: bridge
ports:
- 1234:1234
depends_on:
- mongo