Can we have more than one projectId in the same cypress.json? #15375
MatiDiez
started this conversation in
Cypress Cloud
Replies: 1 comment
-
It is not possible, but you could have several Cypress config files and use different config file for each project
Tip: passing the record key via environment variable CYPRESS_RECORD_KEY is better way to keep it secret |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So our use case is. We have two separate applications under test within the same cypress project.
We are using cucumber on top of cypress and we have tags to run our tests separate like this:
npx cypress-tags run -e TAGS=“@App1”
npx cypress-tags run -e TAGS=“@App2”
We are recording our suite as a whole but we now need to split the results in the dashboard. We already have a bunch of custom commands and shared steps so Ideally we would like to avoid working with two separate repos. Can we use 2 projects for each app. To run on our CI something like:
npx cypress-tags run -e TAGS=“@App1” --record --key asdasd
npx cypress-tags run -e TAGS=“@App2” --record --key asdasd
Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions