question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple projectIDs for multiple environments

See original GitHub issue

Current behavior:

projectId in cypress.json is not being overridden by development.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 in development.json would override the projectId in cypress.json.

Steps to reproduce: (app code and test code)

cypress run --record --key `<record-key>`

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bahmutovcommented, Jul 29, 2019

I believe when this PR https://github.com/cypress-io/cypress/pull/3246 lands you will be able to override project ID and every other config setting as desired.

1reaction
ahewardcommented, Jul 29, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to handle multiple environments for multiple projects on ...
Is there a golden mean to handle many environments for a great number on just one machine? Our Java Expert Bartłomiej knows the...
Read more >
TracMultipleProjects/MultipleEnvironments – The Trac Project
This is the traditional way of handling multiple projects with Trac: create a new environment for tracking a given software project.
Read more >
Multi-environment service orchestrations | Google Cloud Blog
This approach makes it easy to deploy changes to a workflow in a staging environment, run tests against it, and gradually roll out...
Read more >
Setting Up Multiple Environments Guide
The way to connect to the different environments is by passing the projectId of the environment you'd like to connect to the initiating...
Read more >
Configure multiple projects | Firebase - Google
Support multiple environments in your Apple application; Support multiple environments in your Android ... Note that projectID and apiKey, though not
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found