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/public/application/components/mappings_editor/__jest__/client_integration - <MappingsEditor /> tabs should keep the changes when switching tabs #65006

Closed
kibanamachine opened this issue May 2, 2020 · 10 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 2, 2020

A test failed on a tracked branch

TypeError: state.templates.submitForm is not a function
    at changeTab (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx:99:71)
    at onClick (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx:131:38)
    at HTMLUnknownElement.callCallback (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:336:14)
    at invokeEventListeners (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27)
    at HTMLUnknownElementImpl._dispatch (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
    at HTMLUnknownElementImpl.dispatchEvent (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
    at HTMLUnknownElementImpl.dispatchEvent (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27)
    at HTMLUnknownElement.dispatchEvent (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:143:21)
    at Object.invokeGuardedCallbackDev (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:385:16)
    at invokeGuardedCallback (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:440:31)
    at invokeGuardedCallbackAndCatchFirstError (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:454:25)
    at executeDispatch (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:584:3)
    at executeDispatchesInOrder (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:609:5)
    at executeDispatchesAndRelease (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:713:5)
    at executeDispatchesAndReleaseTopLevel (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:722:10)
    at forEachAccumulated (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:694:8)
    at runEventsInBatch (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:739:3)
    at /var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1560:7
    at Object.batchedUpdates$1 [as unstable_batchedUpdates] (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:24386:12)
    at eventFn (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1556:14)
    at fn (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:490:11)
    at /var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:354:37
    at batchedUpdates$1 (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:24386:12)
    at Object.act (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1092:14)
    at wrapAct (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:354:13)
    at Object.simulateEvent (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:489:9)
    at ReactWrapper.call (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme/src/ReactWrapper.js:666:22)
    at ReactWrapper.single (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme/src/ReactWrapper.js:1170:21)
    at ReactWrapper.simulate (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/enzyme/src/ReactWrapper.js:665:17)
    at selectTab (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/mappings_editor.helpers.tsx:69:16)
    at /var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx:159:15
    at batchedUpdates$1 (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom.development.js:24386:12)
    at act (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1092:14)
    at Object.test (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/mappings_editor.test.tsx:158:13)

First failure: Jenkins Build

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

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

@spalger spalger added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label May 3, 2020
@elasticmachine
Copy link
Contributor

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

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@spalger
Copy link
Contributor

spalger commented May 4, 2020

Looks like only 5 failures in the last week, but still more than we should have

image

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@spalger
Copy link
Contributor

spalger commented May 12, 2020

A single failure in the last seven days
image

@spalger
Copy link
Contributor

spalger commented May 13, 2020

Failures from 7.9+ will now be reported in #66457 because the test was renamed in https://github.com/elastic/kibana/pull/63853/files#diff-da306a9b31f17ed01ce36fb262d3a713

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@cjcenizal cjcenizal added the Feature:Index Management Index and index templates UI label Oct 20, 2020
@cjcenizal
Copy link
Contributor

@sebelga Do you know if this would have been affected by any of our recent work on the form lib? I wonder if we can close this.

@sebelga
Copy link
Contributor

sebelga commented Oct 21, 2020

@cjcenizal yes we can close this. It has been fixed in #76672

@sebelga sebelga closed this as completed Oct 21, 2020
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 Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

5 participants