Skip to content

Failing test: Jest Tests.x-pack/plugins/cases/public/components/category - Category can set a category from existing ones #177796

@kibanamachine

Description

@kibanamachine

A test failed on a tracked branch

TestingLibraryElementError: Unable to find an accessible element with the role "combobox"

There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole

Ignored nodes: comments, script, style
<body>
  <div />
</body>
    at Object.getElementError (/var/lib/buildkite-agent/builds/kb-n2-4-spot-e4d256be51ff8f6d/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/config.js:40:19)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-e4d256be51ff8f6d/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/query-helpers.js:90:38
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-e4d256be51ff8f6d/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-e4d256be51ff8f6d/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/query-helpers.js:111:19
    at Object.getByRole (/var/lib/buildkite-agent/builds/kb-n2-4-spot-e4d256be51ff8f6d/elastic/kibana-on-merge/kibana/x-pack/plugins/cases/public/components/category/category_form_field.test.tsx:137:27)
    at Promise.then.completed (/var/lib/buildkite-agent/builds/kb-n2-4-spot-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/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-e4d256be51ff8f6d/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)

First failure: CI Build - main

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:CasesCases featureTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//failed-testA test failure on a tracked branch, potentially flaky-test

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions