[stable32] fix(cypress): disable unsupported-browser redirect in test container#60808
Open
miaulalala wants to merge 1 commit into
Open
[stable32] fix(cypress): disable unsupported-browser redirect in test container#60808miaulalala wants to merge 1 commit into
miaulalala wants to merge 1 commit into
Conversation
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>
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.
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 = trueduring container setup.🤖 Generated with Claude Code