Running Cypress in Gitlab CI
I ran into some difficulties a few weeks ago when attempting to run Cypress tests as part of my CI script in Gitlab. The application I was working with has a Golang backend and the front end is generated with Nuxt. As this project had private dependencies, my CI script built the application in separate stages. One for the server and one to generate static files. This pattern worked well for creating a final Docker image. However; when trying to add E2E tests as part of the flow, I rapidly ran into issues.
Tags: cypress, gitlab, ci