cypress-io / cypress-docker-images

Docker images with Cypress dependencies and browsers
https://on.cypress.io/continuous-integration
MIT License
1.03k stars 380 forks source link

test: update cypress in examples to 13.15.1 #1238

Closed MikeMcC399 closed 3 weeks ago

MikeMcC399 commented 3 weeks ago

Issue

examples/basic is configured with cypress@13.11.0.

cypress@13.13.0 is the minimum version compatible with Firefox 129 and above. Lower versions of Cypress fail to connect to Firefox. Using the pre-configured Cypress project in examples/basic will therefore fail with current versions of Firefox.

Change

For consistency across examples, update each of the following directories to cypress@latest (cypress@13.15.1):

Verification

cd examples/basic         # Use a pre-configured simple Cypress E2E project
npm ci                    # Install Cypress
docker build . -f Dockerfile.browsers -t test-browsers  # Build a new image
docker run -it --rm --entrypoint bash test-browsers -c "npx cypress run -b firefox" # Run Cypress test in container using Firefox

Cypress should run successfully using cypress@13.15.1 and Firefox 131.

cypress-app-bot commented 3 weeks ago