Failing test: Jest Tests.x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps - stepStepSelectAgentPolicy with single agent policy should select agent policy by default if one exists #192793
Error: expect(jest.fn()).toBeCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at toBeCalledTimes (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726187378033397678/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:124:41)
at batchedUpdates$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726187378033397678/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-1726187378033397678/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-1726187378033397678/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:16)
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 - 8.x