-
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
Unskip _shared_links.ts functional test #198947
Conversation
/ci |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7341[✅] OSS CI Group 6: 25/25 tests passed. |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
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.
Thanks!
Wonder if it would be better to go through all visible toasts and check if at least one contains the message.
I do agree, and we are using better logic in main, but do you think it's worth the effort in this case (I definitely would be in main, 8.x) |
I am fine with keeping it this way if it works and is stable. |
💚 Build Succeeded
Metrics [docs]
History
cc @kertal |
Summary
Fixes #196627
This is a workaround to unskip this test. The underlying test failure is independent of any code change in this area, it was starting with an upgrade of the chrome functional test driver. It cause the order of error message in the given case to be different, and therefore the test started to fail. This is not a great fix, it just checks for the 2nd toast (there are 3 identical ones here 🙈 , and therefore it's not flaky anymore, but given this is not a bug fix, but a flaky behavior fix for 7.17, I think it can be justified)
It doesn't fail in main, there's a different logic in place, and the issue of having multiple toasts was fixed there
When it fails locally, there are plenty of toasts and if the order is like in the described case, the tests fails. with this fix, it no longer doesn. because the 2nd toast will always contain the right message the tests expects
Checklist