Skip to content

fix(cypress): disable unsupported-browser redirect in test container#60804

Closed
miaulalala wants to merge 1 commit into
masterfrom
fix/noid/cypress-unsupported-browser-master
Closed

fix(cypress): disable unsupported-browser redirect in test container#60804
miaulalala wants to merge 1 commit into
masterfrom
fix/noid/cypress-unsupported-browser-master

Conversation

@miaulalala

@miaulalala miaulalala commented May 28, 2026

Copy link
Copy Markdown
Contributor

Forward port of #60790.

The Cypress browser (Chrome 118 / Electron 27) fell below the minimum version required by @nextcloud/browserslist-config's "baseline widely available" query in April 2026 (Chrome 118 was released Oct 2023; the 30-month threshold passed). Every page visit silently redirected to "Your browser is not supported", preventing the Vue app from mounting — #user-menu, [data-cy-files-list], OCA.Files.Sidebar, etc. never appeared and the entire Cypress suite failed.

Fix: set no_unsupported_browser_warning = true during container setup.

🤖 Generated with Claude Code

The Cypress browser (Chrome 118 / Electron 27) is below the minimum
browser version required by @nextcloud/browserslist-config's
"baseline widely available" query. Chrome 118 (released Oct 2023)
crossed the 30-month support threshold in April 2026 and dropped out,
causing every page visit to silently redirect to "Your browser is not
supported" instead of loading the app. This prevented #user-menu,
[data-cy-files-list], OCA.Files.Sidebar, and all Vue-rendered elements
from ever appearing, making the entire Cypress test suite fail.

Set no_unsupported_browser_warning=true during container setup so the
browser check is suppressed in the test container.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala requested a review from a team as a code owner May 28, 2026 13:00
@miaulalala miaulalala requested review from nfebe, sorbaugh and susnux and removed request for a team May 28, 2026 13:00
@susnux susnux added this to the Nextcloud 35 milestone Jun 9, 2026
@miaulalala

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

@susnux

susnux commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

I think this is already resolved with the cypress update.
Or do you plan to backport?

@susnux susnux added 2. developing Work in progress tests Related to tests AI assisted labels Jun 24, 2026
@miaulalala

Copy link
Copy Markdown
Contributor Author

I think this is already resolved with the cypress update. Or do you plan to backport?

already backported manually, guess I can close this one then :D

@miaulalala miaulalala closed this Jun 24, 2026
Copilot stopped work on behalf of miaulalala due to an error June 24, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress AI assisted tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants