-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 flaky visualize lab mode tests #20165
Conversation
💔 Build Failed |
jenkins test this |
💔 Build Failed |
💚 Build Succeeded |
} | ||
}); | ||
await testSubjects.exists('loadSearchForm'); | ||
await PageObjects.header.waitUntilLoadingHasFinished(); |
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 am rather sure, that won't be enough to fix the issue with the flakyness. Unfortunately we don't have any failed test runs anymore, but in the ones I debugged, that had that failure, the loadSearchForm
wasn't even present in the HTML, i.e. the button has been clicked, but the panel never properly expanded. So just waiting for something after the panel is there, won't help against that flakyness.
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.
Looking at the huge amount of test passes in this PR, maybe it fixed it after all.. 🤔
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.
@timroes I was able to reproduce this error locally and the changes in this PR did fix the issue. I ran it 20 times locally with this fix and did not see the error once vs it would occur about every time without the fix.
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💚 Build Succeeded |
Jenkins, test this |
💔 Build Failed |
The last CI failure is not from the test but on intake. |
jenkins test this |
💚 Build Succeeded |
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.
LGTM, but we should keep an eye on that test
* Update saveSearch method in discover and add wait page loading for advance settings * Fix spaces
* Update saveSearch method in discover and add wait page loading for advance settings * Fix spaces
* Update saveSearch method in discover and add wait page loading for advance settings * Fix spaces
Fix for issue #20157