Repository navigation
Merge APS-22894-cypress-16-expose - #1227
Merged
Merged
Conversation
…Cypress.env() fallback in the TestHub and Accessibility support files Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…IRCUIT_LIMIT to config.expose Customers set these in their Cypress env config. Cypress 16 no longer passes config.env to the browser, so the support file fell back to the defaults (25000 ms / 3). Copy them into config.expose when set, without overriding a value the customer already exposed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tells Rails this CLI's TestHub and Accessibility support files read Cypress.expose(), so it may default the build to Cypress 16. Rails keeps CLIs without the flag on Cypress 15 and asks them to upgrade before running 16, where Cypress.env() throws. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Accessibility does not support Cypress 16 yet. With accessibility on, a build that sends no cypress_version asks for 15, and one that asks for 16 or later is stopped before upload with ACCESSIBILITY_CYPRESS_VERSION_UNSUPPORTED. Raising MAX_CYPRESS_MAJOR_FOR_ACCESSIBILITY lifts the cap without a Rails change. Refs APS-22894 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cypress 16.2.0's default network mode never starts the a11y extension's service worker (cypress-io/cypress#35127, fixed in 16.2.1), so every scan waits out the 25s timeout and the build still passes. forceHttp1 avoids it: on the same preprod Ventura pool, the scan step took 25.6s without it and 4.2s with it (15.21.1: 5.0s). - Accessibility builds on Cypress 16 get forceHttp1=true added to run_settings.config. Other config keys are kept, and a forceHttp1 the user already set (true or false) is left alone. - MAX_CYPRESS_MAJOR_FOR_ACCESSIBILITY 15 -> 16, so 16 is allowed and 17+ is still refused. - Builds with no cypress_version still ask for 15 (DEFAULT_CYPRESS_MAJOR_FOR_ACCESSIBILITY), matching Rails' default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….0 to 16.2.0) The extension service-worker bug is a regression from cypress-io/cypress#34762 (16.1.0), reported as #35127 and fixed by #34958 in 16.2.1. Builds asking for 16.2.1+ or 16.0.x no longer get forceHttp1. "16" and "16.latest" still do while 16.2.0 is the only Cypress 16 Rails offers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rcehttp1 SDK-8048: run accessibility on Cypress 16.1.0-16.2.0 with forceHttp1 (stacked on #1206)
…uild, comments, test env restore) - forceHttp1 keyed on major 16: Rails runs 16.2.0 for any 16.x it doesn't list (CypressFramework#evaluate_users_cypress_version_further), so 16.2.1/16.3.0/16.0.0/16.2 requests also run the affected version. - DEFAULT_CYPRESS_MAJOR_FOR_ACCESSIBILITY / caps() comments give the real reason for 15. - accessibility plugin test restores BROWSERSTACK_LOGS and BROWSERSTACK_ACCESSIBILITY_PLUGIN_LOADED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SDK-8048: address #1206 review — forceHttp1 on every Cypress 16 a11y build
bsautomation
requested review from
pranay-v29 and
shivam5643
and removed request for
a team
November 24, 2026 11:33
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.
Merge into pre_prod :by automationbs
master)