-
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
[Security Solution] Fix Rule Details page unit test flakiness with business logic refactor #164825
[Security Solution] Fix Rule Details page unit test flakiness with business logic refactor #164825
Conversation
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@jpdjere Thanks for the fix, but I think it would be too late/risky to backport this to 8.10 :) |
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
Files by Code Ownerelastic/security-detection-engine
|
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
6430a00
to
6914b9a
Compare
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Unknown metric groupsasync chunk count
ESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @jpdjere |
Fixes: #147064
Summary
rule_details_ui/pages/rule_details/index.test.tsx
was too heavy and can fail by timeoutThis PR:
useLegacyUrlRedirect
(for redirection logic)useRuleDetailsTabs
(to calculate which tabs should be displayed)LegacyUrlConflictCallOut
rule_details_ui/pages/rule_details/index.test.tsx
filerule_details_ui/pages/rule_details/index.test.tsx
file