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

[RAM] Try to fix flaky rules_list test - filter by rule state #150056

Merged
merged 10 commits into from
Feb 6, 2023

Conversation

jcger
Copy link
Contributor

@jcger jcger commented Feb 1, 2023

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)

@jcger jcger added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.7.0 labels Feb 1, 2023
@jcger jcger marked this pull request as ready for review February 2, 2023 10:49
@jcger jcger requested a review from a team as a code owner February 2, 2023 10:49
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@jcger jcger changed the title remove unnecessary check and wait for element to show [RAM] Try to fix flaky rules_list test - filter by rule state Feb 2, 2023
Copy link
Contributor

@JiaweiWu JiaweiWu left a 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

@jcger jcger enabled auto-merge (squash) February 6, 2023 08:35
@jcger jcger merged commit 888ce1f into elastic:main Feb 6, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Feb 6, 2023
sphilipse pushed a commit to sphilipse/kibana that referenced this pull request Feb 6, 2023
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants