Closed MikeMcC399 closed 1 month ago
master
branch.@jennifer-shehane
This is now ready for review & merge, to trigger updated Cypress Docker images for Node.js 18.20.3
.
After having to revert the CircleCI Ubuntu image back to an older version, there seems to be a higher occurrence of test failures against Firefox, where Cypress fails to connect. I don't know any quick fix for this. It means that CI needs to be re-run to get a successful test.
Next failure:
#9 14.81 npm error URL: https://download.cypress.io/desktop/13.11.0?platform=linux&arch=arm64
#9 14.81 npm error Error: Failed downloading the Cypress binary.
#9 14.81 npm error Response code: 502
#9 14.81 npm error Response message: Bad Gateway
images should be released @MikeMcC399
@AtofStryker
images should be released @MikeMcC399
Thank you! It mostly produced the desired results, apart from the following, which I unfortunately overlooked:
Perhaps you could take a look at correcting the cypress/included:13.11.0
tag before it causes user issues? Sorry for the inconvenience!
@AtofStryker
images should be released @MikeMcC399
Thank you! It mostly produced the desired results, apart from the following, which I unfortunately overlooked:
Perhaps you could take a look at correcting the
cypress/included:13.11.0
tag before it causes user issues? Sorry for the inconvenience!
no worries I can get it bumped
On amd64
22.04.4
LTS, Node.js 20.14.0
LTS, Docker Engine v26.1.4
Docker Desktop for Linux / Windows v4.31.0
10.0.22631.3672
, WSL 2.1.5.0
Create a test project:
mkdir cy-18.20.3-test
cd cy-18.20.3-test
npm init -y
npm install cypress --save-dev
npx cypress open
In the Cypress GUI then:
Check that project runs successfully without Docker:
npx cypress run
Execute:
docker run -it --rm -v .:/e2e -w /e2e --entrypoint bash cypress/base:18.20.3
npx cypress install
npx cypress run
exit
Cypress should show Node.js v18.20.3
and all tests should run successfully.
docker run -it --rm -v .:/e2e -w /e2e --entrypoint bash cypress/browsers:node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1
npx cypress install
npx cypress info
npx cypress run
npx cypress run -b chrome
npx cypress run -b edge
npx cypress run -b firefox
exit
All tests should be successful. The browser (major) versions reported by Cypress should match the versions in the Docker image tag.
npm uninstall cypress
docker run -it --rm -v .:/e2e -w /e2e --entrypoint cypress cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1 info
docker run -it --rm -v .:/e2e -w /e2e cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1
docker run -it --rm -v .:/e2e -w /e2e cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1 -b chrome
docker run -it --rm -v .:/e2e -w /e2e cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1 -b edge
docker run -it --rm -v .:/e2e -w /e2e cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1 -b firefox
All tests should be successful. The browser (major) versions reported by Cypress should match the versions in the Docker image tag.
Issue
Current Cypress Docker images which include Node.js
18.x
are using 18.16.1 which is now almost one year old. The current latest Node.js 18.x version is 18.20.3 released on May 21, 2024.Change
Refresh Current Cypress Docker images
cypress/base
,cypress/browsers
andcypress/included
using the current latest Node.js18.x
version 18.20.3 combined with the latest default values for OS (Debian 12), Yarn (1.22.22
), browser and Cypress versions as defined in factory/.env.latest
tag is not applied, e.g.cypress/base:latest
as the images created are for older versions.cypress/factory
is published. This is not necessary or desired.Verification