-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an image that integrates Chrome, Firefox and Edge? - (ffmpeg Error with Edge) #450
Comments
I'm interested in this as well @mrpicklez70, could you share your DockerFile that is based |
Hi @RobinHoutevelts, sure thing. It looks somewhat like this: FROM cypress/browsers:node12.18.4-edge88
RUN apt-get update
RUN apt-get install -y fonts-liberation libappindicator3-1 xdg-utils
# install Chrome browser
# check https://chromium.cypress.io/
ENV CHROME_VERSION 87.0.4280.66
RUN wget -O /usr/src/google-chrome-stable_current_amd64.deb "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb" && \
dpkg -i /usr/src/google-chrome-stable_current_amd64.deb ; \
apt-get install -f -y && \
rm -f /usr/src/google-chrome-stable_current_amd64.deb
RUN google-chrome --version
# "fake" dbus address to prevent errors
# https://github.com/SeleniumHQ/docker-selenium/issues/87
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
# Add zip utility - it comes in very handy
RUN apt-get update && apt-get install -y zip
# add codecs needed for video playback in firefox
# https://github.com/cypress-io/cypress-docker-images/issues/150
RUN apt-get install mplayer -y
# install Firefox browser
ARG FIREFOX_VERSION=82.0
RUN wget --no-verbose -O /tmp/firefox.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2 \
&& tar -C /opt -xjf /tmp/firefox.tar.bz2 \
&& rm /tmp/firefox.tar.bz2 \
&& ln -fs /opt/firefox/firefox /usr/bin/firefox
Note: I removed a list of dependencies that are specific to my project. If you look at the DockerFile of |
Duplicate of #333 |
Hi, I need to include Edge as one of the supported browsers for my application, but I'm not able to run the specs sequentially as I do in Chrome and Firefox.
Context:
node12.18.3-chrome87-ff82
as base image (this is the base image of a DockerFile where I download some other dependencies).Things I've tried:
node12.18.4-edge88
image and tried to run my tests in sequence; it all worked perfectly.gitlab-ci.yml
file, I tried to add Microsoft Edge as a dependency to my DockerFile and the installation was successful. However, when I ran the tests in Edge from the created container, I got this ffmpeg error after the first spec was executed. I tried the suggested workarounds from the thread, yet nothing seemed to work.node12.18.4-edge88
andnode12.18.3-chrome87-ff82
. What I found was that only the node version seemed to be different.cypress/base:12.18.4
as base for my DockerFile and installed all three browsers 'manually'. And... again, Chrome and Firefox worked fine, but Edge threw the ffmpeg error after the first spec finished running.node12.18.4-edge88
as base image for my DockerFile and installed Chrome and Firefox 'manually. This time everything worked fine in all three browsers.Attempted Approaches:
Conclusion/Request?
node12.18.3-chrome87-ff82
andnode12.18.4-edge88
that could prevent Edge from working properly on it?Thanks in advance for the help!
The text was updated successfully, but these errors were encountered: