elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

Failing test: Jest Tests.x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page - edit package policy page modify agent policies should create agent policy with sys monitoring when new agent policy button is clicked #195899

Open kibanamachine opened 1 month ago

kibanamachine commented 1 month ago

A test failed on a tracked branch

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: "nginx-1", ObjectContaining {"policy_ids": ["agent-policy-1", "agent-policy-2"]}

Number of calls: 0
    at Object.toHaveBeenCalledWith (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1728643537225729342/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx:582:39)

First failure: kibana-on-merge - main

elasticmachine commented 1 month ago

Pinging @elastic/fleet (Team:Fleet)

kpollich commented 1 month ago

Looks like a one off failure - I'm not able to reproduce any failures in this suite locally running the tests a few hundred times.

kibanamachine commented 1 month ago

New failure: kibana-on-merge - 8.x