Hey All,
Not been using Cypress long so any help would be greatly appreciated!
So I'm trying to run Cypress tests using a docker image I've built as I want to be able to run multiple cypress jobs using the same gitlab runner (was getting "Cannot establish any listening sockets - Make sure an X server isn't already running" if I tried to run cypress just as a stage without using docker)
I seem to be able to get the docker run command working from my host machine, however, as soon as I try this in my Gitlab Pipeline I am getting errors (see screenshot)
I've tried to place the file in different directories but this doesn't make a difference. When I do a pwd before I run the docker run command I can clearly see the config.json and test.js files in my gitlab runners build directory.
Any ideas?
https://github.com/Preddeh/cypress-test/tree/main
https://cdn.discordapp.com/attachments/1098366339074248754/1098366339208462366/Screenshot_from_2023-04-19_22-48-42.png▾