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

chore: remove flaky tooltip Percy snapshots from DebugSpec #25919

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

astone123
Copy link
Contributor

@astone123 astone123 commented Feb 22, 2023

Additional details

We have some tests in DebugSpec.cy.tsx that are taking Percy snapshots of tooltips. These end up being flaky with Percy - sometimes the tooltip is rendered and sometimes it isn't. I think that we should remove these. The tooltip content is just text, and we are already asserting that the tooltip is appearing on screen and that the text is correct.

Some recent examples of these snapshots flaking:
https://percy.io/cypress-io/cypress/builds/25301083/changed/1411039263?browser=chrome&browser_ids=34&subcategories=unreviewed%2Cchanges_requested&viewLayout=side-by-side&viewMode=new&width=800&widths=450%2C800

https://percy.io/cypress-io/cypress/builds/25338162/changed/1412986341?browser=chrome&browser_ids=34&subcategories=unreviewed%2Cchanges_requested&viewLayout=side-by-side&viewMode=new&width=800&widths=450%2C800

https://percy.io/cypress-io/cypress/builds/25209495/changed/1406985567?browser=chrome&browser_ids=34&subcategories=unreviewed%2Cchanges_requested&viewLayout=side-by-side&viewMode=new&width=800&widths=450%2C800

Steps to test

Look at the Percy build and see which snapshots have been removed under the "Missing" filter

PR Tasks

@cypress
Copy link

cypress bot commented Feb 22, 2023

4 flaky tests on run #44325 ↗︎

0 1039 6 0 Flakiness 4

Details:

remove another snapshot
Project: cypress Commit: ae94f61ff6
Status: Passed Duration: 12:15 💡
Started: Feb 22, 2023 7:14 PM Ended: Feb 22, 2023 7:26 PM
Flakiness  create-from-component.cy.ts • 1 flaky test • app-e2e

View Output Video

Test
... > runs generated spec Screenshot
Flakiness  specs_list_latest_runs.cy.ts • 1 flaky test • app-e2e

View Output Video

Test
App/Cloud Integration - Latest runs and Average duration > when no runs are recorded > shows placeholders for all visible specs Screenshot
Flakiness  cypress-in-cypress.cy.ts • 1 flaky test • app-e2e

View Output Video

Test
Cypress in Cypress > scales the AUT correctly in e2e Screenshot
Flakiness  cypress-origin-communicator.cy.ts • 1 flaky test • app-e2e

View Output Video

Test
Cypress In Cypress Origin Communicator > cy.origin passivity with app interactions > passes upon test reload mid test execution Screenshot

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@astone123 astone123 requested review from ZachJW34, warrensplayer and a team February 22, 2023 19:27
@astone123 astone123 self-assigned this Feb 22, 2023
@astone123
Copy link
Contributor Author

There's unrelated Percy flake in the build 😭

Copy link
Contributor

@lmiller1990 lmiller1990 left a comment

Choose a reason for hiding this comment

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

Good!

There's unrelated Percy flake in the build 😭

Meh, just keep chipping away at it - flake is more costly than the potential risk of a tooltip not showing (not that I suspect removing these will realistically expose us to regressing on our tooltips).

@astone123 astone123 merged commit 7ea8285 into develop Feb 23, 2023
@astone123 astone123 deleted the percy-flake branch February 23, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Percy flake: Run Failures button is disabled if spec is not found locally
3 participants