Replies: 1 comment 12 replies
-
Please make sure you're using the same buildId If you want two invocation to be within the same run. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just started using sorry-cypress and I am encountering an issue where it appears I am getting the same specs run on each node.
For example I have a couple of nodes being used for our test stage in our Jenkins Pipeline
This in turn executes the following on each node
sh "CYPRESS_API_URL=\"${CYPRESS_API_URL}\" npx cy2 run --record --key XXX --group 2x-chrome --parallel --ci-build-id ${env.BUILD_ID} --browser chrome --headless --config-file cypress/cypress.${E2E_ENVIRONMENT}.json --env $envCredentials || true"
I have actually only got one spec file in the project current, just whilst I get sorry-cypress setup in our environment.
But I see in the dashboard the same spec gets run twice, one for each node, I can see different machine id's when I click into each of these runs.
Why are these not getting grouped together, what am I missing?
Beta Was this translation helpful? Give feedback.
All reactions