You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow the cypress-example-kitchensink instructions linked below.
cypress/base tests seem to start running but hang Running: 1-getting-started/todo.cy.js (1 of 20)
cypress/browsers hangs at DevTools listening on ws://127.0.0.1:42305/devtools/browser/8a4057a7-6b88-41f1-bde6-0907871b57fb
cypress/included hangs at DevTools listening on ws://127.0.0.1:41755/devtools/browser/d36620a0-a3ea-4387-a48b-b3e9e38cc911
Run unset DOCKER_DEFAULT_PLATFORM so we use the arm64 images "Architecture": "arm64", and delete all of the Cypress images to ensure you pull fresh ones for the defined platform
cypress/included works (note the supplied code specifies chrome which is NOT included in the arm images so make sure to run it with no browser specified)
The text was updated successfully, but these errors were encountered:
cgraham-rs
changed the title
Cypress hangs when run on Apple Silicon using linux/amd64
Cypress hangs when run on Apple Silicon using linux/amd64 and Resetta amd64 emulation
Nov 14, 2024
In summary, running Intel-based containers on Arm-based machines should be regarded as "best effort" only.
Since the Cypress Linux/amd64 Docker images are generally working correctly in a native x86_64 / amd64 environment, it is difficult to imagine that there is any scope for the Cypress Docker images to influence how the emulation in an arm64 environment runs.
You may be able to get some assistance in the Docker Desktop for Mac repo or from Docker support if you are eligible. Do however consider the "best effort" statement from Docker above.
Cypress fails to run when executed on Apple M-series Mac using
amd64
emulation.Setup
Use Rosetta for x86_64/amd64 emulation on Apple Silicon
export DOCKER_DEFAULT_PLATFORM=linux/amd64
docker rmi {imageId}
to ensure you pull fresh ones for the defined platformFollow the cypress-example-kitchensink instructions linked below.
Running: 1-getting-started/todo.cy.js (1 of 20)
DevTools listening on ws://127.0.0.1:42305/devtools/browser/8a4057a7-6b88-41f1-bde6-0907871b57fb
DevTools listening on ws://127.0.0.1:41755/devtools/browser/d36620a0-a3ea-4387-a48b-b3e9e38cc911
Run
unset DOCKER_DEFAULT_PLATFORM
so we use thearm64
images"Architecture": "arm64",
and delete all of the Cypress images to ensure you pull fresh ones for the defined platformThe text was updated successfully, but these errors were encountered: