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
Hello,
I have a cypress installation: c:\cypress-tests on e2e-server. A gitlab runner should execute the tests. It is installed in c:\gitlab-runner. Is it possible to use an absolute paths to specify the testfiles? Name of the repo is myrepo and the files with the test files are in myrepo\tests. This is the path C:\gitlab-runner\builds\8at1ezLK\0\miller\myrepo\tests.
If try to use the absolute path, it doesn't work.
.gitlab-ci.yml:
- SET var=%cd%
- c:\cypress-tests
- node_modules\\.bin\\cypress run --browser=firefox --headless --spec '%var%/tests/test1.spec.js'
Error message:
Can't run because no spec files were found.
We searched for any files matching this glob pattern:
builds\8at1ezLK\0\miller\myrepo\tests\test1.spec.js'
Relative to the project root folder:
C:\gitlab-runner
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a cypress installation: c:\cypress-tests on e2e-server. A gitlab runner should execute the tests. It is installed in c:\gitlab-runner. Is it possible to use an absolute paths to specify the testfiles? Name of the repo is myrepo and the files with the test files are in myrepo\tests. This is the path C:\gitlab-runner\builds\8at1ezLK\0\miller\myrepo\tests.
If try to use the absolute path, it doesn't work.
.gitlab-ci.yml:
Error message:
Can't run because no spec files were found.
We searched for any files matching this glob pattern:
builds\8at1ezLK\0\miller\myrepo\tests\test1.spec.js'
Relative to the project root folder:
C:\gitlab-runner
Beta Was this translation helpful? Give feedback.
All reactions