Failing test: Jest Tests.x-pack/plugins/security_solution/public/management/hooks/policy - When using the `useFetchEndpointPolicyAgentSummary()` hook should call the correct api with expected value #175278
Error: Timed out in waitFor after 1000ms.
at waitFor (/var/lib/buildkite-agent/builds/kb-n2-4-spot-82d51ba5065a08bc/elastic/kibana-on-merge/kibana/node_modules/@testing-library/react-hooks/lib/core/asyncUtils.js:64:13)
at Object.renderReactQueryHook (/var/lib/buildkite-agent/builds/kb-n2-4-spot-82d51ba5065a08bc/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx:285:7)
at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-82d51ba5065a08bc/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/hooks/policy/use_fetch_endpoint_policy_agent_summary.test.ts:55:22)
A test failed on a tracked branch
First failure: CI Build - main