Is it possible to set environment variables in the before:browser:launch API? #27052
Unanswered
Benyon
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The basic approach here is to make an API call to our gitlab unleash proxy to get the feature toggles in the environment, and then in the test I can use Cypress.env('TOGGLES') to get that information.
Is there a better way to achieve this?
Here's the config I have.
Beta Was this translation helpful? Give feedback.
All reactions