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: Fix Managed e2e navigation test flake on SSH tab #9036

Conversation

jdamore-linode
Copy link
Contributor

Description 📝

Fixes test flake that occurs in managed-navigation.spec.ts when both "Unauthorized" notices on the SSH tab load and appear at the same time; Cypress expected only one instance of the notice to appear and would fail when both appeared at the same time.

How to test 🧪

Run yarn && yarn build && yarn start:manager:ci and then:

yarn cy:run -s "cypress/e2e/managed/managed-navigation.spec.ts"

Confirm that each test passes, preferably on the first attempt.

@jdamore-linode jdamore-linode added e2e Indicates that a PR touches Cypress tests in some way Ready for Review labels Apr 19, 2023
@jdamore-linode jdamore-linode self-assigned this Apr 19, 2023
@cypress
Copy link

cypress bot commented Apr 19, 2023

Passing run #3081 ↗︎

0 149 3 0 Flakiness 0

Details:

Fix Managed navigation test flake when both SSH "Unauthorized" notices appear at...
Project: Cloud Manager E2E Commit: ef7b9bfed5
Status: Passed Duration: 13:32 💡
Started: Apr 19, 2023 10:18 PM Ended: Apr 19, 2023 10:31 PM

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

Copy link
Contributor

@cpathipa cpathipa left a comment

Choose a reason for hiding this comment

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

Confirming that the spec passed in first attempt.
image

@cpathipa cpathipa added Approved Multiple approvals and ready to merge! and removed Ready for Review labels Apr 21, 2023
@jdamore-linode jdamore-linode merged commit d3a40d9 into linode:develop Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! e2e Indicates that a PR touches Cypress tests in some way
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants