-
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
[RAM] Try to fix flaky rules_list test - filter by rule state #150056
Conversation
…ana into 149061-failing-rules-list-test
Pinging @elastic/response-ops (Team:ResponseOps) |
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.
Yea this looks like a filter bar test, worst case scenario is we can just move the filter bar tests into its own test, since we have the rules_list_filter_bar.tsx
component now
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
…c#150056) ## Summary Related to elastic#149061 I won't close the issue with this PR so we can keep getting notified about future fails Updated so it waits until the spinner is gone instead of waiting for "Rule state" text to appear as it's done this way in the rest of the tests and they are not flaky. Instead of assuming that the rule status filter button and it's toolbar are shown from the beginning, we ensure they are present waiting for these elements to appear. (I hope this one was the root cause but we won't be sure until this stops happening)
Summary
Related to #149061
I won't close the issue with this PR so we can keep getting notified about future fails
Updated so it waits until the spinner is gone instead of waiting for "Rule state" text to appear as it's done this way in the rest of the tests and they are not flaky.
Instead of assuming that the rule status filter button and it's toolbar are shown from the beginning, we ensure they are present waiting for these elements to appear. (I hope this one was the root cause but we won't be sure until this stops happening)