Cypress cannot connect to edge browser if I run tests in gitlab runner #27391
Unanswered
Cinamo-Vento
asked this question in
CI setup
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I use Cypress to run autotests on three different browsers.
When I run "npx cypress run --browser edge" locally on my laptop, Cypress launches Edge successfully.
But I need to run tests in Gitlab Runner (this is also installed on my laptop).
For some reason Cypress is unable to connect to Edge if tests are run in Gitlab CI. There are no problems connecting to Chrome and Firefox.
I tried to specify the path to the msedge.exe file, but it does not help. I also tried updating Edge, that didn't help either.
Trying to change the image to an image from the Edge browser didn't help either, Cypress still couldn't connect to Edge.
My pipeline log:
If I specified the path to Edge:
My gitlab-ci.yml file:
Please tell me why he can't connect to Edge even though he sees it?
Beta Was this translation helpful? Give feedback.
All reactions