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: skip flaky tests #29149

Merged
merged 2 commits into from
Mar 18, 2024
Merged

chore: skip flaky tests #29149

merged 2 commits into from
Mar 18, 2024

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Mar 14, 2024

Additional details

1. First Flaky Test

Test Replay

Screenshot 2024-03-14 at 4 14 15 PM

This test is our flakiest test right now. I've looked into it, and I can't figure out why it's flaking, maybe it's a slight timing difference and could be a bug in how we're rendering. What's happening:

In this case where there are no runs recorded, the view renders this loading styles instead of the --- placeholder text. Since this is very low impact even if this is a bug, I think we should just skip this test and save ourselves the time of rerunning our whole suite when this fails.

Passing
Screenshot 2024-03-14 at 4 06 45 PM

Failing
Screenshot 2024-03-14 at 4 06 27 PM

2. Second flaky test

This test only seems to be flaky when run in Webkit, so I think we should skip webkit. There are some other tests in that file that are not run in webkit.

Screenshot 2024-03-14 at 4 21 14 PM

How has the user experience changed?

N/A

PR Tasks

N/A

@jennifer-shehane jennifer-shehane self-assigned this Mar 14, 2024
@jennifer-shehane jennifer-shehane added the process: flaky test Related to test(s) that have flake in our internal tests label Mar 14, 2024
@jennifer-shehane jennifer-shehane changed the title chore: skip flaky test for 'shows placeholders for all visible specs' chore: skip flaky tests Mar 14, 2024
Copy link

cypress bot commented Mar 14, 2024

3 flaky tests on run #54547 ↗︎

0 5530 77 0 Flakiness 3

Details:

Don't run flaky test in webkit
Project: cypress Commit: 3e12fc9759
Status: Passed Duration: 16:24 💡
Started: Mar 18, 2024 2:50 PM Ended: Mar 18, 2024 3:06 PM
Flakiness  commands/querying/querying.cy.js • 1 flaky test • 5x-driver-chrome:beta

View Output

Test Artifacts
... > throws when alias property isnt just a digit Test Replay
Flakiness  commands/waiting.cy.js • 1 flaky test • 5x-driver-chrome:beta

View Output

Test Artifacts
... > errors > throws when waiting for 2nd response to route Test Replay
Flakiness  e2e/origin/commands/waiting.cy.ts • 1 flaky test • 5x-driver-chrome:beta

View Output

Test Artifacts
... > throws when foo cannot resolve Test Replay

Review all test suite changes for PR #29149 ↗︎

@jennifer-shehane jennifer-shehane merged commit 7735405 into develop Mar 18, 2024
84 of 86 checks passed
@jennifer-shehane jennifer-shehane deleted the skip-flaky-tests-1 branch March 18, 2024 17:37
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 21, 2024

Released in 13.7.1.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
process: flaky test Related to test(s) that have flake in our internal tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants