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

test: Add commands to wait for config page to load before continue with test - address flaky test #28953

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

jennifer-shehane
Copy link
Member

Additional details

I saw this launchpad test recently show up as a flaky test: Test Replay.

A passing Test Replay

It looks like we've clicked into a project, then clicked into the breadcrumbs to click into another project. Just as we're trying to click into the other project, the configuration file from the previous project seems jerk us back out with a configuration file error. This is my theory anyway.

I've added some assertions to wait for the configuration page to finish loading before clicking back to projects. Is this an actual bug? Maybe....if we're not stopping loading of the previous project config file when we click into the main projects. I haven't seen this reported before though and it's likely fairly uncommon. So this attempts to just fix our own tests.

Screenshot 2024-02-15 at 12 56 04 PM

Screenshot 2024-02-15 at 12 56 11 PM

Steps to test

Run the global-mode-cy.ts test on the launchpad tests

How has the user experience changed?

N/A

@jennifer-shehane jennifer-shehane self-assigned this Feb 15, 2024
Copy link

cypress bot commented Feb 15, 2024

1 flaky test on run #54061 ↗︎

0 551 8 0 Flakiness 1

Details:

Merge branch 'develop' into flaky-project-test-0
Project: cypress Commit: 941419467a
Status: Passed Duration: 14:06 💡
Started: Feb 15, 2024 8:33 PM Ended: Feb 15, 2024 8:47 PM
Flakiness  cypress/e2e/specs_list_latest_runs.cy.ts • 1 flaky test • app-e2e

View Output

Test Artifacts
App/Cloud Integration - Latest runs and Average duration > when no runs are recorded > shows placeholders for all visible specs Test Replay Screenshots

Review all test suite changes for PR #28953 ↗︎

@mschile mschile changed the title chore: Add commands to wait for config page to load before continue with test - address flaky test test: Add commands to wait for config page to load before continue with test - address flaky test Feb 19, 2024
@jennifer-shehane jennifer-shehane merged commit 3cfca89 into develop Feb 22, 2024
81 of 83 checks passed
@jennifer-shehane jennifer-shehane deleted the flaky-project-test-0 branch February 22, 2024 16:15
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 22, 2024

Released in 13.6.6.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 22, 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