Failing test: Jest Tests.x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps - step select agent policy should select agent policy by default if one exists #189869
Error: expect(jest.fn()).toBeCalled()
Expected number of calls: >= 1
Received number of calls: 0
at toBeCalled (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1722850671076685357/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx:123:39)
at batchedUpdates$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1722850671076685357/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1722850671076685357/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at Object.<anonymous> (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1722850671076685357/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx:122:14)
at runNextTicks (node:internal/process/task_queues:60:5)
at processTimers (node:internal/timers:511:9)
A test failed on a tracked branch
First failure: kibana-on-merge - main