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/timelines/components/timeline/query_tab_content - Timeline rendering it does render the timeline table when the source is loading with no events #156797

Open kibanamachine opened 1 year ago

kibanamachine commented 1 year ago

A test failed on a tracked branch

TypeError: indexPatternsService.find is not a function
    at find (/var/lib/buildkite-agent/builds/kb-n2-4-spot-6c52c0702d8b32df/elastic/kibana-on-merge/kibana/src/plugins/unified_search/public/query_string_input/fetch_index_patterns.ts:38:26)
    at QueryStringInputUI.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-6c52c0702d8b32df/elastic/kibana-on-merge/kibana/src/plugins/unified_search/public/query_string_input/query_string_input.tsx:234:63)
    at invokeFunc (/var/lib/buildkite-agent/builds/kb-n2-4-spot-6c52c0702d8b32df/elastic/kibana-on-merge/kibana/node_modules/lodash/lodash.js:10401:23)
    at trailingEdge (/var/lib/buildkite-agent/builds/kb-n2-4-spot-6c52c0702d8b32df/elastic/kibana-on-merge/kibana/node_modules/lodash/lodash.js:10450:18)
    at timerExpired (/var/lib/buildkite-agent/builds/kb-n2-4-spot-6c52c0702d8b32df/elastic/kibana-on-merge/kibana/node_modules/lodash/lodash.js:10438:18)
    at Timeout.task [as _onTimeout] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-6c52c0702d8b32df/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

First failure: CI Build - main

elasticmachine commented 1 year ago

Pinging @elastic/security-solution (Team: SecuritySolution)

elasticmachine commented 1 year ago

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

kibanamachine commented 1 year ago

New failure: CI Build - main

kibanamachine commented 1 year ago

New failure: CI Build - main

mistic commented 1 year ago

Skipped.

main: 20d29e5 8.8: 2bb4d54

kibanamachine commented 1 year ago

New failure: CI Build - 8.8

kibanamachine commented 1 year ago

New failure: CI Build - 8.8

PhilippeOberti commented 9 months ago

fixed in https://github.com/elastic/kibana/pull/173183

logeekal commented 8 months ago

Looks like above tests are still skipped. I will try to take care of this in my upcoming PR.