Skip to content

[stable32] fix(cypress): disable unsupported-browser redirect in test container - #60808

Merged
susnux merged 1 commit into
stable32from
fix/noid/cypress-unsupported-browser-stable32
Dec 2, 2026
Merged

susnux merged 1 commit into
stable32from
fix/noid/cypress-unsupported-browser-stable32

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

@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
@miaulalala miaulalala changed the title fix(cypress): disable unsupported-browser redirect in test container [stable32] fix(cypress): disable unsupported-browser redirect in test container May 28, 2026
@joshtrichards

Copy link
Copy Markdown
Member

I see versions of this are merged in other recent stableXX branches, but not this one for v32.

Is it still needed? Seems it would be, at least for consistency, but I'm not sure. I don't recall encountering this problem in recent memory, but maybe I haven't backported to v32 enough lately.

@provokateurin

Copy link
Copy Markdown
Member

Your PR description is AI-written, so I'm closing it as per our AI policy: https://github.com/nextcloud/.github/blob/master/AI_POLICY.md#human-written-communication
If you disagree and my judgement was wrong, feel free to re-open this PR.

@susnux
susnux deleted the fix/noid/cypress-unsupported-browser-stable32 branch October 25, 2026 01:47
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for more than 7 days. As we do not monitor merged or closed pull requests, we are locking this pull request to prevent further comments from getting lost in the noise.
If you discovered any issues with this pull request, please open a new issue instead. In case you want to discuss this pull request or have further questions, please use our forum: https://help.nextcloud.com

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 3, 2026
@skjnldsv
skjnldsv restored the fix/noid/cypress-unsupported-browser-stable32 branch December 2, 2026 18:30
@skjnldsv skjnldsv reopened this Dec 2, 2026
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>
@skjnldsv
skjnldsv force-pushed the fix/noid/cypress-unsupported-browser-stable32 branch from 3cc4649 to 1d5fd66 Compare December 2, 2026 18:30
@skjnldsv
skjnldsv requested a review from come-nc December 2, 2026 18:30
@nextcloud nextcloud unlocked this conversation Dec 2, 2026
@susnux
susnux merged commit d320db7 into stable32 Dec 2, 2026
130 of 140 checks passed
@susnux
susnux deleted the fix/noid/cypress-unsupported-browser-stable32 branch December 2, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants