-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple projectIDs for multiple environments #4028
Comments
ProjectIds are meant to identify a single project, as the name indicates. ProjectIds are automatically generated per project and are read only. You cannot overwrite the projectId. If you can, we'd like to know why you want a separate ProjectID per environment within the same project. We may be able to help you achieve the result you're looking for in another way. |
For my local developmental purposes, I'd like to have a separate project where I can view my tests in the dashboard. I also have a projectID created for an organization and I do not want to pollute my dashboard created for the organization with tests that I run locally. |
Hi @jennifer-shehane Is there any solution for my use-case? |
No. There is not a way to do this currently with Cypress. I'd suggest looking into grouping as possibly a way to organize some of the run data. https://on.cypress.io/parallelization#Grouping-test-runs We don't intend to support multiple projectIds per project, so we will be closing this issue. |
Grouping will be a workable solution as soon as you guys start beefing up the features and customizability of your dashboard UI offering. Until then, it's disappointing that we can't use multiple project IDs in the same codebase. |
I believe when this PR #3246 lands you will be able to override project ID and every other config setting as desired. |
Also, this issue may be a relevant feature for you all looking here #2561 |
Any updated on this? We have a repo with test for mobile and desktop and we need to have them splitted in dashboard. It seems a pretty reasonable use case. |
Could use use separate config files for different environments?
…Sent from my iPhone
On Jan 6, 2021, at 10:51, SimoneB ***@***.***> wrote:
Any updated on this?
We have a repo with test for mobile and desktop and we need to have them splitted in dashboard. It seems a pretty reasonable use case.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Current behavior:
projectId
incypress.json
is not being overridden bydevelopment.json
.Desired behavior:
I would want to have different project ID's for different environments. Hence, I assumed https://on.cypress.io/configuration-api#Usage according to this, I would expect that the
projectId
indevelopment.json
would override theprojectId
incypress.json
.Steps to reproduce: (app code and test code)
The text was updated successfully, but these errors were encountered: