test: revert "test: set defaultBrowser to chrome (#1713)"#1727
Merged
mschile merged 2 commits intocypress-io:masterfrom Apr 17, 2026
Merged
test: revert "test: set defaultBrowser to chrome (#1713)"#1727mschile merged 2 commits intocypress-io:masterfrom
mschile merged 2 commits intocypress-io:masterfrom
Conversation
|
This reverts commit 68be0d4.
b27cea7 to
e274296
Compare
Collaborator
Author
|
The |
This was referenced Apr 17, 2026
mschile
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Situation
Workflows recording to Cypress Cloud are currently sporadically failing due to a deployment of ubuntu-24.04
This includes a major version update from Google Chrome 146 to 147.
This is a known issue described in the README > parallel section:
In anticipation of a change in the future Cypress 16 release, which would have removed Electron as the default browser, PR #1713 set Chrome as the default browser in this repo.
In the meantime, the plans for Cypress 16 have changed and Electron remains.
Setting Chrome as default has exposed the workflows to the issue described above, where GitHub Actions randomly provides old and new runner versions in parallel runs.
Change
Revert #1713 commit 68be0d4 to reset the default browser version from an explicit choice of Chrome back to Cypress' default setting of Electron.
Note
Low Risk
Changes are limited to CI/test configuration and browser selection; main risk is unintended shifts in which browser tests run under (especially in existing workflows) rather than production behavior.
Overview
Reverts the examples’ Cypress configuration to stop forcing
defaultBrowser: 'chrome', letting Cypress fall back to its default browser (Electron) to reduce flakiness from GitHub runner Chrome version drift.Updates the
example-dockerGitHub Actions workflow matrix to also run tests againstelectronalongsidechrome,edge, andfirefox.Reviewed by Cursor Bugbot for commit 934de0b. Bugbot is set up for automated code reviews on this repo. Configure here.