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

[7.x] [EPM] Update UI copy to use integration (#63077) #63149

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

jen-huang
Copy link
Contributor

Backports the following commits to 7.x:

* Update epm copy to say Integrations

* Update copy in create data source flow

* Update copy in data sources table

* Fix missed copies

* Remove unused translation keys (they were renamed & strings were changed)
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/canvas/custom_elements·ts.Canvas app custom elements saves custom element modifications

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 5 times on tracked branches: https://github.com/elastic/kibana/issues/62927

[00:00:00]       │
[00:01:29]         └-: Canvas app
[00:01:29]           └-> "before all" hook
[00:02:21]           └-: custom elements
[00:02:21]             └-> "before all" hook
[00:02:21]             └-> "before all" hook
[00:02:21]               │ info [logstash_functional] Loading "mappings.json"
[00:02:21]               │ info [logstash_functional] Loading "data.json.gz"
[00:02:21]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:02:21]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:02:21]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:02:23]               │ info [canvas/default] Loading "mappings.json"
[00:02:23]               │ info [canvas/default] Loading "data.json.gz"
[00:02:23]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_2/RUOc9azTR-6qrY-GILeE1Q] deleting index
[00:02:23]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_1/8TaJO_LtS4eKWUK2YxlZVA] deleting index
[00:02:23]               │ info [canvas/default] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:23]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] applying create index request using v1 templates []
[00:02:23]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:23]               │ info [canvas/default] Created index ".kibana_1"
[00:02:23]               │ debg [canvas/default] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:23]               │ info [canvas/default] Indexed 3 docs into ".kibana_1"
[00:02:23]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_1/EsIuU-YURWaeoBHDmJ8oYA] update_mapping [_doc]
[00:02:23]               │ debg Migrating saved objects
[00:02:24]               │ proc [kibana]   log   [17:37:59.081] [info][savedobjects-service] Creating index .kibana_2.
[00:02:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] applying create index request using v1 templates []
[00:02:24]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:24]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:24]               │ proc [kibana]   log   [17:37:59.194] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:24]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_2/jWYGlHQXQaGdJJbO65awYA] update_mapping [_doc]
[00:02:24]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586450756481305221] [.kibana_2/jWYGlHQXQaGdJJbO65awYA] update_mapping [_doc]
[00:02:24]               │ proc [kibana]   log   [17:37:59.355] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:24]               │ proc [kibana]   log   [17:37:59.433] [info][savedobjects-service] Finished in 354ms.
[00:02:24]               │ debg navigating to canvas url: http://localhost:6121/app/canvas#/
[00:02:24]               │ debg navigate to: http://localhost:6121/app/canvas#/
[00:02:25]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586453879440#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:25]               │
[00:02:25]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:25]               │ debg ... sleep(700) start
[00:02:25]               │ debg ... sleep(700) end
[00:02:25]               │ debg returned from get, calling refresh
[00:02:26]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586453879440#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:26]               │
[00:02:26]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:26]               │ debg currentUrl = http://localhost:6121/app/canvas#/
[00:02:26]               │          appUrl = http://localhost:6121/app/canvas#/
[00:02:26]               │ debg TestSubjects.find(kibanaChrome)
[00:02:26]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:31]               │ debg browser[INFO] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-09T17:38:05Z
[00:02:31]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:31]               │
[00:02:31]               │      "
[00:02:31]               │ debg ... sleep(501) start
[00:02:32]               │ debg ... sleep(501) end
[00:02:32]               │ debg in navigateTo url = http://localhost:6121/app/canvas#/
[00:02:32]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:32]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:34]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:35]               │ debg navigating to canvas url: http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:35]               │ debg navigate to: http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:35]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586453889800#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:35]               │
[00:02:35]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:35]               │ debg ... sleep(700) start
[00:02:36]               │ debg ... sleep(700) end
[00:02:36]               │ debg returned from get, calling refresh
[00:02:37]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586453889800#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:37]               │
[00:02:37]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:37]               │ debg currentUrl = http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:37]               │          appUrl = http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:37]               │ debg TestSubjects.find(kibanaChrome)
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:41]               │ debg browser[INFO] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-09T17:38:15Z
[00:02:41]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:41]               │
[00:02:41]               │      "
[00:02:41]               │ debg ... sleep(501) start
[00:02:42]               │ debg ... sleep(501) end
[00:02:42]               │ debg in navigateTo url = http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:42]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:44]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:45]             └-> creates a custom element from an element when prompted
[00:02:45]               └-> "before each" hook: global before each
[00:02:45]               │ debg TestSubjects.click(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:45]               │ debg Find.clickByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=20000
[00:02:45]               │ debg Find.findByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=20000
[00:02:45]               │ debg Find.clickByCssSelector('[aria-label="Save as new element"]') with timeout=20000
[00:02:45]               │ debg Find.findByCssSelector('[aria-label="Save as new element"]') with timeout=20000
[00:02:45]               │ debg TestSubjects.setValue(canvasCustomElementForm-name, My New Element)
[00:02:45]               │ debg TestSubjects.click(canvasCustomElementForm-name)
[00:02:45]               │ debg Find.clickByCssSelector('[data-test-subj="canvasCustomElementForm-name"]') with timeout=10000
[00:02:45]               │ debg Find.findByCssSelector('[data-test-subj="canvasCustomElementForm-name"]') with timeout=10000
[00:02:46]               │ debg TestSubjects.setValue(canvasCustomElementForm-description, An excellent new element)
[00:02:46]               │ debg TestSubjects.click(canvasCustomElementForm-description)
[00:02:46]               │ debg Find.clickByCssSelector('[data-test-subj="canvasCustomElementForm-description"]') with timeout=10000
[00:02:46]               │ debg Find.findByCssSelector('[data-test-subj="canvasCustomElementForm-description"]') with timeout=10000
[00:02:46]               │ debg TestSubjects.click(canvasCustomElementForm-submit)
[00:02:46]               │ debg Find.clickByCssSelector('[data-test-subj="canvasCustomElementForm-submit"]') with timeout=10000
[00:02:46]               │ debg Find.findByCssSelector('[data-test-subj="canvasCustomElementForm-submit"]') with timeout=10000
[00:02:46]               │ debg TestSubjects.exists(canvasCustomElementCreate-success)
[00:02:46]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="canvasCustomElementCreate-success"]') with timeout=30000
[00:02:47]               └- ✓ pass  (2.3s) "Canvas app custom elements creates a custom element from an element when prompted"
[00:02:47]             └-> adds the custom element to the workpad when prompted
[00:02:47]               └-> "before each" hook: global before each
[00:02:47]               │ debg TestSubjects.click(add-element-button)
[00:02:47]               │ debg Find.clickByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:47]               │ debg Find.findByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:47]               │ debg Find.clickByCssSelector('#customElements') with timeout=20000
[00:02:47]               │ debg Find.findByCssSelector('#customElements') with timeout=20000
[00:02:48]               │ debg Find.findByCssSelector('[aria-labelledby="customElements"] .canvasElementCard__wrapper') with timeout=10000
[00:02:48]               │ debg TestSubjects.findAll(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:48]               │ debg Find.allByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=10000
[00:02:48]               │ debg --- retry.try error: expected [ { _webElement: { driver_: [Object], id_: {} },
[00:02:48]               │          locator: null,
[00:02:48]               │          webDriver: 
[00:02:48]               │           { driver: [Object],
[00:02:48]               │             By: 
[00:02:48]               │              [Function: name(name) {
[00:02:48]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │                }],
[00:02:48]               │             until: [Object],
[00:02:48]               │             browserType: 'chrome',
[00:02:48]               │             'consoleLog$': [Object] },
[00:02:48]               │          timeout: 10000,
[00:02:48]               │          fixedHeaderHeight: 50,
[00:02:48]               │          logger: 
[00:02:48]               │           { identWidth: 14,
[00:02:48]               │             writers: [Object],
[00:02:48]               │             'written$': [Object] },
[00:02:48]               │          browserType: 'chrome',
[00:02:48]               │          By: 
[00:02:48]               │           [Function: name(name) {
[00:02:48]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │             }],
[00:02:48]               │          driver: 
[00:02:48]               │           { session_: {},
[00:02:48]               │             executor_: [Object],
[00:02:48]               │             fileDetector_: null,
[00:02:48]               │             onQuit_: [Function: onQuit] },
[00:02:48]               │          Keys: 
[00:02:48]               │           { NULL: '',
[00:02:48]               │             CANCEL: '',
[00:02:48]               │             HELP: '',
[00:02:48]               │             BACK_SPACE: '',
[00:02:48]               │             TAB: '',
[00:02:48]               │             CLEAR: '',
[00:02:48]               │             RETURN: '',
[00:02:48]               │             ENTER: '',
[00:02:48]               │             SHIFT: '',
[00:02:48]               │             CONTROL: '',
[00:02:48]               │             ALT: '',
[00:02:48]               │             PAUSE: '',
[00:02:48]               │             ESCAPE: '',
[00:02:48]               │             SPACE: '',
[00:02:48]               │             PAGE_UP: '',
[00:02:48]               │             PAGE_DOWN: '',
[00:02:48]               │             END: '',
[00:02:48]               │             HOME: '',
[00:02:48]               │             ARROW_LEFT: '',
[00:02:48]               │             LEFT: '',
[00:02:48]               │             ARROW_UP: '',
[00:02:48]               │             UP: '',
[00:02:48]               │             ARROW_RIGHT: '',
[00:02:48]               │             RIGHT: '',
[00:02:48]               │             ARROW_DOWN: '',
[00:02:48]               │             DOWN: '',
[00:02:48]               │             INSERT: '',
[00:02:48]               │             DELETE: '',
[00:02:48]               │             SEMICOLON: '',
[00:02:48]               │             EQUALS: '',
[00:02:48]               │             NUMPAD0: '',
[00:02:48]               │             NUMPAD1: '',
[00:02:48]               │             NUMPAD2: '',
[00:02:48]               │             NUMPAD3: '',
[00:02:48]               │             NUMPAD4: '',
[00:02:48]               │             NUMPAD5: '',
[00:02:48]               │             NUMPAD6: '',
[00:02:48]               │             NUMPAD7: '',
[00:02:48]               │             NUMPAD8: '',
[00:02:48]               │             NUMPAD9: '',
[00:02:48]               │             MULTIPLY: '',
[00:02:48]               │             ADD: '',
[00:02:48]               │             SEPARATOR: '',
[00:02:48]               │             SUBTRACT: '',
[00:02:48]               │             DECIMAL: '',
[00:02:48]               │             DIVIDE: '',
[00:02:48]               │             F1: '',
[00:02:48]               │             F2: '',
[00:02:48]               │             F3: '',
[00:02:48]               │             F4: '',
[00:02:48]               │             F5: '',
[00:02:48]               │             F6: '',
[00:02:48]               │             F7: '',
[00:02:48]               │             F8: '',
[00:02:48]               │             F9: '',
[00:02:48]               │             F10: '',
[00:02:48]               │             F11: '',
[00:02:48]               │             F12: '',
[00:02:48]               │             COMMAND: '',
[00:02:48]               │             META: '',
[00:02:48]               │             ZENKAKU_HANKAKU: '',
[00:02:48]               │             chord: [Function] },
[00:02:48]               │          isW3CEnabled: true,
[00:02:48]               │          isChromium: true },
[00:02:48]               │        { _webElement: { driver_: [Object], id_: {} },
[00:02:48]               │          locator: null,
[00:02:48]               │          webDriver: 
[00:02:48]               │           { driver: [Object],
[00:02:48]               │             By: 
[00:02:48]               │              [Function: name(name) {
[00:02:48]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │                }],
[00:02:48]               │             until: [Object],
[00:02:48]               │             browserType: 'chrome',
[00:02:48]               │             'consoleLog$': [Object] },
[00:02:48]               │          timeout: 10000,
[00:02:48]               │          fixedHeaderHeight: 50,
[00:02:48]               │          logger: 
[00:02:48]               │           { identWidth: 14,
[00:02:48]               │             writers: [Object],
[00:02:48]               │             'written$': [Object] },
[00:02:48]               │          browserType: 'chrome',
[00:02:48]               │          By: 
[00:02:48]               │           [Function: name(name) {
[00:02:48]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │             }],
[00:02:48]               │          driver: 
[00:02:48]               │           { session_: {},
[00:02:48]               │             executor_: [Object],
[00:02:48]               │             fileDetector_: null,
[00:02:48]               │             onQuit_: [Function: onQuit] },
[00:02:48]               │          Keys: 
[00:02:48]               │           { NULL: '',
[00:02:48]               │             CANCEL: '',
[00:02:48]               │             HELP: '',
[00:02:48]               │             BACK_SPACE: '',
[00:02:48]               │             TAB: '',
[00:02:48]               │             CLEAR: '',
[00:02:48]               │             RETURN: '',
[00:02:48]               │             ENTER: '',
[00:02:48]               │             SHIFT: '',
[00:02:48]               │             CONTROL: '',
[00:02:48]               │             ALT: '',
[00:02:48]               │             PAUSE: '',
[00:02:48]               │             ESCAPE: '',
[00:02:48]               │             SPACE: '',
[00:02:48]               │             PAGE_UP: '',
[00:02:48]               │             PAGE_DOWN: '',
[00:02:48]               │             END: '',
[00:02:48]               │             HOME: '',
[00:02:48]               │             ARROW_LEFT: '',
[00:02:48]               │             LEFT: '',
[00:02:48]               │             ARROW_UP: '',
[00:02:48]               │             UP: '',
[00:02:48]               │             ARROW_RIGHT: '',
[00:02:48]               │             RIGHT: '',
[00:02:48]               │             ARROW_DOWN: '',
[00:02:48]               │             DOWN: '',
[00:02:48]               │             INSERT: '',
[00:02:48]               │             DELETE: '',
[00:02:48]               │             SEMICOLON: '',
[00:02:48]               │             EQUALS: '',
[00:02:48]               │             NUMPAD0: '',
[00:02:48]               │             NUMPAD1: '',
[00:02:48]               │             NUMPAD2: '',
[00:02:48]               │             NUMPAD3: '',
[00:02:48]               │             NUMPAD4: '',
[00:02:48]               │             NUMPAD5: '',
[00:02:48]               │             NUMPAD6: '',
[00:02:48]               │             NUMPAD7: '',
[00:02:48]               │             NUMPAD8: '',
[00:02:48]               │             NUMPAD9: '',
[00:02:48]               │             MULTIPLY: '',
[00:02:48]               │             ADD: '',
[00:02:48]               │             SEPARATOR: '',
[00:02:48]               │             SUBTRACT: '',
[00:02:48]               │             DECIMAL: '',
[00:02:48]               │             DIVIDE: '',
[00:02:48]               │             F1: '',
[00:02:48]               │             F2: '',
[00:02:48]               │             F3: '',
[00:02:48]               │             F4: '',
[00:02:48]               │             F5: '',
[00:02:48]               │             F6: '',
[00:02:48]               │             F7: '',
[00:02:48]               │             F8: '',
[00:02:48]               │             F9: '',
[00:02:48]               │             F10: '',
[00:02:48]               │             F11: '',
[00:02:48]               │             F12: '',
[00:02:48]               │             COMMAND: '',
[00:02:48]               │             META: '',
[00:02:48]               │             ZENKAKU_HANKAKU: '',
[00:02:48]               │             chord: [Function] },
[00:02:48]               │          isW3CEnabled: true,
[00:02:48]               │          isChromium: true },
[00:02:48]               │        { _webElement: { driver_: [Object], id_: {} },
[00:02:48]               │          locator: null,
[00:02:48]               │          webDriver: 
[00:02:48]               │           { driver: [Object],
[00:02:48]               │             By: 
[00:02:48]               │              [Function: name(name) {
[00:02:48]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │                }],
[00:02:48]               │             until: [Object],
[00:02:48]               │             browserType: 'chrome',
[00:02:48]               │             'consoleLog$': [Object] },
[00:02:48]               │          timeout: 10000,
[00:02:48]               │          fixedHeaderHeight: 50,
[00:02:48]               │          logger: 
[00:02:48]               │           { identWidth: 14,
[00:02:48]               │             writers: [Object],
[00:02:48]               │             'written$': [Object] },
[00:02:48]               │          browserType: 'chrome',
[00:02:48]               │          By: 
[00:02:48]               │           [Function: name(name) {
[00:02:48]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │             }],
[00:02:48]               │          driver: 
[00:02:48]               │           { session_: {},
[00:02:48]               │             executor_: [Object],
[00:02:48]               │             fileDetector_: null,
[00:02:48]               │             onQuit_: [Function: onQuit] },
[00:02:48]               │          Keys: 
[00:02:48]               │           { NULL: '',
[00:02:48]               │             CANCEL: '',
[00:02:48]               │             HELP: '',
[00:02:48]               │             BACK_SPACE: '',
[00:02:48]               │             TAB: '',
[00:02:48]               │             CLEAR: '',
[00:02:48]               │             RETURN: '',
[00:02:48]               │             ENTER: '',
[00:02:48]               │             SHIFT: '',
[00:02:48]               │             CONTROL: '',
[00:02:48]               │             ALT: '',
[00:02:48]               │             PAUSE: '',
[00:02:48]               │             ESCAPE: '',
[00:02:48]               │             SPACE: '',
[00:02:48]               │             PAGE_UP: '',
[00:02:48]               │             PAGE_DOWN: '',
[00:02:48]               │             END: '',
[00:02:48]               │             HOME: '',
[00:02:48]               │             ARROW_LEFT: '',
[00:02:48]               │             LEFT: '',
[00:02:48]               │             ARROW_UP: '',
[00:02:48]               │             UP: '',
[00:02:48]               │             ARROW_RIGHT: '',
[00:02:48]               │             RIGHT: '',
[00:02:48]               │             ARROW_DOWN: '',
[00:02:48]               │             DOWN: '',
[00:02:48]               │             INSERT: '',
[00:02:48]               │             DELETE: '',
[00:02:48]               │             SEMICOLON: '',
[00:02:48]               │             EQUALS: '',
[00:02:48]               │             NUMPAD0: '',
[00:02:48]               │             NUMPAD1: '',
[00:02:48]               │             NUMPAD2: '',
[00:02:48]               │             NUMPAD3: '',
[00:02:48]               │             NUMPAD4: '',
[00:02:48]               │             NUMPAD5: '',
[00:02:48]               │             NUMPAD6: '',
[00:02:48]               │             NUMPAD7: '',
[00:02:48]               │             NUMPAD8: '',
[00:02:48]               │             NUMPAD9: '',
[00:02:48]               │             MULTIPLY: '',
[00:02:48]               │             ADD: '',
[00:02:48]               │             SEPARATOR: '',
[00:02:48]               │             SUBTRACT: '',
[00:02:48]               │             DECIMAL: '',
[00:02:48]               │             DIVIDE: '',
[00:02:48]               │             F1: '',
[00:02:48]               │             F2: '',
[00:02:48]               │             F3: '',
[00:02:48]               │             F4: '',
[00:02:48]               │             F5: '',
[00:02:48]               │             F6: '',
[00:02:48]               │             F7: '',
[00:02:48]               │             F8: '',
[00:02:48]               │             F9: '',
[00:02:48]               │             F10: '',
[00:02:48]               │             F11: '',
[00:02:48]               │             F12: '',
[00:02:48]               │             COMMAND: '',
[00:02:48]               │             META: '',
[00:02:48]               │             ZENKAKU_HANKAKU: '',
[00:02:48]               │             chord: [Function] },
[00:02:48]               │          isW3CEnabled: true,
[00:02:48]               │          isChromium: true },
[00:02:48]               │        { _webElement: { driver_: [Object], id_: {} },
[00:02:48]               │          locator: null,
[00:02:48]               │          webDriver: 
[00:02:48]               │           { driver: [Object],
[00:02:48]               │             By: 
[00:02:48]               │              [Function: name(name) {
[00:02:48]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │                }],
[00:02:48]               │             until: [Object],
[00:02:48]               │             browserType: 'chrome',
[00:02:48]               │             'consoleLog$': [Object] },
[00:02:48]               │          timeout: 10000,
[00:02:48]               │          fixedHeaderHeight: 50,
[00:02:48]               │          logger: 
[00:02:48]               │           { identWidth: 14,
[00:02:48]               │             writers: [Object],
[00:02:48]               │             'written$': [Object] },
[00:02:48]               │          browserType: 'chrome',
[00:02:48]               │          By: 
[00:02:48]               │           [Function: name(name) {
[00:02:48]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:48]               │             }],
[00:02:48]               │          driver: 
[00:02:48]               │           { session_: {},
[00:02:48]               │             executor_: [Object],
[00:02:48]               │             fileDetector_: null,
[00:02:48]               │             onQuit_: [Function: onQuit] },
[00:02:48]               │          Keys: 
[00:02:48]               │           { NULL: '',
[00:02:48]               │             CANCEL: '',
[00:02:48]               │             HELP: '',
[00:02:48]               │             BACK_SPACE: '',
[00:02:48]               │             TAB: '',
[00:02:48]               │             CLEAR: '',
[00:02:48]               │             RETURN: '',
[00:02:48]               │             ENTER: '',
[00:02:48]               │             SHIFT: '',
[00:02:48]               │             CONTROL: '',
[00:02:48]               │             ALT: '',
[00:02:48]               │             PAUSE: '',
[00:02:48]               │             ESCAPE: '',
[00:02:48]               │             SPACE: '',
[00:02:48]               │             PAGE_UP: '',
[00:02:48]               │             PAGE_DOWN: '',
[00:02:48]               │             END: '',
[00:02:48]               │             HOME: '',
[00:02:48]               │             ARROW_LEFT: '',
[00:02:48]               │             LEFT: '',
[00:02:48]               │             ARROW_UP: '',
[00:02:48]               │             UP: '',
[00:02:48]               │             ARROW_RIGHT: '',
[00:02:48]               │             RIGHT: '',
[00:02:48]               │             ARROW_DOWN: '',
[00:02:48]               │             DOWN: '',
[00:02:48]               │             INSERT: '',
[00:02:48]               │             DELETE: '',
[00:02:48]               │             SEMICOLON: '',
[00:02:48]               │             EQUALS: '',
[00:02:48]               │             NUMPAD0: '',
[00:02:48]               │             NUMPAD1: '',
[00:02:48]               │             NUMPAD2: '',
[00:02:48]               │             NUMPAD3: '',
[00:02:48]               │             NUMPAD4: '',
[00:02:48]               │             NUMPAD5: '',
[00:02:48]               │             NUMPAD6: '',
[00:02:48]               │             NUMPAD7: '',
[00:02:48]               │             NUMPAD8: '',
[00:02:48]               │             NUMPAD9: '',
[00:02:48]               │             MULTIPLY: '',
[00:02:48]               │             ADD: '',
[00:02:48]               │             SEPARATOR: '',
[00:02:48]               │             SUBTRACT: '',
[00:02:48]               │             DECIMAL: '',
[00:02:48]               │             DIVIDE: '',
[00:02:48]               │             F1: '',
[00:02:48]               │             F2: '',
[00:02:48]               │             F3: '',
[00:02:48]               │             F4: '',
[00:02:48]               │             F5: '',
[00:02:48]               │             F6: '',
[00:02:48]               │             F7: '',
[00:02:48]               │             F8: '',
[00:02:48]               │             F9: '',
[00:02:48]               │             F10: '',
[00:02:48]               │             F11: '',
[00:02:48]               │             F12: '',
[00:02:48]               │             COMMAND: '',
[00:02:48]               │             META: '',
[00:02:48]               │             ZENKAKU_HANKAKU: '',
[00:02:48]               │             chord: [Function] },
[00:02:48]               │          isW3CEnabled: true,
[00:02:48]               │          isChromium: true } ] to have a length of 5 but got 4
[00:02:49]               │ debg TestSubjects.findAll(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:49]               │ debg Find.allByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=10000
[00:02:49]               │ debg TestSubjects.findAll(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:49]               │ debg Find.allByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=10000
[00:02:49]               └- ✓ pass  (2.0s) "Canvas app custom elements adds the custom element to the workpad when prompted"
[00:02:49]             └-> saves custom element modifications
[00:02:49]               └-> "before each" hook: global before each
[00:02:49]               │ debg TestSubjects.click(add-element-button)
[00:02:49]               │ debg Find.clickByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:49]               │ debg Find.findByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:49]               │ debg Find.clickByCssSelector('#customElements') with timeout=20000
[00:02:49]               │ debg Find.findByCssSelector('#customElements') with timeout=20000
[00:02:50]               │ debg Find.findByCssSelector('[aria-labelledby="customElements"]') with timeout=10000
[00:03:00]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Canvas app custom elements saves custom element modifications.png"
[00:03:00]               │ info Current URL is: http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:03:00]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Canvas app custom elements saves custom element modifications.html
[00:03:00]               └- ✖ fail: "Canvas app custom elements saves custom element modifications"
[00:03:00]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [aria-labelledby="customElements"])
Wait timed out after 10049ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jen-huang jen-huang merged commit 225312e into elastic:7.x Apr 9, 2020
@jen-huang jen-huang deleted the backport/7.x/pr-63077 branch April 9, 2020 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants