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
FROM cypress/included:10.8.0
WORKDIR /app
# dependencies will be installed only if the package files changeCOPY package*.json ./
RUN npm ci
ENTRYPOINT [ "npx", "cypress", "open", "--project", "." ]
This is quite an old post, however it may still be relevant. Could you please let us know if the problem is still open for you or if you resolved it in the meantime? Please also state what your Docker host system is running.
The image cypress/included:10.8.0
docker run -it --rm --entrypoint bash cypress/included:10.8.0 -c "node -v"
shows Node.js v16.14.2 which is no longer supported, so this would need to be retested under a current cypress/included version.
What I am trying to do is to display the test GUI on my host machine, following the post here
Here are docker files.
Folder structure:
When I try to run with an environment variable
$DISPLAY
, it shows the error below.If I run without injecting the
DISPLAY
variable, it does run but not in watch mode, seems it was running ascypress run
instead ofcypress open
.How can I solve this issue?
The text was updated successfully, but these errors were encountered: