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

[Visualize] Add unit tests #70410

Merged
merged 39 commits into from
Jul 8, 2020
Merged

[Visualize] Add unit tests #70410

merged 39 commits into from
Jul 8, 2020

Conversation

sulemanof
Copy link
Contributor

@sulemanof sulemanof commented Jul 1, 2020

Summary

This PR adds unit tests for custom hooks in visualize app and for few helpers.

  • coverage for src/plugins/visualize/public/application/utils/use/ folder:

    image

  • coverage for src/plugins/visualize/public/application/utils folder:

    image

Checklist

Delete any items that are not applicable to this PR.

For maintainers

# Conflicts:
#	packages/kbn-telemetry-tools/src/tools/__fixture__/parsed_nested_collector.ts
#	src/fixtures/telemetry_collectors/unmapped_collector.ts
#	src/plugins/data/public/query/filter_manager/filter_manager.mock.ts
#	src/plugins/discover/public/application/components/skip_bottom_button/skip_bottom_button.test.tsx
#	src/plugins/kibana_utils/common/default_feedback_message.ts
#	src/plugins/visualize/public/application/app.tsx
#	src/plugins/visualize/public/application/components/index.ts
#	src/plugins/visualize/public/application/components/visualize_editor.tsx
#	src/plugins/visualize/public/application/help_menu/help_menu_util.js
#	src/plugins/visualize/public/application/types.ts
#	src/plugins/visualize/public/application/utils/get_top_nav_config.tsx
#	src/plugins/visualize/public/application/utils/index.ts
#	src/plugins/visualize/public/application/utils/use/index.ts
#	src/plugins/visualize/public/application/utils/use/use_chrome_visibility.ts
#	src/plugins/visualize/public/application/visualize_app.ts
#	src/plugins/visualize/public/plugin.ts
@sulemanof sulemanof requested a review from stratoula July 1, 2020 12:37
@sulemanof sulemanof marked this pull request as ready for review July 1, 2020 12:37
@sulemanof sulemanof requested a review from a team July 1, 2020 12:37
@sulemanof sulemanof requested a review from a team as a code owner July 1, 2020 12:37
@sulemanof sulemanof added Feature:Unit Testing release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.9.0 v8.0.0 labels Jul 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So happy with this PR :) Code is LGTM 🍪

@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Member

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm - thanks for adding these!

@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow creation of lens visualizations

Link to Jenkins

Standard Out

[00:00:00]       │
[00:09:31]         └-: lens app
[00:09:31]           └-> "before all" hook
[00:09:31]           └-> "before all" hook
[00:09:31]             │ debg Starting lens before method
[00:09:31]             │ info [logstash_functional] Loading "mappings.json"
[00:09:31]             │ info [logstash_functional] Loading "data.json.gz"
[00:09:31]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:09:31]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:09:31]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:09:32]             │ info [lens/basic] Loading "mappings.json"
[00:09:32]             │ info [lens/basic] Loading "data.json.gz"
[00:09:33]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_1/xFw0wJe1SWe6ufX1kRbvSQ] deleting index
[00:09:33]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2/PxTNmmvORQ-F6qOjRQcr9Q] deleting index
[00:09:33]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:09:33]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:09:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:09:33]             │ info [lens/basic] Created index ".kibana_1"
[00:09:33]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:09:33]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:09:33]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_1/Gz6YZfhCTMen7lIcWGldXA] update_mapping [_doc]
[00:09:33]             │ debg Migrating saved objects
[00:09:33]             │ proc [kibana]   log   [11:21:03.045] [info][savedobjects-service] Creating index .kibana_2.
[00:09:33]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:09:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] updating number_of_replicas to [0] for indices [.kibana_2]
[00:09:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:09:33]             │ proc [kibana]   log   [11:21:03.139] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:09:33]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2/u7kMKJmkQDSpWWL3W-_OWw] update_mapping [_doc]
[00:09:33]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2/u7kMKJmkQDSpWWL3W-_OWw] update_mapping [_doc]
[00:09:33]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2/u7kMKJmkQDSpWWL3W-_OWw] update_mapping [_doc]
[00:09:33]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2/u7kMKJmkQDSpWWL3W-_OWw] update_mapping [_doc]
[00:09:33]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1594204209924051940] [.kibana_2/u7kMKJmkQDSpWWL3W-_OWw] update_mapping [_doc]
[00:09:33]             │ proc [kibana]   log   [11:21:03.394] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:09:33]             │ proc [kibana]   log   [11:21:03.473] [info][savedobjects-service] Finished in 430ms.
[00:09:33]           └-: 
[00:09:33]             └-> "before all" hook
[00:09:33]             └-: lens smokescreen tests
[00:09:33]               └-> "before all" hook
[00:09:33]               └-> should allow editing saved visualizations
[00:09:33]                 └-> "before each" hook: global before each
[00:09:33]                 │ debg navigating to visualize url: http://localhost:6121/app/visualize#/
[00:09:33]                 │ debg navigate to: http://localhost:6121/app/visualize#/
[00:09:33]                 │ debg browser[INFO] http://localhost:6121/login?next=%2Fapp%2Fvisualize%3F_t%3D1594207263495#/ 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:09:33]                 │
[00:09:33]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:33]                 │ debg ... sleep(700) start
[00:09:34]                 │ debg ... sleep(700) end
[00:09:34]                 │ debg returned from get, calling refresh
[00:09:35]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:21:04Z
[00:09:35]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:09:35]                 │
[00:09:35]                 │      "
[00:09:35]                 │ERROR browser[SEVERE] http://localhost:6121/34467/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:09:35]                 │ debg browser[INFO] http://localhost:6121/login?next=%2Fapp%2Fvisualize%3F_t%3D1594207263495#/ 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:09:35]                 │
[00:09:35]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:35]                 │ debg currentUrl = http://localhost:6121/login?next=%2Fapp%2Fvisualize%3F_t%3D1594207263495#/
[00:09:35]                 │          appUrl = http://localhost:6121/app/visualize#/
[00:09:35]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:37]                 │ debg Found login page
[00:09:37]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:09:37]                 │ debg TestSubjects.click(loginUsername)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:09:37]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:21:06Z
[00:09:37]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:09:37]                 │
[00:09:37]                 │      "
[00:09:37]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:09:37]                 │ debg TestSubjects.click(loginPassword)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:09:37]                 │ debg TestSubjects.click(loginSubmit)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:09:40]                 │ debg browser[INFO] http://localhost:6121/app/visualize?_t=1594207263495#/ 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:09:40]                 │
[00:09:40]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:40]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:21:09Z
[00:09:40]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:09:40]                 │
[00:09:40]                 │      "
[00:09:40]                 │ debg browser[INFO] http://localhost:6121/app/visualize?_t=1594207270180#/ 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:09:40]                 │
[00:09:40]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:40]                 │ debg Finished login process currentUrl = http://localhost:6121/app/visualize#/
[00:09:40]                 │ debg ... sleep(501) start
[00:09:41]                 │ debg ... sleep(501) end
[00:09:41]                 │ debg in navigateTo url = http://localhost:6121/app/visualize#/
[00:09:41]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:44]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:21:11Z
[00:09:44]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:09:44]                 │
[00:09:44]                 │      "
[00:09:44]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:44]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:09:44]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:09:45]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:45]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:45]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:09:45]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:09:45]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:09:45]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:09:45]                 │ debg lensPage.goToTimeRange()
[00:09:45]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:09:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:09:46]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:09:46]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:09:46]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:09:46]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:09:46]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:09:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:09:46]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:09:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:09:46]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:09:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:09:46]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:09:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:09:46]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:09:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:09:46]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:47]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:09:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:47]                 │ debg ... sleep(500) start
[00:09:48]                 │ debg ... sleep(500) end
[00:09:48]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:09:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:09:48]                 │ debg Find.waitForElementStale with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:09:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:09:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:09:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:48]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:09:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:09:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:09:49]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:09:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:09:52]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:09:52]                 │ debg TestSubjects.click(querySubmitButton)
[00:09:52]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:09:52]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:09:52]                 │ debg Find.waitForElementStale with timeout=10000
[00:09:53]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:53]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:53]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:09:53]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:09:53]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:09:53]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:09:53]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:09:53]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:09:53]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:09:53]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:09:53]                 └- ✓ pass  (19.6s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:09:53]               └-> metric should be embeddable in dashboards
[00:09:53]                 └-> "before each" hook: global before each
[00:09:53]                 │ debg navigating to dashboard url: http://localhost:6121/app/dashboards#/list
[00:09:53]                 │ debg navigate to: http://localhost:6121/app/dashboards#/list
[00:09:53]                 │ debg ... sleep(700) start
[00:09:53]                 │ debg browser[INFO] http://localhost:6121/app/dashboards?_t=1594207283058#/list 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:09:53]                 │
[00:09:53]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:54]                 │ debg ... sleep(700) end
[00:09:54]                 │ debg returned from get, calling refresh
[00:09:54]                 │ debg browser[INFO] http://localhost:6121/app/dashboards?_t=1594207283058#/list 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:09:54]                 │
[00:09:54]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:54]                 │ debg currentUrl = http://localhost:6121/app/dashboards#/list
[00:09:54]                 │          appUrl = http://localhost:6121/app/dashboards#/list
[00:09:54]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:54]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:55]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:21:24Z
[00:09:55]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:09:55]                 │
[00:09:55]                 │      "
[00:09:55]                 │ debg ... sleep(501) start
[00:09:56]                 │ debg ... sleep(501) end
[00:09:56]                 │ debg in navigateTo url = http://localhost:6121/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:56]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:09:56]                 │ debg ... sleep(501) start
[00:09:57]                 │ debg ... sleep(501) end
[00:09:57]                 │ debg in navigateTo url = http://localhost:6121/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:57]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:59]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:00]                 │ debg TestSubjects.exists(newItemButton)
[00:10:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:10:02]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:10:03]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:10:03]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:03]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:03]                 │ debg waitForRenderComplete
[00:10:03]                 │ debg in getSharedItemsCount
[00:10:03]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:03]                 │ debg Renderable.waitForRender for 0 elements
[00:10:03]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:13]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:10:14]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:10:14]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:10:14]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:14]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:14]                 │ debg ... sleep(500) start
[00:10:15]                 │ debg ... sleep(500) end
[00:10:15]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:10:15]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, Artistpreviouslyknownaslens)
[00:10:15]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:10:15]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:10:15]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:10:16]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:10:16]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:10:16]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:10:17]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:10:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:10:17]                 │ debg Closing flyout dashboardAddPanel
[00:10:17]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:10:17]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:10:17]                 │ debg Waiting up to 20000ms for flyout closed...
[00:10:17]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:10:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:10:18]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:10:18]                 │ debg lensPage.goToTimeRange()
[00:10:18]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:10:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:10:21]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:10:22]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:10:22]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:10:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:10:22]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:10:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:10:22]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:10:22]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:22]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:22]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:10:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:10:22]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:10:22]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:22]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:22]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:22]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:22]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:22]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:22]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:22]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:22]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:22]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:10:22]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:22]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:22]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:23]                 │ debg ... sleep(500) start
[00:10:23]                 │ debg ... sleep(500) end
[00:10:23]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:10:23]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:23]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:23]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:24]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:24]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:24]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:24]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:24]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:24]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:24]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:24]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:10:24]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:24]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:24]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:24]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:10:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:10:27]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:10:27]                 │ debg TestSubjects.click(querySubmitButton)
[00:10:27]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:10:28]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:28]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:28]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:28]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:10:28]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:10:28]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:28]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:10:28]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:10:28]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:10:28]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:10:28]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:10:28]                 └- ✓ pass  (35.1s) "lens app  lens smokescreen tests metric should be embeddable in dashboards"
[00:10:28]               └-> click on the bar in XYChart adds proper filters/timerange in dashboard
[00:10:28]                 └-> "before each" hook: global before each
[00:10:28]                 │ debg navigating to dashboard url: http://localhost:6121/app/dashboards#/list
[00:10:28]                 │ debg navigate to: http://localhost:6121/app/dashboards#/list
[00:10:28]                 │ debg browser[INFO] http://localhost:6121/app/dashboards?_t=1594207318115#/list 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:10:28]                 │
[00:10:28]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:28]                 │ debg ... sleep(700) start
[00:10:29]                 │ debg ... sleep(700) end
[00:10:29]                 │ debg returned from get, calling refresh
[00:10:29]                 │ debg browser[INFO] http://localhost:6121/app/dashboards?_t=1594207318115#/list 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:10:29]                 │
[00:10:29]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:29]                 │ debg currentUrl = http://localhost:6121/app/dashboards#/list
[00:10:29]                 │          appUrl = http://localhost:6121/app/dashboards#/list
[00:10:29]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:30]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:21:59Z
[00:10:30]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:10:30]                 │
[00:10:30]                 │      "
[00:10:30]                 │ debg ... sleep(501) start
[00:10:31]                 │ debg ... sleep(501) end
[00:10:31]                 │ debg in navigateTo url = http://localhost:6121/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:31]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:31]                 │ debg ... sleep(501) start
[00:10:32]                 │ debg ... sleep(501) end
[00:10:32]                 │ debg in navigateTo url = http://localhost:6121/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:32]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:34]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:35]                 │ debg TestSubjects.exists(newItemButton)
[00:10:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:10:38]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:10:38]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:10:38]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:38]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:10:38]                 │ debg waitForRenderComplete
[00:10:38]                 │ debg in getSharedItemsCount
[00:10:38]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:10:38]                 │ debg Renderable.waitForRender for 0 elements
[00:10:38]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:48]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:10:49]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:10:49]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:10:49]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:49]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:10:50]                 │ debg ... sleep(500) start
[00:10:50]                 │ debg ... sleep(500) end
[00:10:50]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:10:51]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, lnsXYvis)
[00:10:51]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:10:51]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:10:51]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:10:51]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:10:51]                 │ debg Find.clickByButtonText('lnsXYvis') with timeout=10000
[00:10:51]                 │ debg Find.byButtonText('lnsXYvis') with timeout=10000
[00:10:52]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:10:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:10:52]                 │ debg Closing flyout dashboardAddPanel
[00:10:52]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:10:52]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:10:52]                 │ debg Waiting up to 20000ms for flyout closed...
[00:10:52]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:10:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:10:53]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:10:54]                 │ debg lensPage.goToTimeRange()
[00:10:54]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:10:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:10:56]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:10:57]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:10:57]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:10:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:10:57]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:10:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:10:57]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:10:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:10:57]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:10:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:10:57]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:10:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:10:57]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:57]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:10:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:58]                 │ debg ... sleep(500) start
[00:10:58]                 │ debg ... sleep(500) end
[00:10:58]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:10:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:10:59]                 │ debg Find.waitForElementStale with timeout=10000
[00:10:59]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:10:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:10:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:10:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:59]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:10:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:10:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:10:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:00]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:02]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:03]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:03]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:03]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:03]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:03]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:03]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:03]                 │ debg Find.findByCssSelector('.echChart canvas:last-of-type') with timeout=10000
[00:11:03]                 │ debg TestSubjects.click(applyFiltersPopoverButton)
[00:11:03]                 │ debg Find.clickByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:11:03]                 │ debg Find.findByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:11:04]                 │ debg TestSubjects.missingOrFail(applyFiltersPopoverButton)
[00:11:04]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=2500
[00:11:04]                 │ debg lensPage.assertExactText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', 'lnsXYvis')
[00:11:04]                 │ debg lensPage.assertExpectedText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', value => value === expectedText)
[00:11:04]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:04]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-lnsXYvis"]') with timeout=10000
[00:11:04]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:04]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:07]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:11:07]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:07]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:11:07]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:07]                 │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:11:07]                 │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:11:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:07]                 │ debg TestSubjects.exists(filter filter-enabled filter-key-ip filter-value-97.220.3.248 filter-unpinned)
[00:11:07]                 │ debg Find.existsByCssSelector('[data-test-subj="filter filter-enabled filter-key-ip filter-value-97.220.3.248 filter-unpinned"]') with timeout=2500
[00:11:07]                 └- ✓ pass  (39.5s) "lens app  lens smokescreen tests click on the bar in XYChart adds proper filters/timerange in dashboard"
[00:11:07]               └-> should allow seamless transition to and from table view
[00:11:07]                 └-> "before each" hook: global before each
[00:11:07]                 │ debg navigating to visualize url: http://localhost:6121/app/visualize#/
[00:11:07]                 │ debg navigate to: http://localhost:6121/app/visualize#/
[00:11:08]                 │ debg browser[INFO] http://localhost:6121/app/visualize?_t=1594207357578#/ 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:11:08]                 │
[00:11:08]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:08]                 │ debg ... sleep(700) start
[00:11:08]                 │ debg ... sleep(700) end
[00:11:08]                 │ debg returned from get, calling refresh
[00:11:09]                 │ debg browser[INFO] http://localhost:6121/app/visualize?_t=1594207357578#/ 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:11:09]                 │
[00:11:09]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:09]                 │ debg currentUrl = http://localhost:6121/app/visualize#/
[00:11:09]                 │          appUrl = http://localhost:6121/app/visualize#/
[00:11:09]                 │ debg TestSubjects.find(kibanaChrome)
[00:11:09]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:10]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:22:39Z
[00:11:10]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:11:10]                 │
[00:11:10]                 │      "
[00:11:10]                 │ debg ... sleep(501) start
[00:11:10]                 │ debg ... sleep(501) end
[00:11:10]                 │ debg in navigateTo url = http://localhost:6121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:10]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:11]                 │ debg ... sleep(501) start
[00:11:11]                 │ debg ... sleep(501) end
[00:11:11]                 │ debg in navigateTo url = http://localhost:6121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:11]                 │ debg TestSubjects.exists(statusPageContainer)
[00:11:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:14]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:14]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:11:14]                 │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:11:15]                 │ debg isGlobalLoadingIndicatorVisible
[00:11:15]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:15]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:11:15]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:11:15]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:11:15]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:11:16]                 │ debg lensPage.goToTimeRange()
[00:11:16]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:18]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:19]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:19]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:19]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:19]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:19]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:19]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:19]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:19]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:20]                 │ debg ... sleep(500) start
[00:11:20]                 │ debg ... sleep(500) end
[00:11:20]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:20]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:20]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:20]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:21]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:21]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:21]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:21]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:21]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:21]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:24]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:25]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:25]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:25]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:25]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:25]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:25]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:25]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:11:25]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:11:25]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:25]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:11:25]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:11:25]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:11:25]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:25]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:11:25]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:11:25]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:11:25]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:25]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:26]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:11:26]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:11:26]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:11:26]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:11:26]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:11:26]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:26]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:11:26]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]', '19,986')
[00:11:26]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]', value => value === expectedText)
[00:11:26]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:26]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="lnsDataTableCellValue"]') with timeout=10000
[00:11:26]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsMetric')
[00:11:26]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:11:26]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:26]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:11:26]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsMetric)
[00:11:26]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsMetric"]') with timeout=10000
[00:11:26]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsMetric"]') with timeout=10000
[00:11:26]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:11:26]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:11:26]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:26]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:11:27]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:11:27]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:11:27]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:11:27]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:11:27]                 └- ✓ pass  (19.4s) "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:11:27]               └-> should allow creation of lens visualizations
[00:11:27]                 └-> "before each" hook: global before each
[00:11:27]                 │ debg navigating to visualize url: http://localhost:6121/app/visualize#/
[00:11:27]                 │ debg navigate to: http://localhost:6121/app/visualize#/
[00:11:27]                 │ debg ... sleep(700) start
[00:11:27]                 │ debg browser[INFO] http://localhost:6121/app/visualize?_t=1594207377015#/ 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:11:27]                 │
[00:11:27]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:28]                 │ debg ... sleep(700) end
[00:11:28]                 │ debg returned from get, calling refresh
[00:11:28]                 │ debg browser[INFO] http://localhost:6121/app/visualize?_t=1594207377015#/ 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:11:28]                 │
[00:11:28]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:28]                 │ debg currentUrl = http://localhost:6121/app/visualize#/
[00:11:28]                 │          appUrl = http://localhost:6121/app/visualize#/
[00:11:28]                 │ debg TestSubjects.find(kibanaChrome)
[00:11:28]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:11:29]                 │ debg browser[INFO] http://localhost:6121/34467/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-08T11:22:58Z
[00:11:29]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:11:29]                 │
[00:11:29]                 │      "
[00:11:29]                 │ debg ... sleep(501) start
[00:11:30]                 │ debg ... sleep(501) end
[00:11:30]                 │ debg in navigateTo url = http://localhost:6121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:30]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:11:30]                 │ debg ... sleep(501) start
[00:11:31]                 │ debg ... sleep(501) end
[00:11:31]                 │ debg in navigateTo url = http://localhost:6121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:11:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:11:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:11:33]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:34]                 │ debg TestSubjects.exists(newItemButton)
[00:11:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:11:34]                 │ debg TestSubjects.click(newItemButton)
[00:11:34]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:34]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:34]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:11:34]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:11:34]                 │ debg TestSubjects.click(visType-lens)
[00:11:34]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:11:34]                 │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:11:34]                 │ debg isGlobalLoadingIndicatorVisible
[00:11:34]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:34]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:34]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:34]                 │ debg lensPage.goToTimeRange()
[00:11:34]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:11:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:11:37]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:11:37]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:11:37]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:37]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:37]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:11:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:11:37]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:37]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:38]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:38]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:11:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:38]                 │ debg ... sleep(500) start
[00:11:39]                 │ debg ... sleep(500) end
[00:11:39]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:39]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:39]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:39]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:11:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:40]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:43]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:43]                 │ debg TestSubjects.click(querySubmitButton)
[00:11:43]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:43]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:43]                 │ debg Find.waitForElementStale with timeout=10000
[00:11:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:44]                 │ debg lensPage.configureDimension([object Object])
[00:11:44]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:11:44]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-date_histogram"],
[00:11:44]                 │                [data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-date_histogram"],
[00:11:44]                 │                [data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:11:44]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:11:44]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:11:44]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:47]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:47]                 │ debg comboBox.setElement, value: @timestamp
[00:11:47]                 │ debg comboBox.isOptionSelected, value: @timestamp
[00:11:49]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:49]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:11:50]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:52]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:53]                 │ debg lensPage.configureDimension([object Object])
[00:11:53]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:11:53]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:11:53]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-avg"],
[00:11:53]                 │                [data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:11:53]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-avg"],
[00:11:53]                 │                [data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:11:53]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:11:53]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:11:53]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:55]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:56]                 │ warn WebElementWrapper.find: stale element reference: element is not attached to the page document
[00:11:56]                 │        (Session info: headless chrome=83.0.4103.116)
[00:11:56]                 │ debg finding element 'By(css selector, [data-test-subj="indexPattern-dimension-field"])' again, 2 attempts left
[00:11:56]                 │ debg comboBox.setElement, value: bytes
[00:11:56]                 │ debg comboBox.isOptionSelected, value: bytes
[00:11:59]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:59]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:11:59]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:02]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:02]                 │ debg lensPage.configureDimension([object Object])
[00:12:02]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:02]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:02]                 │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-terms"],
[00:12:02]                 │                [data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:12:02]                 │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimensionIncompatible-terms"],
[00:12:02]                 │                [data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:12:02]                 │ debg TestSubjects.find(indexPattern-dimension-field)
[00:12:02]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:12:02]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:05]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:05]                 │ warn WebElementWrapper.find: stale element reference: element is not attached to the page document
[00:12:05]                 │        (Session info: headless chrome=83.0.4103.116)
[00:12:05]                 │ debg finding element 'By(css selector, [data-test-subj="indexPattern-dimension-field"])' again, 2 attempts left
[00:12:06]                 │ debg comboBox.setElement, value: @message.raw
[00:12:06]                 │ debg comboBox.isOptionSelected, value: @message.raw
[00:12:08]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:08]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@message.raw"]') with timeout=2500
[00:12:08]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:11]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:12:11]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:12:11]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:12:11]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:11]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:12]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:12:12]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:12:12]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:12:12]                 │ debg lensPage.removeDimension('lnsDatatable_column')
[00:12:12]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimensionPopover-remove"]') with timeout=10000
[00:12:12]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDatatable_column"] [data-test-subj="indexPattern-dimensionPopover-remove"]') with timeout=10000
[00:12:12]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_bar_stacked')
[00:12:12]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:12:12]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:12]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:12:12]                 │ debg TestSubjects.click(lnsChartSwitchPopover_bar_stacked)
[00:12:12]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:12:12]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_bar_stacked"]') with timeout=10000
[00:12:12]                 │ debg lensPage.configureDimension([object Object])
[00:12:12]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:12]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:12:22]                 │      Wait timed out after 10014ms
[00:12:23]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:33]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:12:33]                 │      Wait timed out after 10047ms
[00:12:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:43]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:12:43]                 │      Wait timed out after 10022ms
[00:12:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:12:54]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:12:54]                 │      Wait timed out after 10029ms
[00:12:54]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:04]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:04]                 │      Wait timed out after 10006ms
[00:13:05]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:15]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:15]                 │      Wait timed out after 10004ms
[00:13:15]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:25]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:25]                 │      Wait timed out after 10024ms
[00:13:26]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:36]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:36]                 │      Wait timed out after 10005ms
[00:13:36]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:46]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:46]                 │      Wait timed out after 10051ms
[00:13:47]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:13:57]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:13:57]                 │      Wait timed out after 10044ms
[00:13:57]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:07]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:07]                 │      Wait timed out after 10032ms
[00:14:08]                 │ debg Find.findByCssSelector('[data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:14:18]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:14:18]                 │      Wait timed out after 10010ms
[00:14:19]                 │ info Taking screenshot "/dev/shm/workspace/parallel/2/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow creation of lens visualizations.png"
[00:14:19]                 │ info Current URL is: http://localhost:6121/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:14:19]                 │ info Saving page source to: /dev/shm/workspace/parallel/2/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow creation of lens visualizations.html
[00:14:19]                 └- ✖ fail: "lens app  lens smokescreen tests should allow creation of lens visualizations"
[00:14:19]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"])
Wait timed out after 10010ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

History

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

@sulemanof sulemanof merged commit 1c91b1c into elastic:master Jul 8, 2020
@sulemanof sulemanof deleted the test/visualize branch July 8, 2020 12:06
sulemanof added a commit that referenced this pull request Jul 8, 2020
* Reactify visualize app

* Fix typescript failures after merging master

* Make sure refresh button works

* Subscribe filter manager fetches

* Use redirect to landing page

* Update savedSearch type

* Add check for TSVB is loaded

* Add unit tests for useSavedVisInstance effect

* Fix comments

* Fix uiState persistence on vis load

* Remove extra div around TableListView

* Update DTS selectors

* Add error handling for embeddable

* Add unit tests for createVisualizeAppState

* Add unit tests for useChromeVisibility

* Add filter_manager.mock

* Add unit tests for useVisualizeAppState

* Use app state stub

* Add unit tests for useLinkedSearchUpdates

* Add unit tests for useEditorUpdates

* Remove extra argument from useEditorUpdates effect

* Update comments, fix typos

* Remove extra div wrapper

* Apply design suggestions

* Revert accidental config changes

* Add unit tests for useEditorUpdates

* Use visualize services mock

* Add unit tests for getVisualizationInstance

* Fix eslint warnings

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/public/query/mocks.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Unit Testing release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants