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
ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
Failed to connect to the bus: Address does not contain a colon
ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
The text was updated successfully, but these errors were encountered:
We found that this problem only happen for us when we run the container with a non-root user. Our solving steps were as follows:
First, we changed the container to run as root. This failed with firefox not being identified on the system.
This is the problem reported on #85, but the problem is not running as root per se, actually firefox only blocks running as a user that does not own the $HOME path.
Second, we removed our $HOME var and passed the full firefox path to cypress (--browser /opt/firefox/firefox). This works, but all artifacts generated are now own by the root user.
Third, we added a script to run at the end of the test suite that chowns the artifacts back to the correct user.
Those steps are only necessary for Firefox due to it's security restriction.
Hope this helps everyone else that reaches a similar problem
Getting below error while running cypress scripts in firefox browser
Cypress version - 9.2.0
Docker image- Tried with below images
cypress/browsers:node12.18.3-chrome89-ff86
cypress/browsers:node14.17.0-chrome91-ff89
Note: It is working fine in chrome browser
ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
Failed to connect to the bus: Address does not contain a colon
ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
The text was updated successfully, but these errors were encountered: