-
Notifications
You must be signed in to change notification settings - Fork 211
chore(e2e): topology flaky test fix #3927
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Sanket Saikia <[email protected]>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
The image is available at: /test e2e-ocp-helm |
|
@teknaS47: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
christoph-jerolimov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this as a comment to let other merge this if you think its better to have this tests enabled with this catch solution. But I don't think this is a good approach.
| try { | ||
| // Wait for tooltip to appear, then verify text | ||
| await statusTooltip.waitFor({ state: "visible", timeout: 1000 }); | ||
| await uiHelper.verifyTextInTooltip("Running"); | ||
| await uiHelper.verifyText("1Running"); | ||
| } catch { | ||
| // Tooltip didn't appear, ignore and continue | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this is almost similar to skip. We're not able to make this stable?
What is the problem, we don't know how quickly the pod is running, I guess?
| // Check if tooltip appears after hover - wait briefly, ignore if it doesn't show up | ||
| const tooltip = this.page.getByRole("tooltip"); | ||
| try { | ||
| await tooltip.waitFor({ state: "visible", timeout: 1000 }); | ||
| } catch { | ||
| // Tooltip didn't appear, ignore and continue | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. What is the benefit of a test that ignores errors?




Description
Fixing flaky topology test
Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer