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
# Args are defined in the Dockerfile before the FROM command.
# Using these args will cause an image to be created with node (default version is 16.18.1), chrome, firefox and edge.
ARG CHROME_VERSION='107.0.5304.121-1'
ARG EDGE_VERSION='100.0.1185.29-1'
ARG FIREFOX_VERSION='107.0'
FROM cypress/factory
COPY . /opt/app
WORKDIR /opt/app
RUN npm install --save-dev cypress
Can you take a look here: #862 (this has some info, it's docker and docker + firefox specific, though).
I checked with @mjhenkes who knows the docker images better than myself - "browser don’t get installed an M1. I think you can force it to the amd64 image, but don’t know how off hand".
I'm not sure why this is the case - I'll mark this as a known issue and enhancement, since it would be good to install the browsers on M1 + docker.
Current behavior
Unable to run Cypress test on Chrome and Firefox Browsers using Docker in Apple M1 chip.
It works fine, locally for chrome and firefox but there is issue while running using the Docker command. A similar thing works fine on Mac Intel Chip.
Command : docker run -it -v $PWD:/e2e -w /e2e cypress/included:12.8.1 --browser firefox
While executing, without using Docker
Also, used cypress/factory Image ( Dockerfile)
But same issue observed in Apple M1 Chip
Desired behavior
Should be able to run on the specified behaviour.
Test code to reproduce
Command: docker run -it -v $PWD:/e2e -w /e2e cypress/included:12.8.1 --browser firefox
Dockerfile:
`# Args are defined in the Dockerfile before the FROM command.
Using these args will cause an image to be created with node (default version is 16.18.1), chrome, firefox and edge.
ARG CHROME_VERSION='107.0.5304.121-1'
ARG EDGE_VERSION='100.0.1185.29-1'
ARG FIREFOX_VERSION='107.0'
FROM cypress/factory
COPY . /opt/app
WORKDIR /opt/app
RUN npm install --save-dev cypress`
Cypress Version
12.7.0
Node version
16.7.0
Operating System
MAC OS 12.6 (Apple M1) - MAC OS Monterey
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: