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: X-Pack Jest Tests.x-pack/plugins/index_management/__jest__/client_integration - <TemplateCreate /> form validation aliases (step 4) should set the correct page title #67833

Closed
kibanamachine opened this issue May 31, 2020 · 6 comments · Fixed by #76672
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Index Management Index and index templates UI skipped-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.9.0 v8.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 31, 2020

A test failed on a tracked branch

Error: No data getter has been set for step "3"
    at validateAndGetDataFromCurrentStep (/dev/shm/workspace/kibana/x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx:105:13)
    at updateCurrentStep (/dev/shm/workspace/kibana/x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx:138:48)
    at onNext (/dev/shm/workspace/kibana/x-pack/plugins/index_management/public/application/components/template_form/template_form.tsx:157:5)
    at HTMLUnknownElement.callCallback (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:336:14)
    at invokeEventListeners (/dev/shm/workspace/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27)
    at HTMLUnknownElementImpl._dispatch (/dev/shm/workspace/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
    at HTMLUnknownElementImpl.dispatchEvent (/dev/shm/workspace/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
    at HTMLUnknownElementImpl.dispatchEvent (/dev/shm/workspace/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27)
    at HTMLUnknownElement.dispatchEvent (/dev/shm/workspace/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:143:21)
    at Object.invokeGuardedCallbackDev (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:385:16)
    at invokeGuardedCallback (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:440:31)
    at invokeGuardedCallbackAndCatchFirstError (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:454:25)
    at executeDispatch (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:584:3)
    at executeDispatchesInOrder (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:609:5)
    at executeDispatchesAndRelease (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:713:5)
    at executeDispatchesAndReleaseTopLevel (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:722:10)
    at forEachAccumulated (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:694:8)
    at runEventsInBatch (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:739:3)
    at /dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1560:7
    at Object.batchedUpdates$1 [as unstable_batchedUpdates] (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:24386:12)
    at eventFn (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1556:14)
    at fn (/dev/shm/workspace/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:490:11)
    at /dev/shm/workspace/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:354:37
    at batchedUpdates$1 (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom.development.js:24386:12)
    at Object.act (/dev/shm/workspace/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1092:14)
    at wrapAct (/dev/shm/workspace/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:354:13)
    at Object.simulateEvent (/dev/shm/workspace/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:489:9)
    at ReactWrapper.call (/dev/shm/workspace/kibana/node_modules/enzyme/src/ReactWrapper.js:666:22)
    at ReactWrapper.single (/dev/shm/workspace/kibana/node_modules/enzyme/src/ReactWrapper.js:1170:21)
    at ReactWrapper.simulate (/dev/shm/workspace/kibana/node_modules/enzyme/src/ReactWrapper.js:665:17)
    at clickNextButton (/dev/shm/workspace/kibana/x-pack/plugins/index_management/__jest__/client_integration/helpers/template_form.helpers.ts:25:32)
    at Object.completeStepThree (/dev/shm/workspace/kibana/x-pack/plugins/index_management/__jest__/client_integration/helpers/template_form.helpers.ts:113:5)
    at /dev/shm/workspace/kibana/x-pack/plugins/index_management/__jest__/client_integration/template_create.test.tsx:199:25

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 31, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@mistic mistic added Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jun 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

mistic added a commit that referenced this issue Jun 1, 2020
mistic added a commit that referenced this issue Jun 1, 2020
(cherry picked from commit 5a6c772)
@mistic
Copy link
Member

mistic commented Jun 1, 2020

That test suite looks flaky. Over the last 24h tests into that suite failed 6 times both across master and 7.x

Screenshot 2020-06-01 at 18 23 20

I've skipped those tests.

master/8.0: 5a6c772
7.x/7.9: 4c2d4b3

@mistic
Copy link
Member

mistic commented Jun 1, 2020

Worth to mention that after solving that one we can also close a lot of other issues I think:

#62898
#66097
#66202
#66518
#67067
#67247
#67250
#67786
#67832

@cjcenizal
Copy link
Contributor

@sebelga Can you confirm that this is one of the tests you're going to address during the 7.10 dev cycle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Index Management Index and index templates UI skipped-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants