test(e2e): increase __internal__beforeEach task timeout to reduce CI flake - #34541
Draft
cursor[bot] wants to merge 1 commit into
Draft
test(e2e): increase __internal__beforeEach task timeout to reduce CI flake#34541cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
…flake The global beforeEach hook calls __internal__beforeEach which reinitializes Cypress and resets app data. Under CI load this can exceed the default 10s cy.task timeout, causing run-app-integration-tests-chrome to fail (seen on develop 2579fcb / Cypress Cloud run 73373). Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.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.
Additional details
Develop commit
2579fcbd(#34538, v8 snapshot cache update) failedlinux-x64→run-app-integration-tests-chromebecause the globalbeforeEachhook'scy.task('__internal__beforeEach')timed out after 10s (Cypress Cloud run 73373).The failing test was
runner.mochaEvents.cy.ts→ "hook failures / fail in [before]". Parent commit50b54266had greenlinux-x64. The merged PR only touched v8 snapshot cache metadata — this is an infrastructure flake, not a regression from #34538.__internal__beforeEachreinitializes Cypress and resets app data; under CI load this can exceed the default 10scy.tasktimeout. Increase it toSIXTY_SECONDS, matching other heavy e2e tasks likescaffoldProject.Steps to test
yarn workspace @packages/app cypress:run:e2e -- --spec cypress/e2e/runner/runner.mochaEvents.cy.tslocally.run-app-integration-tests-chromepasses on the PR branch.How has the user experience changed?
No change
PR Tasks