Skip to content

test: set defaultBrowser to chrome - #1887

Open
MikeMcC399 wants to merge 2 commits into
cypress-io:masterfrom
MikeMcC399:default-browser-chrome
Open

test: set defaultBrowser to chrome#1887
MikeMcC399 wants to merge 2 commits into
cypress-io:masterfrom
MikeMcC399:default-browser-chrome

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Situation

Electron is used as the default browser throughout this repo.

With the release of Cypress 16.0.0 Electron has been deprecated:

Deprecated the Electron browser as a test browser. The Electron browser will be removed in a future major version of Cypress; switch to Chrome or another installed browser to avoid a breaking change when you upgrade. See Migrating away from the Electron browser.

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*-arm runner 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 shared cypress.config.js files across non-browser-specific examples so local and default runs no longer rely on Electron.

In example-basic workflows, passes browser: firefox when the matrix OS is Ubuntu ARM (where Chrome isn’t on the runner image); other runners keep the action default.

In example-docker, drops electron from the browser matrix so Docker jobs only exercise chrome, edge, and firefox (with edge still excluded on ubuntu-24.04-arm).

Reviewed by Cursor Bugbot for commit e14ee1e. Bugbot is set up for automated code reviews on this repo. Configure here.

Remove Electron tests
Re-applies cypress-io#1713
@cypress-app-bot

Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 added the type: enhancement New feature or request label Sep 4, 2026
@MikeMcC399 MikeMcC399 self-assigned this Sep 4, 2026
@MikeMcC399
MikeMcC399 marked this pull request as ready for review September 4, 2026 16:17
@MikeMcC399
MikeMcC399 requested a review from mschile September 4, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants