Skip to content
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

Pass list of detected browsers to plugins file via config object #5067

Closed
bahmutov opened this issue Aug 30, 2019 · 2 comments · Fixed by #5068
Assignees

Comments

@bahmutov
Copy link
Collaborator

@bahmutov bahmutov commented Aug 30, 2019

Currently in v3.4.1 we detect browsers on the user's system, then load the cypress/plugins/index.js file, but the config object we pass does NOT have the list of browsers. By passing the list of browsers via config we can let the user check if a required browser has been detected for example.

Second goal:
allow plugins to return the config object with modified browsers list and then use it.

@cypress-bot

This comment has been minimized.

Copy link

@cypress-bot cypress-bot bot commented Nov 19, 2019

The code for this is done in cypress-io/cypress#5068, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot

This comment has been minimized.

Copy link

@cypress-bot cypress-bot bot commented Nov 27, 2019

Released in 3.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.