Failing test: Jest Tests.x-pack/plugins/cases/public/components/actions/severity - useSeverityAction disables the severity button correctly if isDisabled=true: high #176641
TypeError: Cannot read properties of undefined (reading 'getActions')
at getActions (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx:208:38)
at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:314:40)
at _runTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:250:3)
at _runTestsForDescribeBlock (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:120:9)
at run (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-15ed725783b51cb1/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)
A test failed on a tracked branch
First failure: CI Build - main