start-ui-web icon indicating copy to clipboard operation
start-ui-web copied to clipboard

Fix: CI `test` step on gitlab-ci

Open Rileran opened this issue 2 years ago β€’ 1 comments

When deploying start-ui with gitlab-ci, the test step will fail because cypress wont' work inside docker (as there is not X server available).

Solution seems to be using image cypress/base for this particular step (see https://docs.cypress.io/examples/examples/docker#Images and https://gitlab.com/cypress-io/cypress-example-docker-gitlab/-/blob/master/.gitlab-ci.yml)

I will test this solution and submit a PR soon.

error.log

Rileran avatar Aug 04 '22 08:08 Rileran

I have got it mostly working in this PR https://github.com/BearStudio/start-ui-web/pull/275, but now some test cases are failing (see https://gitlab.com/thomas338/start-ui-cypress-gitlab-ci/-/jobs/2814226349).

Rileran avatar Aug 04 '22 13:08 Rileran

I have the same issue, I will try to find a way to fix it

FabienEssid avatar Dec 08 '22 17:12 FabienEssid