Skip to content

Environment based configurations #576

@itsthatguy

Description

@itsthatguy

Is this a Feature or Bug?

Feature

Current behavior:

Managing different environments for running cypress requires changes to code, to load different sets of variables.

Desired behavior:

In the desktop app, and cli you can specify a specific configuration file to use for loading different configurations.

Ideally, you could create different environment based configurations via cypress.qa.json cypress.dev.json cypress.prod.json with your environment based configurations set there. Then tell cypress which environment variable file you wanna use.

For the desktop app this could be done with a selectable menu, or input.
For the cli this could be done with a command argument, such as --config cypress.qa.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureNew feature that does not currently exist

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions