When launching 2 cypress-cloud run command for a same pipeline by specifying a tag, the second tagged run is not run. #148
Unanswered
samixchoumi
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@samixchoumi Please refer to https://currents.dev/readme/guides/cypress-ci-build-id guide. Also, please consider using |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before opening, please confirm:
Environment information
Describe the bug
In my GitLab CI, I run 2 commands :
npx cypress-cloud run --record --key aaa --parallel --ci-build-id $CI_PIPELINE_ID --env allure=true,configFile=preprod,TAGS=\"not @ignore and not @teststeardown\" --browser chrome
npx cypress-cloud run --ci-build-id $CI_PIPELINE_ID --env allure=false,configFile=preprod,TAGS=\"@teststeardown\" --browser chrome
The problem is that second command is skipped because for
cypress-cloud
, the tagged test with@teststeardown
are already "run" (or skipped) on the previous call, so they are not launched but I need them to be specifically launched AFTER the first run.If I change the order, this time, the
@teststeardown
tags should be launch but the step is just skipped.Expected behavior
When a test is tagged to be not run, just don't put it to ignore case (except if tagged ignore).
Command and Setup
I use sorry-cypress provider.
The commands are shown before.
Full log and debug output
Just the stage is skipped :
Beta Was this translation helpful? Give feedback.
All reactions