Skip to content

[Security Solution] Unskip "use_fetch_or_create_rule_exception_list.test.tsx" tests#163169

Merged
e40pud merged 6 commits intoelastic:mainfrom
e40pud:security/tests/145749-unskip-tests
Aug 8, 2023
Merged

[Security Solution] Unskip "use_fetch_or_create_rule_exception_list.test.tsx" tests#163169
e40pud merged 6 commits intoelastic:mainfrom
e40pud:security/tests/145749-unskip-tests

Conversation

@e40pud
Copy link
Copy Markdown
Contributor

@e40pud e40pud commented Aug 4, 2023

Summary

Original ticket: #145749

This PR un-skips tests which were disabled due to upgrade to Jest 29 here.

Fixes:

  1. Restructured test which checks the isLoading state returned by the useFetchOrCreateRuleExceptionList hook
  2. Make sure we call await waitForNextUpdate(); right amount of times

@e40pud e40pud added release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Engine Security Solution Detection Engine Area labels Aug 4, 2023
@e40pud e40pud requested a review from a team as a code owner August 4, 2023 13:15
@e40pud e40pud self-assigned this Aug 4, 2023
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Copy link
Copy Markdown
Contributor

@vitaliidm vitaliidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one small comment to consider

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Security Solution Cypress Tests #6 / Alert details expandable flyout right panel overview tab insights section should display threat intelligence section should display threat intelligence section
  • [job] [logs] Investigations - Security Solution Cypress Tests #4 / Alert details expandable flyout right panel overview tab insights section should display threat intelligence section should display threat intelligence section

Metrics [docs]

✅ unchanged

History

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

cc @e40pud

@e40pud e40pud merged commit a5979a0 into elastic:main Aug 8, 2023
@kibanamachine kibanamachine added v8.10.0 backport:skip This PR does not require backporting labels Aug 8, 2023
bryce-b pushed a commit to bryce-b/kibana that referenced this pull request Aug 9, 2023
…est.tsx" tests (elastic#163169)

## Summary

Original ticket: elastic#145749

This PR un-skips tests which were disabled due to [upgrade to Jest 29
here](elastic#143319).

Fixes:
1. Restructured test which checks the `isLoading` state returned by the
`useFetchOrCreateRuleExceptionList` hook
2. Make sure we call `await waitForNextUpdate();` right amount of times

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@yctercero yctercero added the flake-docs Temp label to gather PRs used to create dev docs label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting flake-docs Temp label to gather PRs used to create dev docs release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants