elastic / kibana

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

Failing test: Jest Tests.x-pack/plugins/security_solution/public/management/components/policies_selector - Policies selector When click on policy should disable enabled default value #192689

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: [{"checked": "off", "id": "abc123", "name": "test policy A"}, {"checked": "off", "id": "global", "name": "Global entries"}, {"checked": undefined, "id": "unassigned", "name": "Unassigned entries"}]
Received
       1
        @@ -8,10 +8,10 @@
              "checked": "off",
              "id": "global",
              "name": "Global entries",
            },
            Object {
        -     "checked": undefined,
        +     "checked": "on",
              "id": "unassigned",
              "name": "Unassigned entries",
            },
          ],
       2
        @@ -8,10 +8,10 @@
              "checked": "off",
              "id": "global",
              "name": "Global entries",
            },
            Object {
        -     "checked": undefined,
        +     "checked": "on",
              "id": "unassigned",
              "name": "Unassigned entries",
            },
          ],

Number of calls: 2
    at Object.toHaveBeenCalledWith (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1726143629888855107/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/components/policies_selector/policies_selector.test.tsx:78:37)

First failure: kibana-on-merge - main

elasticmachine commented 1 month ago

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main