Skip to content
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

fix: update chrome to 128 firefox to 130 inside Cypress tests in CircleCI #30245

Merged
merged 4 commits into from
Sep 17, 2024

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Sep 16, 2024

  • Closes N/A

Additional details

As a prerequisite for doing the WebDriver BiDi work for Firefox, we needed to update to a minimum of Firefox 129 to get mostly complete BiDi support. This knocks out the chrome update as well to be on chrome latest

The main changes were some screenshot height differences, which has been a problem for chrome in the past. We are now seeing it with Firefox as well, though the height for the default parameters is only 1 pixel off. I added some code to mitigate this (a bit hacky, but gets the job done).

There was also a regression introduced with Firefox 129 that incorrectly mutated the checkbox prop on an event if a click event on a checkbox was sent in 129 or up (hence the fix tag)

Steps to test

Test against CI or run the type_ events cypress test with/without the fix to reproduce as long as you are on Firefox 129 and above.

How has the user experience changed?

PR Tasks

@AtofStryker AtofStryker force-pushed the chore/update_chrome_128_firefox_130 branch from 7870478 to 6acae41 Compare September 16, 2024 14:49
@AtofStryker AtofStryker force-pushed the chore/update_chrome_128_firefox_130 branch from 6acae41 to bcba5ed Compare September 16, 2024 14:50
@AtofStryker AtofStryker changed the title Chore/update chrome 128 firefox 130 fix: update chrome 128 firefox 130 Sep 16, 2024
@AtofStryker AtofStryker changed the title fix: update chrome 128 firefox 130 fix: update chrome to 128 firefox to 130 inside Cypress tests in CircleCI Sep 16, 2024
@AtofStryker AtofStryker marked this pull request as ready for review September 16, 2024 15:02
@AtofStryker AtofStryker self-assigned this Sep 16, 2024
Copy link

cypress bot commented Sep 16, 2024

cypress    Run #57113

Run Properties:  status check passed Passed #57113  •  git commit 2ef6041a27: Update system-tests/lib/normalizeStdout.ts
Project cypress
Branch Review chore/update_chrome_128_firefox_130
Run status status check passed Passed #57113
Run duration 24m 22s
Commit git commit 2ef6041a27: Update system-tests/lib/normalizeStdout.ts
Committer Bill Glesias
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 1328
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 29403
View all changes introduced in this branch ↗︎
UI Coverage  44.77%
  Untested elements 201  
  Tested elements 167  
Accessibility  91.29%
  Failed rules  5 critical   10 serious   2 moderate   2 minor
  Failed elements 943  

@@ -82,7 +82,7 @@ We dynamically generated a new test to display this failure.

(Screenshots)

- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x633)
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x581)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these tests actually testing screenshot behavior? Can we just turn the screenshots off here?

(Not suggesting this optimization be a part of this PR, I could maybe follow up with a PR for this if so)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they are. Just looks like the screenshot taken from a given failure

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K, I'll take a look at this.

@jennifer-shehane jennifer-shehane dismissed their stale review September 17, 2024 14:36

Dismissing my review comments as addressed

@AtofStryker AtofStryker merged commit c17d1ff into develop Sep 17, 2024
84 of 86 checks passed
@AtofStryker AtofStryker deleted the chore/update_chrome_128_firefox_130 branch September 17, 2024 21:42
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 25, 2024

Released in 13.15.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.15.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Sep 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants