-
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
moved #27911
moved #27911
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outlining the requirements from product
In Scope
- The config option should be named
browser
since it is the same behavior as the --browser flag - The config option when used during
cypress run
should run the browser - The config option when used during
cypress open
should pre-select browser - (behave the same as --browser flag) - The
–browser
flag overrides any value of configurationbrowser
viacypress run
orcypress open
- The
browser
config should available on top level config and also via the e2e and ct testing types to specify a different browser for each testing type - If CYPRESS_CONFIG={browser: chrome} –browser firefox passed to terminal, –browser overrides browser config
- The
browser
config should accept args just like the --browser flag, including channels (chromiu, chrome:beta, etc) - Should error when an invalid or not found browser is passed to
browser
config, just like –browser flag - Should be able to write config.browser within the setupNodeEvents since
browser
is now on main config
Not in scope
- Allowing to specify a headed or headless option for the browser is not in scope
- The
browser
config will not be settable on spec/suite level config - The
browser
config will not be available via Module API (could always pass browser flag at this point) - Do not need to update the GitHub action
@alexsch01 As this PR stands, we would not accept these changes because they don't match the requirements that we'd want in the product for this feature.
There's an issue, variable If we have a new variable Also Please look this over with the product team |
@alexsch01 I kicked off the build, but I also pulled develop into the branch, there have been some build/cli changes. Apologies if there's any inconvenience. |
I really believe this should be merged, but unforunately it won't be accepted |
moved to #30517 since I can't reopen this pull request