Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: Jest Tests.x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration - <ComponentTemplateCreate /> On component mount Step: Review and submit should render the review content #155835

Closed
kibanamachine opened this issue Apr 26, 2023 · 8 comments · Fixed by #155844
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Apr 26, 2023

A test failed on a tracked branch

TypeError: Cannot read properties of undefined (reading 'trim')
    at trim (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts:27:33)
    at validateContent (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/x-pack/plugins/index_management/public/application/components/shared/components/wizard_steps/use_json_step.ts:41:21)
    at invokePassiveEffectCreate (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:23487:20)
    at HTMLUnknownElement.callCallback (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
    at invokeGuardedCallback (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
    at flushPassiveEffectsImpl (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:23574:9)
    at unstable_runWithPriority (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/scheduler/cjs/scheduler.development.js:468:12)
    at runWithPriority$1 (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
    at flushPassiveEffects (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:23447:14)
    at Object.<anonymous>.flushWork (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
    at Object.act (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
    at act (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/@wojtekmaj/enzyme-adapter-react-17/src/ReactSeventeenAdapter.js:350:13)
    at Object.wrapAct [as simulateEvent] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/@wojtekmaj/enzyme-adapter-react-17/src/ReactSeventeenAdapter.js:487:9)
    at ReactWrapper.simulateEvent (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/enzyme/src/ReactWrapper.js:666:22)
    at ReactWrapper.call [as single] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/enzyme/src/ReactWrapper.js:1170:21)
    at ReactWrapper.single [as simulate] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/node_modules/enzyme/src/ReactWrapper.js:665:17)
    at Object.simulate [as completeStepSettings] (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/helpers/component_template_form.helpers.ts:73:30)
    at Object.completeStepSettings (/var/lib/buildkite-agent/builds/kb-n2-4-spot-0611ecea0edfcfa4/elastic/kibana-on-merge/kibana/x-pack/plugins/index_management/public/application/components/component_templates/__jest__/client_integration/component_template_create.test.tsx:153:23)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Apr 26, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 26, 2023
@kibanamachine kibanamachine added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Apr 26, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 26, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic mistic closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants