-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update browser internal images to chrome 124 and firefox 125 #29391
Conversation
63be1e3
to
b9a95eb
Compare
7 failed and 4 flaky tests on run #55240 ↗︎Details:
The first 5 failed specs are shown, see all 54 specs in Cypress Cloud.
|
Test | Artifacts | |
---|---|---|
... > can skip setup CT testing for an E2E project |
Test Replay
Screenshots
|
|
... > skips the setup steps when choosing component tests to run |
Test Replay
Screenshots
|
cypress\e2e\scaffold-component-testing.cy.ts • 1 flaky test • launchpad-e2e
Test | Artifacts | |
---|---|---|
scaffolding component testing > vuecli4vue2 > scaffolds component testing for Vue CLI 4 w/ Vue 2 project |
Test Replay
Screenshots
|
cypress\e2e\migration.cy.ts • 1 flaky test • launchpad-e2e
Test | Artifacts | |
---|---|---|
Full migration flow for each project > completes journey for migration-e2e-plugins-modify-config |
Test Replay
Screenshots
|
Review all test suite changes for PR #29391 ↗︎
e44d048
to
9366673
Compare
@AtofStryker This PR is failing with Firefox 115 in CI, but passes locally in Firefox 125. Curious to get the Firefox update in to see if it passes the tests to unblock this: #29224 |
Currently having issues inside the downloading and bashing into the docker image/container from the docker run --rm -it -v $PWD:/e2e -w /e2e --entrypoint bash cypress/browsers-internal:node18.17.1-chrome124-ff125 Now that we are in the docker container, run the cd packages/app
yarn cypress:run:e2e -b chrome --spec=./cypress/e2e/runner/reporter-ct-mount-hover.cy.ts,./cypress/e2e/runner/reporter-ct-vite.errors.cy.ts |
The issue looks related to the chrome update from
The issue looks identical to #28942 which we could not exactly figure out the cause of, but the flake likely existed in windows due to our windows jobs always installing chrome latest stable. The flake for these jobs seemed to get bad right around late October of 2023, which coincides with the Chrome 119 release date. |
yarn cypress:run:e2e -b chrome --spec=./cypress/e2e/runner/reporter-ct-mount-hover.cy.ts,./cypress/e2e/runner/reporter-ct-vite.errors.cy.ts --headed reproduces the error every time, regardless of environment. You can add a fey yarn cypress:run:e2e -b chrome --spec=./cypress/e2e/runner/reporter-ct-vite.errors.cy.ts --headed My guess is there is something going on in the cri-client tab creation code that has changed here. |
3df3b9f
to
1bc9b3c
Compare
I think I figured out what is going on. So when rehydraying the page with our inner cypress, we request to to not bucket our injected code into a keyed origin agent cluster via the To work around this, we can either set This fix also looks to be fixing the windows job failures we saw in #28942, which I will re open and link here, which enables recording again for the windows cypress in cypress jobs 🎉 |
… 124 and is ultimately out of our control since the options passed into the CLI are STILL not respected [run ci]
5957a09
to
98cfed6
Compare
…date_internal_browser_images
// behavior starting in Chrome 119. The new behavior works like the following: | ||
// If a page did not request an origin-keyed agent cluster, chrome will place it in one | ||
// anyway because a previous request went through without the Origin-Agent-Cluster=false header set. | ||
// At time of writing, documentation detailing this behavior has not been found. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the documentation is here:
The browser will ensure that all pages from a given origin are either origin-keyed or they are not. This means that:
- If the first page from an origin does not set the header, then no other pages from that origin will be origin-keyed, even if those other pages do set the header.
- If the first page from an origin sets the header and is made origin-keyed, then all other pages from that origin will be origin-keyed whether they ask for it or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
referenced the docs and replaced the text in 96ee05c
…ypress-io#29391) * chore: update browser internal images to chrome 124 and firefox 125 [run ci] * update screenshot sizes for chrome as they have changed in the chrome 124 and is ultimately out of our control since the options passed into the CLI are STILL not respected [run ci] * fix cypress-in-cypress tests for chrome 119 and up * remove windows app integration code added in 29198 * run windows build [run ci] * fix some failing system tests [run ci] * update non proxied png [run ci] * fix system tests failing [run ci] * fix afterEach [run ci] * chore: update documentation in response middleware
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
Bumps chrome to version
124
from118
and firefox from115
to125
for docker based tests inside the repo.A few other things needed to happen in order to get chrome 124 working within the repo. This is outlined in this comment and thread below
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?