elastic / kibana

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

Failing test: Jest Tests.x-pack/plugins/cases/public/components/create - Create case Step 1 - Case Fields should post a case on submit click with the selected severity #166074

Open kibanamachine opened 1 year ago

kibanamachine commented 1 year ago

A test failed on a tracked branch

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

- Expected
+ Received

@@ -6,11 +6,11 @@
        "fields": null,
        "id": "none",
        "name": "none",
        "type": ".none",
      },
-     "description": "what a great description",
+     "description": "what a great descriptionwhat a great description",
      "owner": "securitySolution",
      "settings": Object {
        "syncAlerts": true,
      },
      "severity": "high",,

Number of calls: 1
    at Object.toBeCalledWith (/var/lib/buildkite-agent/builds/kb-n2-4-spot-1a1cc97d641e7618/elastic/kibana-on-merge/kibana/x-pack/plugins/cases/public/components/create/form_context.test.tsx:301:24)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processTimers (node:internal/timers:509:9)

First failure: CI Build - main

elasticmachine commented 1 year ago

Pinging @elastic/response-ops (Team:ResponseOps)