test: set defaultBrowser to chrome - #1887
Open
MikeMcC399 wants to merge 2 commits into
Open
Conversation
Remove Electron tests Re-applies cypress-io#1713
Collaborator
|
MikeMcC399
marked this pull request as ready for review
September 4, 2026 16:17
AtofStryker
approved these changes
Sep 4, 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
Electron is used as the default browser throughout this repo.
With the release of Cypress 16.0.0 Electron has been deprecated:
Change
Chrome is the most used browser and is available in GitHub-hosted runners for each operating system, with the exception of ubuntu-24.04-arm, for which it has been requested through actions/runner-images#14567.
Use Firefox for
ubuntu*-armrunner images.For those examples that are not browser-specific, add the Browsers configuration setting
defaultBrowsers: chrome.Remove tests that explicitly specify
electron.This re-applies 68be0d4 from PR #1713.
Note
Low Risk
Changes affect example projects and CI workflows only, with no production action logic or security-sensitive paths modified.
Overview
Prepares the repo for Cypress 16’s deprecated Electron test browser by standardizing on Chrome in example configs and tightening CI browser choices.
Adds
defaultBrowser: 'chrome'to the sharedcypress.config.jsfiles across non-browser-specific examples so local and default runs no longer rely on Electron.In
example-basicworkflows, passesbrowser: firefoxwhen the matrix OS is Ubuntu ARM (where Chrome isn’t on the runner image); other runners keep the action default.In
example-docker, dropselectronfrom the browser matrix so Docker jobs only exercise chrome, edge, and firefox (with edge still excluded onubuntu-24.04-arm).Reviewed by Cursor Bugbot for commit e14ee1e. Bugbot is set up for automated code reviews on this repo. Configure here.