elastic / kibana

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

Failing test: Jest Tests.x-pack/plugins/lens/public/datasources/form_based/dimension_panel - FormBasedDimensionEditor should list all field names and document as a whole in prioritized order #192476

Closed kibanamachine closed 12 hours ago

kibanamachine commented 1 week ago

A test failed on a tracked branch

Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx:356:3)
    at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx:190:1)
    at Runtime._execModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725973129234148837/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)

First failure: kibana-on-merge - main

elasticmachine commented 1 week ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

nickofthyme commented 1 week ago

First failure

kibanamachine commented 1 week ago

New failure: kibana-on-merge - main

kibanamachine commented 1 week ago

New failure: kibana-on-merge - main

kibanamachine commented 1 week ago

New failure: kibana-on-merge - main

kibanamachine commented 1 week ago

New failure: kibana-on-merge - main

jbudz commented 1 week ago

Skipped

main: https://github.com/elastic/kibana/commit/3ac27f4ba30ad7495fccbf48a129ba6a471f37cf

kibanamachine commented 1 week ago

New failure: kibana-on-merge - main

mbondyra commented 1 week ago

This is probably caused by performance degradation of .type event after userEvent upgrade. We can change these to paste:

because userEvent.type simulates individual key strokes for the full text entered, tests can get really slow causing rerenders on every character typed, whereas userEvent.paste just pastes the full text in one go.