Skip to content

[7.x] [SIEM] template timeline UI (#64439)#65402

Merged
XavierM merged 3 commits intoelastic:7.xfrom
angorayc:backport/7.x/pr-64439
May 6, 2020
Merged

[7.x] [SIEM] template timeline UI (#64439)#65402
XavierM merged 3 commits intoelastic:7.xfrom
angorayc:backport/7.x/pr-64439

Conversation

@angorayc
Copy link
Copy Markdown
Contributor

@angorayc angorayc commented May 6, 2020

Backports the following commits to 7.x:

* init template timeline's tab

* add template filter

* add routes for timelines tabs

* add tabs hook

* add filter type

* fix unit test

* add breadcrumbs

* fix types error

* fix flashing table

* fix types

* fix flashing table

* fix filter

* add comments for filters

* review X

* review x

* fix create note for template timeline

* rename timelineTypes to timelineType

* update unit test

* fix types

* update filter for timeline savedObject

* fix lint error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
@angorayc angorayc added the backport This PR is a backport of another PR label May 6, 2020
@XavierM
Copy link
Copy Markdown
Contributor

XavierM commented May 6, 2020

@elasticmachine merge upstream

@XavierM
Copy link
Copy Markdown
Contributor

XavierM commented May 6, 2020

@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 in dashboard

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:18:15]         └-: lens app
[00:18:15]           └-> "before all" hook
[00:18:15]           └-> "before all" hook
[00:18:15]             │ debg Starting lens before method
[00:18:15]             │ info [logstash_functional] Loading "mappings.json"
[00:18:15]             │ info [logstash_functional] Loading "data.json.gz"
[00:18:15]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:18:15]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:18:15]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:18:17]             │ info [lens/basic] Loading "mappings.json"
[00:18:17]             │ info [lens/basic] Loading "data.json.gz"
[00:18:17]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2/4Mnf-EFBSvaWvaQj2uDvHQ] deleting index
[00:18:17]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_1/h6KJmQQ_SRKRD9ISlkYeQw] deleting index
[00:18:17]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:18:17]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] applying create index request using v1 templates []
[00:18:17]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:18:17]             │ info [lens/basic] Created index ".kibana_1"
[00:18:17]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:18:17]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:18:17]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_1/IHvHuukUT4utkdLd9lOIUw] update_mapping [_doc]
[00:18:17]             │ debg Migrating saved objects
[00:18:18]             │ proc [kibana]   log   [03:00:09.426] [info][savedobjects-service] Creating index .kibana_2.
[00:18:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] applying create index request using v1 templates []
[00:18:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:18:18]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] updating number_of_replicas to [0] for indices [.kibana_2]
[00:18:18]             │ proc [kibana]   log   [03:00:09.492] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:18:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2/CNqejvbQTbKRd_r2wqSpUg] update_mapping [_doc]
[00:18:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2/CNqejvbQTbKRd_r2wqSpUg] update_mapping [_doc]
[00:18:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2/CNqejvbQTbKRd_r2wqSpUg] update_mapping [_doc]
[00:18:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2/CNqejvbQTbKRd_r2wqSpUg] update_mapping [_doc]
[00:18:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] [.kibana_2/CNqejvbQTbKRd_r2wqSpUg] update_mapping [_doc]
[00:18:18]             │ proc [kibana]   log   [03:00:09.758] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:18:18]             │ proc [kibana]   log   [03:00:09.806] [info][savedobjects-service] Finished in 382ms.
[00:18:18]           └-: 
[00:18:18]             └-> "before all" hook
[00:18:18]             └-: lens smokescreen tests
[00:18:18]               └-> "before all" hook
[00:18:18]               └-> should allow editing saved visualizations
[00:18:18]                 └-> "before each" hook: global before each
[00:18:18]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:18:18]                 │ debg navigate to: http://localhost:6151/app/kibana#/visualize
[00:18:18]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1588734009824#/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:18]                 │
[00:18:18]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:18]                 │ debg ... sleep(700) start
[00:18:19]                 │ debg ... sleep(700) end
[00:18:19]                 │ debg returned from get, calling refresh
[00:18:21]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:00:11Z
[00:18:21]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:21]                 │
[00:18:21]                 │      "
[00:18:21]                 │ERROR browser[SEVERE] http://localhost:6151/31536/bundles/core/core.entry.js 32:89553 TypeError: Failed to fetch
[00:18:21]                 │          at Fetch._callee3$ (http://localhost:6151/31536/bundles/core/core.entry.js:33:131511)
[00:18:21]                 │          at l (http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969119)
[00:18:21]                 │          at Generator._invoke (http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:968872)
[00:18:21]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969476)
[00:18:21]                 │          at asyncGeneratorStep (http://localhost:6151/31536/bundles/core/core.entry.js:33:126008)
[00:18:21]                 │          at _throw (http://localhost:6151/31536/bundles/core/core.entry.js:33:126405)
[00:18:21]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1588734009824#/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:21]                 │
[00:18:21]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:21]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1588734009824#/visualize
[00:18:21]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:18:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:22]                 │ debg Found login page
[00:18:22]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:18:22]                 │ debg TestSubjects.click(loginUsername)
[00:18:22]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:18:22]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:18:22]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:00:13Z
[00:18:22]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:22]                 │
[00:18:22]                 │      "
[00:18:22]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:18:22]                 │ debg TestSubjects.click(loginPassword)
[00:18:22]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:18:22]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:18:22]                 │ debg TestSubjects.click(loginSubmit)
[00:18:22]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:18:22]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:18:22]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:18:26]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588734009824#/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:26]                 │
[00:18:26]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:26]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:00:16Z
[00:18:26]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:26]                 │
[00:18:26]                 │      "
[00:18:26]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588734017297#/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:26]                 │
[00:18:26]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:26]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:18:26]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:26]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:18:29]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:00:20Z
[00:18:29]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:29]                 │
[00:18:29]                 │      "
[00:18:29]                 │ debg ... sleep(501) start
[00:18:30]                 │ debg ... sleep(501) end
[00:18:30]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:30]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:18:31]                 │ debg ... sleep(501) start
[00:18:31]                 │ debg ... sleep(501) end
[00:18:31]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:18:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:18:34]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:18:34]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:18:34]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:18:34]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:18:34]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:18:34]                 │ debg lensPage.goToTimeRange()
[00:18:34]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:18:34]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:18:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:18:34]                 │ debg browser[INFO] http://localhost:6151/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:34]                 │
[00:18:34]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:37]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:00:28Z
[00:18:37]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:37]                 │
[00:18:37]                 │      "
[00:18:37]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:18:38]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:38]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:38]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:38]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:18:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                 │ debg ... sleep(500) start
[00:18:40]                 │ debg ... sleep(500) end
[00:18:40]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:40]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:40]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:40]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:40]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:41]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:18:41]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:41]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:41]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:41]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:44]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:44]                 │ debg TestSubjects.click(querySubmitButton)
[00:18:44]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:44]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:45]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:45]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:18:45]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:18:45]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:18:45]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:18:45]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:18:45]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:18:45]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:18:45]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:18:45]                 └- ✓ pass  (26.8s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:18:45]               └-> metric should be embeddable in dashboards
[00:18:45]                 └-> "before each" hook: global before each
[00:18:45]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:18:45]                 │ debg navigate to: http://localhost:6151/app/kibana#/dashboards
[00:18:45]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588734036635#/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:18:45]                 │
[00:18:45]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:45]                 │ debg ... sleep(700) start
[00:18:46]                 │ debg ... sleep(700) end
[00:18:46]                 │ debg returned from get, calling refresh
[00:18:47]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588734036635#/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:18:47]                 │
[00:18:47]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:47]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:18:47]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:18:47]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:49]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:49]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:18:49]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:00:40Z
[00:18:49]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:49]                 │
[00:18:49]                 │      "
[00:18:49]                 │ debg ... sleep(501) start
[00:18:50]                 │ debg ... sleep(501) end
[00:18:50]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:50]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:18:50]                 │ debg ... sleep(501) start
[00:18:51]                 │ debg ... sleep(501) end
[00:18:51]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:51]                 │ debg TestSubjects.exists(statusPageContainer)
[00:18:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:18:53]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:18:54]                 │ debg TestSubjects.exists(newItemButton)
[00:18:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:18:56]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] applying create index request using v1 templates [.kibana-event-log-7.8.0-template]
[00:18:56]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1588730725374632764] applying create index request using v1 templates [ilm-history]
[00:18:56]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:18:57]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:18:57]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:18:57]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:18:57]                 │ debg waitForRenderComplete
[00:18:57]                 │ debg in getSharedItemsCount
[00:18:57]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:18:57]                 │ debg Renderable.waitForRender for 0 elements
[00:18:57]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:19:07]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:19:08]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:19:08]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:19:08]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:08]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:08]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:19:08]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:19:09]                 │ debg --- retry.tryForTime error: Button not found
[00:19:10]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:10]                 │ debg Closing flyout dashboardAddPanel
[00:19:10]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:19:10]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:19:10]                 │ debg Waiting up to 20000ms for flyout closed...
[00:19:10]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:12]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:19:12]                 │ debg lensPage.goToTimeRange()
[00:19:12]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:19:12]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:12]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:12]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:19:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:12]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:12]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:19:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:13]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:19:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:13]                 │ debg ... sleep(500) start
[00:19:14]                 │ debg ... sleep(500) end
[00:19:14]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:19:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:14]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:14]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:14]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:14]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:14]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:14]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:15]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:19:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:15]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:19:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:19:18]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:19:18]                 │ debg TestSubjects.click(querySubmitButton)
[00:19:18]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:18]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:19]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:19]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:19]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:19]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:19:19]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:19:19]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:19]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:19:19]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:19:19]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:19:19]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:19]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:19:19]                 └- ✓ pass  (33.8s) "lens app  lens smokescreen tests metric should be embeddable in dashboards"
[00:19:19]               └-> click on the bar in XYChart adds proper filters/timerange in dashboard
[00:19:19]                 └-> "before each" hook: global before each
[00:19:19]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:19:19]                 │ debg navigate to: http://localhost:6151/app/kibana#/dashboards
[00:19:19]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588734070416#/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:19]                 │
[00:19:19]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:19]                 │ debg ... sleep(700) start
[00:19:20]                 │ debg ... sleep(700) end
[00:19:20]                 │ debg returned from get, calling refresh
[00:19:21]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1588734070416#/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:21]                 │
[00:19:21]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:21]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:19:21]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:19:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:19:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:19:23]                 │ debg TestSubjects.find(kibanaChrome)
[00:19:23]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:19:23]                 │ debg browser[INFO] http://localhost:6151/31536/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T03:01:13Z
[00:19:23]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:19:23]                 │
[00:19:23]                 │      "
[00:19:23]                 │ debg ... sleep(501) start
[00:19:24]                 │ debg ... sleep(501) end
[00:19:24]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:19:24]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:19:24]                 │ debg ... sleep(501) start
[00:19:25]                 │ debg ... sleep(501) end
[00:19:25]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:19:25]                 │ debg TestSubjects.exists(statusPageContainer)
[00:19:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:19:27]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:19:28]                 │ debg TestSubjects.exists(newItemButton)
[00:19:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:19:30]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:19:31]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:19:31]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:19:31]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:19:31]                 │ debg waitForRenderComplete
[00:19:31]                 │ debg in getSharedItemsCount
[00:19:31]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:19:31]                 │ debg Renderable.waitForRender for 0 elements
[00:19:31]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:19:41]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:19:42]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:19:42]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:19:42]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:42]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:42]                 │ debg Find.clickByButtonText('lnsXYvis') with timeout=10000
[00:19:42]                 │ debg Find.byButtonText('lnsXYvis') with timeout=10000
[00:19:43]                 │ debg --- retry.tryForTime error: Button not found
[00:19:44]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:44]                 │ debg Closing flyout dashboardAddPanel
[00:19:44]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:19:44]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:19:45]                 │ debg Waiting up to 20000ms for flyout closed...
[00:19:45]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:46]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:19:46]                 │ debg lensPage.goToTimeRange()
[00:19:46]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:19:46]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:46]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:46]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:19:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:46]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:46]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:19:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:46]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:47]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:19:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:47]                 │ debg ... sleep(500) start
[00:19:48]                 │ debg ... sleep(500) end
[00:19:48]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:19:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:48]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:48]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:49]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:19:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:49]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:19:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:19:52]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:19:52]                 │ debg TestSubjects.click(querySubmitButton)
[00:19:52]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:52]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:52]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:53]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:53]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:53]                 │ debg Find.findByCssSelector('.echChart canvas:last-of-type') with timeout=10000
[00:19:53]                 │ debg TestSubjects.click(applyFiltersPopoverButton)
[00:19:53]                 │ debg Find.clickByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:19:53]                 │ debg Find.findByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:19:53]                 │ debg lensPage.assertExactText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', 'lnsXYvis')
[00:19:53]                 │ debg lensPage.assertExpectedText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', value => value === expectedText)
[00:19:53]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:53]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-lnsXYvis"]') with timeout=10000
[00:19:53]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:53]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:56]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:19:56]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:56]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:19:56]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:19:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:56]                 │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:19:56]                 │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:19:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:56]                 │ 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 in dashboard.png"
[00:19:56]                 │ info Current URL is: http://localhost:6151/app/kibana#/dashboard?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:%27110b2222-63dc-4f5b-b1e8-befcdb7ad663%27,w:24,x:0,y:0),id:%2776fc4200-cf44-11e9-b933-fd84270f3ac2%27,panelIndex:%27110b2222-63dc-4f5b-b1e8-befcdb7ad663%27,type:lens,version:%277.8.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:19:56]                 │ 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 in dashboard.html
[00:19:56]                 └- ✖ fail: "lens app  lens smokescreen tests click on the bar in XYChart adds proper filters/timerange in dashboard"
[00:19:56]                 │

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:61: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

@XavierM XavierM merged commit bdf9842 into elastic:7.x May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants