Skip to content

[7.7] Fix disabled switches in the editor - #62911

Merged
sulemanof merged 2 commits into
elastic:7.7from
sulemanof:fix/disabled_switches
Apr 10, 2020
Merged

sulemanof merged 2 commits into
elastic:7.7from
sulemanof:fix/disabled_switches

Conversation

@sulemanof

Copy link
Copy Markdown
Contributor

Summary

This fixes disabling switch buttons in the editor.
The root cause is props has a disabled param, so it overlaps the defined disabled.
Appropriate fix for master/7.x is included in #62475

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@sulemanof
sulemanof requested a review from flash1293 April 8, 2020 09:36
@sulemanof sulemanof added release_note:fix v7.7.0 Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// labels Apr 8, 2020
@elasticmachine

Copy link
Copy Markdown
Contributor

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

@sulemanof
sulemanof marked this pull request as ready for review April 8, 2020 09:37
@flash1293

Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream.

@flash1293 flash1293 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested in Chrome and the switches are disabled in the expected scenarios, LGTM. Unsure about the !(isType('number')(props.agg) || isType('date')(props.agg)) case for extended bounds - isn't this just a histogram thing?

@@ -44,7 +45,6 @@ function HasExtendedBoundsParamEditor(props: AggParamEditorProps<boolean>) {
!props.agg.params.min_doc_count ||
!(isType('number')(props.agg) || isType('date')(props.agg))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How can I test this case?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was just a leftover from legacy (take a look at diff L175 - L185) :
https://github.com/elastic/kibana/pull/34790/files#diff-88777ed0ae47452a0e9d817898c51d51
but yeah, I think this is extra since the field can't be anything than only number type.

@flash1293

Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@kibanamachine

Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests click on the bar in XYChart adds proper filters/timerange

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:18:36]         └-: lens app
[00:18:36]           └-> "before all" hook
[00:18:36]           └-> "before all" hook
[00:18:36]             │ debg Starting lens before method
[00:18:36]             │ info [logstash_functional] Loading "mappings.json"
[00:18:36]             │ info [logstash_functional] Loading "data.json.gz"
[00:18:36]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:18:36]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:18:36]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:18:37]             │ info [lens/basic] Loading "mappings.json"
[00:18:37]             │ info [lens/basic] Loading "data.json.gz"
[00:18:37]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2/NrdhniPWSm2f77PMjzr5VA] deleting index
[00:18:37]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_1/1f1nqgzETmS8qAY58sYCBw] deleting index
[00:18:37]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:18:37]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:18:37]             │ info [lens/basic] Created index ".kibana_1"
[00:18:37]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:18:37]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:18:37]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_1/EC5-6W0kQwqiE9ad_jm5HQ] update_mapping [_doc]
[00:18:37]             │ debg Migrating saved objects
[00:18:38]             │ proc [kibana]   log   [14:24:13.131] [info][savedobjects-service] Creating index .kibana_2.
[00:18:38]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:18:38]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] updating number_of_replicas to [0] for indices [.kibana_2]
[00:18:38]             │ proc [kibana]   log   [14:24:13.210] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:18:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2/e_jvbsvkTUGtx2aHgqS1Ag] update_mapping [_doc]
[00:18:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2/e_jvbsvkTUGtx2aHgqS1Ag] update_mapping [_doc]
[00:18:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2/e_jvbsvkTUGtx2aHgqS1Ag] update_mapping [_doc]
[00:18:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2/e_jvbsvkTUGtx2aHgqS1Ag] update_mapping [_doc]
[00:18:39]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1586438932047667832] [.kibana_2/e_jvbsvkTUGtx2aHgqS1Ag] update_mapping [_doc]
[00:18:39]             │ proc [kibana]   log   [14:24:13.476] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:18:39]             │ proc [kibana]   log   [14:24:13.522] [info][savedobjects-service] Finished in 392ms.
[00:18:39]           └-: 
[00:18:39]             └-> "before all" hook
[00:18:39]             └-: lens smokescreen tests
[00:18:39]               └-> "before all" hook
[00:18:39]               └-> should allow editing saved visualizations
[00:18:39]                 └-> "before each" hook: global before each
[00:18:39]                 │ debg navigating to visualize url: http://localhost:6141/app/kibana#/visualize
[00:18:39]                 │ debg navigate to: http://localhost:6141/app/kibana#/visualize
[00:18:39]                 │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1586442253537#/visualize 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:18:39]                 │
[00:18:39]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:39]                 │ debg ... sleep(700) start
[00:18:39]                 │ debg ... sleep(700) end
[00:18:39]                 │ debg returned from get, calling refresh
[00:18:40]                 │ debg browser[INFO] http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1586442253537#/visualize 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:18:40]                 │
[00:18:40]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:40]                 │ debg currentUrl = http://localhost:6141/login?next=%2Fapp%2Fkibana%3F_t%3D1586442253537#/visualize
[00:18:40]                 │          appUrl = http://localhost:6141/app/kibana#/visualize
[00:18:40]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:40]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:42]                 │ debg Found login page
[00:18:42]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:18:42]                 │ debg TestSubjects.click(loginUsername)
[00:18:42]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:18:42]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:18:42]                 │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-09T14:24:16Z
[00:18:42]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:18:42]                 │
[00:18:42]                 │      "
[00:18:42]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:18:42]                 │ debg TestSubjects.click(loginPassword)
[00:18:42]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:18:42]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:18:42]                 │ debg TestSubjects.click(loginSubmit)
[00:18:42]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:18:42]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:18:42]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:18:45]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586442253537#/visualize 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:18:45]                 │
[00:18:45]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:45]                 │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-09T14:24:19Z
[00:18:45]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:18:45]                 │
[00:18:45]                 │      "
[00:18:45]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586442259892#/visualize 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:18:45]                 │
[00:18:45]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:45]                 │ debg Finished login process currentUrl = http://localhost:6141/app/kibana#/visualize
[00:18:45]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:45]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:18:48]                 │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-09T14:24:22Z
[00:18:48]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:18:48]                 │
[00:18:48]                 │      "
[00:18:48]                 │ debg ... sleep(501) start
[00:18:48]                 │ debg ... sleep(501) end
[00:18:49]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/visualize?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:49]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:18:49]                 │ debg ... sleep(501) start
[00:18:50]                 │ debg ... sleep(501) end
[00:18:50]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/visualize?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:50]                 │ debg TestSubjects.exists(statusPageContainer)
[00:18:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:18:52]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:18:53]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:18:53]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:18:53]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:18:53]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:18:53]                 │ debg lensPage.goToTimeRange()
[00:18:53]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:18:53]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:18:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:18:53]                 │ debg browser[INFO] http://localhost:6141/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 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:18:53]                 │
[00:18:53]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:56]                 │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-09T14:24:29Z
[00:18:56]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:18:56]                 │
[00:18:56]                 │      "
[00:18:56]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:56]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:18:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:56]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:56]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:56]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:57]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:18:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:57]                 │ debg ... sleep(500) start
[00:18:58]                 │ debg ... sleep(500) end
[00:18:58]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:58]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:58]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:58]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:58]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:59]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:18:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:59]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:19:02]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:19:02]                 │ debg TestSubjects.click(querySubmitButton)
[00:19:02]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:02]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:02]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:03]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:03]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:03]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:19:03]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:19:03]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:03]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:19:03]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:19:03]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:19:03]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:03]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:19:03]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:19:03]                 └- ✓ pass  (24.6s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:19:03]               └-> metric should be embeddable in dashboards
[00:19:03]                 └-> "before each" hook: global before each
[00:19:03]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:19:03]                 │ debg navigate to: http://localhost:6141/app/kibana#/dashboards
[00:19:03]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586442278152#/dashboards 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:19:03]                 │
[00:19:03]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:03]                 │ debg ... sleep(700) start
[00:19:04]                 │ debg ... sleep(700) end
[00:19:04]                 │ debg returned from get, calling refresh
[00:19:05]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586442278152#/dashboards 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:19:05]                 │
[00:19:05]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:05]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:19:05]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:19:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:19:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:19:07]                 │ debg TestSubjects.find(kibanaChrome)
[00:19:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:19:07]                 │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-09T14:24:41Z
[00:19:07]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:19:07]                 │
[00:19:07]                 │      "
[00:19:07]                 │ debg ... sleep(501) start
[00:19:08]                 │ debg ... sleep(501) end
[00:19:08]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:19:08]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:19:08]                 │ debg ... sleep(501) start
[00:19:09]                 │ debg ... sleep(501) end
[00:19:09]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:19:09]                 │ debg TestSubjects.exists(statusPageContainer)
[00:19:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:19:11]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:19:12]                 │ debg TestSubjects.exists(newItemButton)
[00:19:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:19:14]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:19:15]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:19:15]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:19:15]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:19:15]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:19:15]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:19:15]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:15]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:16]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:19:16]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:19:16]                 │ debg --- retry.tryForTime error: Button not found
[00:19:17]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:17]                 │ debg Closing flyout dashboardAddPanel
[00:19:17]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:19:17]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:19:18]                 │ debg Waiting up to 20000ms for flyout closed...
[00:19:18]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:19]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:19:19]                 │ debg lensPage.goToTimeRange()
[00:19:19]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:19:19]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:19]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:19]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:19:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:19]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:19]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:19:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:19]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:20]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:20]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:20]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:20]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:19:20]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:20]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:20]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:20]                 │ debg ... sleep(500) start
[00:19:21]                 │ debg ... sleep(500) end
[00:19:21]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:19:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:21]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:21]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:21]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:21]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:21]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:19:21]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:21]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:21]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:22]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:19:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:19:24]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:19:25]                 │ debg TestSubjects.click(querySubmitButton)
[00:19:25]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:25]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:25]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:26]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:19:26]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:19:26]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:26]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:19:26]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:19:26]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:19:26]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:26]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:19:26]                 └- ✓ pass  (22.4s) "lens app  lens smokescreen tests metric should be embeddable in dashboards"
[00:19:26]               └-> click on the bar in XYChart adds proper filters/timerange
[00:19:26]                 └-> "before each" hook: global before each
[00:19:26]                 │ debg navigating to dashboard url: http://localhost:6141/app/kibana#/dashboards
[00:19:26]                 │ debg navigate to: http://localhost:6141/app/kibana#/dashboards
[00:19:26]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586442300507#/dashboards 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:19:26]                 │
[00:19:26]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:26]                 │ debg ... sleep(700) start
[00:19:26]                 │ debg ... sleep(700) end
[00:19:26]                 │ debg returned from get, calling refresh
[00:19:27]                 │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1586442300507#/dashboards 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:19:27]                 │
[00:19:27]                 │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:27]                 │ debg currentUrl = http://localhost:6141/app/kibana#/dashboards
[00:19:27]                 │          appUrl = http://localhost:6141/app/kibana#/dashboards
[00:19:27]                 │ debg TestSubjects.find(kibanaChrome)
[00:19:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:19:30]                 │ debg TestSubjects.find(kibanaChrome)
[00:19:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:19:30]                 │ debg browser[INFO] http://localhost:6141/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-09T14:25:03Z
[00:19:30]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:19:30]                 │
[00:19:30]                 │      "
[00:19:30]                 │ debg ... sleep(501) start
[00:19:30]                 │ debg ... sleep(501) end
[00:19:30]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:19:30]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:19:31]                 │ debg ... sleep(501) start
[00:19:31]                 │ debg ... sleep(501) end
[00:19:31]                 │ debg in navigateTo url = http://localhost:6141/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:19:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:19:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:19:34]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:19:34]                 │ debg TestSubjects.exists(newItemButton)
[00:19:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:19:37]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:19:37]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:19:37]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:19:37]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:19:38]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:19:38]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:19:38]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:38]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:38]                 │ debg Find.clickByButtonText('lnsXYvis') with timeout=10000
[00:19:38]                 │ debg Find.byButtonText('lnsXYvis') with timeout=10000
[00:19:39]                 │ debg --- retry.tryForTime error: Button not found
[00:19:40]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:40]                 │ debg Closing flyout dashboardAddPanel
[00:19:40]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:19:40]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:19:40]                 │ debg Waiting up to 20000ms for flyout closed...
[00:19:40]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:41]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:19:41]                 │ debg lensPage.goToTimeRange()
[00:19:41]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:19:41]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:42]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:42]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:19:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:42]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:42]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:19:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:42]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:42]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:42]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:19:42]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:42]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:43]                 │ debg ... sleep(500) start
[00:19:43]                 │ debg ... sleep(500) end
[00:19:43]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:19:43]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:43]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:44]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:44]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:44]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:44]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:19:44]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:45]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:19:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:19:47]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:19:48]                 │ debg TestSubjects.click(querySubmitButton)
[00:19:48]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:48]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:48]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:48]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:48]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:48]                 │ debg Find.findByCssSelector('.echChart canvas:last-of-type') with timeout=10000
[00:19:48]                 │ debg TestSubjects.click(applyFiltersPopoverButton)
[00:19:48]                 │ debg Find.clickByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:19:48]                 │ debg Find.findByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:19:49]                 │ debg lensPage.assertExactText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', 'lnsXYvis')
[00:19:49]                 │ debg lensPage.assertExpectedText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', value => value === expectedText)
[00:19:49]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:49]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-lnsXYvis"]') with timeout=10000
[00:19:49]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:49]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:51]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:19:52]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:52]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:19:52]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:19:52]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:52]                 │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:19:52]                 │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:19:52]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:52]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests click on the bar in XYChart adds proper filters_timerange.png"
[00:19:52]                 │ info Current URL is: http://localhost:6141/app/kibana#/dashboard?_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:f48d9042-8657-4472-a82d-d644dbafe491,w:24,x:0,y:0),id:%2776fc4200-cf44-11e9-b933-fd84270f3ac2%27,panelIndex:f48d9042-8657-4472-a82d-d644dbafe491,type:lens,version:%277.7.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)&_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:19:52]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests click on the bar in XYChart adds proper filters_timerange.html
[00:19:52]                 └- ✖ fail: "lens app  lens smokescreen tests click on the bar in XYChart adds proper filters/timerange"
[00:19:52]                 │

Stack Trace

Error: expected 'Sep 19, 2015 @ 06:31:44.000' to equal 'Sep 21, 2015 @ 09:00:00.000'
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:227:8)
    at assertExpectedTimerange (test/functional/apps/lens/smokescreen.ts:57:27)
    at process._tickCallback (internal/process/next_tick.js:68:7)

History

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

@sulemanof
sulemanof merged commit 5753c69 into elastic:7.7 Apr 10, 2020
@sulemanof
sulemanof deleted the fix/disabled_switches branch April 10, 2020 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants