Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expressions refactor #54342

Merged
merged 124 commits into from
Feb 11, 2020
Merged

Expressions refactor #54342

merged 124 commits into from
Feb 11, 2020

Conversation

streamich
Copy link
Contributor

@streamich streamich commented Jan 9, 2020

Summary

Closes #44196

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers


Dev Docs

...

  • context.types 👉 inputTypes
  • Objects should be registered instead of function wrappers around those objects.

@streamich streamich requested a review from a team as a code owner January 9, 2020 13:36
@streamich streamich requested a review from a team January 24, 2020 14:03
@streamich streamich requested a review from a team as a code owner January 31, 2020 15:37
@streamich streamich added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. review Team:AppArch v7.7.0 v8.0.0 labels Feb 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@elasticmachine
Copy link
Contributor

💔 Build Failed


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 should allow seamless transition to and from table view

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:23:32]         └-: lens app
[00:23:32]           └-> "before all" hook
[00:23:32]           └-> "before all" hook
[00:23:32]             │ debg Starting lens before method
[00:23:32]             │ info [logstash_functional] Loading "mappings.json"
[00:23:32]             │ info [logstash_functional] Loading "data.json.gz"
[00:23:32]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:23:32]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:23:32]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:23:33]             │ info [lens/basic] Loading "mappings.json"
[00:23:33]             │ info [lens/basic] Loading "data.json.gz"
[00:23:33]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/-SoTEo_hSFeC2u_cjL34Kw] deleting index
[00:23:33]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_1/-LLHq-SeRwG8oEQjN2-2BQ] deleting index
[00:23:33]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:23:33]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:23:33]             │ info [lens/basic] Created index ".kibana_1"
[00:23:33]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:23:33]             │ info [lens/basic] Indexed 9 docs into ".kibana_1"
[00:23:34]             │ info Creating index .kibana_2.
[00:23:34]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:23:34]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] updating number_of_replicas to [0] for indices [.kibana_2]
[00:23:34]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:23:35]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:23:35]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/vZm5ChhkRMuqeF4cyCLhXg] update_mapping [_doc]
[00:23:35]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/vZm5ChhkRMuqeF4cyCLhXg] update_mapping [_doc]
[00:23:35]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/vZm5ChhkRMuqeF4cyCLhXg] update_mapping [_doc]
[00:23:35]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/vZm5ChhkRMuqeF4cyCLhXg] update_mapping [_doc]
[00:23:35]             │ info Pointing alias .kibana to .kibana_2.
[00:23:35]             │ info Finished in 339ms.
[00:23:35]           └-: 
[00:23:35]             └-> "before all" hook
[00:23:35]             └-: lens smokescreen tests
[00:23:35]               └-> "before all" hook
[00:23:35]               └-> should allow editing saved visualizations
[00:23:35]                 └-> "before each" hook: global before each
[00:23:35]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:23:35]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:23:35]                 │ debg ... sleep(700) start
[00:23:35]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581019717282#/visualize 350 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:23:35]                 │
[00:23:35]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:36]                 │ debg ... sleep(700) end
[00:23:36]                 │ debg returned from get, calling refresh
[00:23:36]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581019717282#/visualize 350 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:23:36]                 │
[00:23:36]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:36]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581019717282#/visualize
[00:23:36]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:23:36]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:23:37]                 │ debg Found login page.  Logging in with username = elastic
[00:23:37]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:23:37]                 │ debg TestSubjects.click(loginUsername)
[00:23:37]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:23:37]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:23:37]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:08:39Z
[00:23:37]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:23:37]                 │
[00:23:37]                 │      "
[00:23:38]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:23:38]                 │ debg TestSubjects.click(loginPassword)
[00:23:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:23:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:23:38]                 │ debg TestSubjects.click(loginSubmit)
[00:23:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:23:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:23:38]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:23:42]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581019717282#/visualize 350 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:23:42]                 │
[00:23:42]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:42]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:08:43Z
[00:23:42]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:23:42]                 │
[00:23:42]                 │      "
[00:23:43]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581019724951#/visualize 350 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:23:43]                 │
[00:23:43]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:43]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:23:43]                 │ debg TestSubjects.find(kibanaChrome)
[00:23:43]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:23:46]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:08:47Z
[00:23:46]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:23:46]                 │
[00:23:46]                 │      "
[00:23:46]                 │ debg ... sleep(501) start
[00:23:47]                 │ debg ... sleep(501) end
[00:23:47]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:23:47]                 │ debg TestSubjects.exists(statusPageContainer)
[00:23:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:23:49]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:23:50]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:23:50]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:23:50]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:23:50]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:23:50]                 │ debg lensPage.goToTimeRange()
[00:23:50]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:23:50]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:23:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:23:50]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:23:50]                 │
[00:23:50]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:53]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:08:54Z
[00:23:53]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:23:53]                 │
[00:23:53]                 │      "
[00:23:53]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:23:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:23:53]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:23:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:23:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:23:54]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:23:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:23:54]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:23:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:54]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:54]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:23:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:55]                 │ debg ... sleep(500) start
[00:23:56]                 │ debg ... sleep(500) end
[00:23:56]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:23:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:56]                 │ debg Find.waitForElementStale with timeout=10000
[00:23:56]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:56]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:56]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:56]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:23:56]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:57]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:23:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:23:59]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:24:00]                 │ debg TestSubjects.click(querySubmitButton)
[00:24:00]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:00]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:00]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:01]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:24:01]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:24:01]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:24:01]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:24:01]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:01]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:24:01]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:24:01]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:24:01]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:01]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:01]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:01]                 └- ✓ pass  (26.4s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:24:01]               └-> should be embeddable in dashboards
[00:24:01]                 └-> "before each" hook: global before each
[00:24:01]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:24:01]                 │ debg Navigate to: http://localhost:6151/app/kibana#/dashboards
[00:24:01]                 │ debg ... sleep(700) start
[00:24:01]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581019743713#/dashboards 350 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:24:01]                 │
[00:24:01]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:02]                 │ debg ... sleep(700) end
[00:24:02]                 │ debg returned from get, calling refresh
[00:24:02]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581019743713#/dashboards 350 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:24:02]                 │
[00:24:02]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:02]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:24:02]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:24:02]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:24:05]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:09:06Z
[00:24:05]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:05]                 │
[00:24:05]                 │      "
[00:24:05]                 │ debg ... sleep(501) start
[00:24:06]                 │ debg ... sleep(501) end
[00:24:06]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:24:06]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:24:06]                 │ debg ... sleep(501) start
[00:24:07]                 │ debg ... sleep(501) end
[00:24:07]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:24:07]                 │ debg TestSubjects.exists(statusPageContainer)
[00:24:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:24:09]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:24:10]                 │ debg TestSubjects.exists(newItemButton)
[00:24:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:24:12]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:24:13]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:24:13]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:24:13]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:24:13]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:24:13]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:24:13]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:24:13]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:24:13]                 │ debg ... sleep(500) start
[00:24:14]                 │ debg ... sleep(500) end
[00:24:14]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:24:14]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:24:15]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:24:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:24:15]                 │ debg Closing flyout dashboardAddPanel
[00:24:15]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:24:15]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:24:15]                 │ debg Waiting up to 20000ms for flyout closed...
[00:24:15]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:24:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:24:16]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:24:17]                 │ debg lensPage.goToTimeRange()
[00:24:17]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:24:17]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:24:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:24:17]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:24:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:24:17]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:24:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:17]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:24:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:24:17]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:24:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:17]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:17]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:17]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:17]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:24:17]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:18]                 │ debg ... sleep(500) start
[00:24:18]                 │ debg ... sleep(500) end
[00:24:18]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:24:18]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:18]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:18]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:19]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:19]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:24:19]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:19]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:19]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:19]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:24:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:24:22]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:24:22]                 │ debg TestSubjects.click(querySubmitButton)
[00:24:22]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:22]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:23]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:23]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:24:23]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:24:23]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:24:23]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:24:23]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:23]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:24:23]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:24:23]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:24:23]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:23]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:23]                 └- ✓ pass  (21.7s) "lens app  lens smokescreen tests should be embeddable in dashboards"
[00:24:23]               └-> should allow seamless transition to and from table view
[00:24:23]                 └-> "before each" hook: global before each
[00:24:23]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:24:23]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:24:23]                 │ debg ... sleep(700) start
[00:24:23]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581019765443#/visualize 350 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:24:23]                 │
[00:24:23]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:24]                 │ debg ... sleep(700) end
[00:24:24]                 │ debg returned from get, calling refresh
[00:24:24]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581019765443#/visualize 350 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:24:24]                 │
[00:24:24]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:24]                 │ debg currentUrl = http://localhost:6151/app/kibana#/visualize
[00:24:24]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:24:24]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:27]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:24:27]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:09:28Z
[00:24:27]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:27]                 │
[00:24:27]                 │      "
[00:24:27]                 │ debg ... sleep(501) start
[00:24:28]                 │ debg ... sleep(501) end
[00:24:28]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:24:28]                 │ debg TestSubjects.exists(statusPageContainer)
[00:24:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:24:30]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:24:31]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:24:31]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:24:31]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:24:31]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:24:31]                 │ debg lensPage.goToTimeRange()
[00:24:31]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:24:31]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:24:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:24:31]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:24:31]                 │
[00:24:31]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:34]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:09:35Z
[00:24:34]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:34]                 │
[00:24:34]                 │      "
[00:24:34]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:24:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:24:34]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:24:34]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:34]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:35]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:24:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:24:35]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:24:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:35]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:35]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:24:35]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:36]                 │ debg ... sleep(500) start
[00:24:37]                 │ debg ... sleep(500) end
[00:24:37]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:24:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:37]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:37]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:37]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:24:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:38]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:24:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:24:40]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:24:41]                 │ debg TestSubjects.click(querySubmitButton)
[00:24:41]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:41]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:41]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:41]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:24:41]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:24:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:24:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:24:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:24:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:24:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:24:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:42]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:24:42]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:24:42]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:24:42]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:24:42]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:24:42]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:24:42]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:24:42]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:42]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:24:52]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
[00:24:52]                 │      Wait timed out after 10026ms
[00:24:52]                 │ERROR browser[SEVERE] http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 399:77070 TypeError: Cannot read property 'columns' of undefined
[00:24:52]                 │          at DatatableComponent (http://localhost:6151/bundles/commons.bundle.js:3:3880124)
[00:24:52]                 │          at ca (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:59331)
[00:24:52]                 │          at Cl (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:104419)
[00:24:52]                 │          at hs (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:90017)
[00:24:52]                 │          at ms (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:89942)
[00:24:52]                 │          at is (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:87290)
[00:24:52]                 │          at http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45732
[00:24:52]                 │          at t.unstable_runWithPriority (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:408:3462)
[00:24:52]                 │          at Ur (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45441)
[00:24:52]                 │          at Xr (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45677)
[00:24:53]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow seamless transition to and from table view.png"
[00:24:53]                 │ info Current URL is: http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1
[00:24:53]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow seamless transition to and from table view.html
[00:24:53]                 └- ✖ fail: "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:24:53]                 │

Stack Trace

Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
Wait timed out after 10026ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow seamless transition to and from table view

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:25:59]         └-: lens app
[00:25:59]           └-> "before all" hook
[00:25:59]           └-> "before all" hook
[00:25:59]             │ debg Starting lens before method
[00:25:59]             │ info [logstash_functional] Loading "mappings.json"
[00:25:59]             │ info [logstash_functional] Loading "data.json.gz"
[00:25:59]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:25:59]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:25:59]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:26:02]             │ info [lens/basic] Loading "mappings.json"
[00:26:02]             │ info [lens/basic] Loading "data.json.gz"
[00:26:02]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/bAqPOosIQw2JcJSUgcWKxQ] deleting index
[00:26:02]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_1/kdu62LDYSoCANQ8NRlFROA] deleting index
[00:26:02]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:26:02]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:26:02]             │ info [lens/basic] Created index ".kibana_1"
[00:26:02]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:26:02]             │ info [lens/basic] Indexed 9 docs into ".kibana_1"
[00:26:05]             │ info Creating index .kibana_2.
[00:26:05]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:26:05]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] updating number_of_replicas to [0] for indices [.kibana_2]
[00:26:05]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:26:05]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:26:05]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/s36zgOa7S0mcxiYBEdcMqg] update_mapping [_doc]
[00:26:05]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/s36zgOa7S0mcxiYBEdcMqg] update_mapping [_doc]
[00:26:05]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/s36zgOa7S0mcxiYBEdcMqg] update_mapping [_doc]
[00:26:05]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581014620223644362] [.kibana_2/s36zgOa7S0mcxiYBEdcMqg] update_mapping [_doc]
[00:26:05]             │ info Pointing alias .kibana to .kibana_2.
[00:26:05]             │ info Finished in 470ms.
[00:26:05]           └-: 
[00:26:05]             └-> "before all" hook
[00:26:05]             └-: lens smokescreen tests
[00:26:05]               └-> "before all" hook
[00:26:05]               └-> should allow editing saved visualizations
[00:26:05]                 └-> "before each" hook: global before each
[00:26:05]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:26:05]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:26:05]                 │ debg ... sleep(700) start
[00:26:05]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581018015612#/visualize 350 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:26:05]                 │
[00:26:05]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:06]                 │ debg ... sleep(700) end
[00:26:06]                 │ debg returned from get, calling refresh
[00:26:06]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581018015612#/visualize 350 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:26:06]                 │
[00:26:06]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:06]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581018015612#/visualize
[00:26:06]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:26:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:26:09]                 │ debg Found login page.  Logging in with username = elastic
[00:26:09]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:26:09]                 │ debg TestSubjects.click(loginUsername)
[00:26:09]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:26:09]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:26:09]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:40:19Z
[00:26:09]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:26:09]                 │
[00:26:09]                 │      "
[00:26:10]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:26:10]                 │ debg TestSubjects.click(loginPassword)
[00:26:10]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:26:10]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:26:10]                 │ debg TestSubjects.click(loginSubmit)
[00:26:10]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:26:10]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:26:10]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:26:18]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581018015612#/visualize 350 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:26:18]                 │
[00:26:18]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:18]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:40:25Z
[00:26:18]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:26:18]                 │
[00:26:18]                 │      "
[00:26:19]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581018028652#/visualize 350 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:26:19]                 │
[00:26:19]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:19]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:26:19]                 │ debg TestSubjects.find(kibanaChrome)
[00:26:19]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:26:25]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:40:33Z
[00:26:25]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:26:25]                 │
[00:26:25]                 │      "
[00:26:25]                 │ debg ... sleep(501) start
[00:26:26]                 │ debg ... sleep(501) end
[00:26:26]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:26:26]                 │ debg TestSubjects.exists(statusPageContainer)
[00:26:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:26:29]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:26:29]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:26:29]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:26:29]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:26:29]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:26:29]                 │ debg lensPage.goToTimeRange()
[00:26:29]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:26:29]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:26:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:26:29]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:26:29]                 │
[00:26:29]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:32]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:26:35]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:40:43Z
[00:26:35]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:26:35]                 │
[00:26:35]                 │      "
[00:26:36]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:26:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:26:36]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:26:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:26:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:26:36]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:26:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:26:36]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:26:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:26:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:26:36]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:26:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:26:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:26:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:26:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:26:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:37]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:26:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:26:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:38]                 │ debg ... sleep(500) start
[00:26:39]                 │ debg ... sleep(500) end
[00:26:39]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:26:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:26:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:26:39]                 │ debg Find.waitForElementStale with timeout=10000
[00:26:39]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:26:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:26:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:26:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:26:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:26:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:39]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:26:39]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:26:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:26:40]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:26:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:26:43]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:26:43]                 │ debg TestSubjects.click(querySubmitButton)
[00:26:43]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:26:43]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:26:44]                 │ debg Find.waitForElementStale with timeout=10000
[00:26:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:26:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:26:44]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:26:44]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:26:44]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:26:44]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:26:44]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:26:44]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:26:44]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:26:44]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:26:45]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:26:45]                 └- ✓ pass  (39.7s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:26:45]               └-> should be embeddable in dashboards
[00:26:45]                 └-> "before each" hook: global before each
[00:26:45]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:26:45]                 │ debg Navigate to: http://localhost:6151/app/kibana#/dashboards
[00:26:45]                 │ debg ... sleep(700) start
[00:26:45]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581018055288#/dashboards 350 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:26:45]                 │
[00:26:45]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:46]                 │ debg ... sleep(700) end
[00:26:46]                 │ debg returned from get, calling refresh
[00:26:46]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581018055288#/dashboards 350 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:26:46]                 │
[00:26:46]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:26:46]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:26:46]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:26:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:26:50]                 │ debg TestSubjects.find(kibanaChrome)
[00:26:50]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:26:50]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:40:59Z
[00:26:50]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:26:50]                 │
[00:26:50]                 │      "
[00:26:50]                 │ debg ... sleep(501) start
[00:26:51]                 │ debg ... sleep(501) end
[00:26: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:26:51]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:26:52]                 │ debg ... sleep(501) start
[00:26:52]                 │ debg ... sleep(501) end
[00:26:52]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:26:52]                 │ debg TestSubjects.exists(statusPageContainer)
[00:26:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:26:55]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:26:55]                 │ debg TestSubjects.exists(newItemButton)
[00:26:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:26:58]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:26:58]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:26:58]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:26:58]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:26:58]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:26:58]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:26:58]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:26:58]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:26:59]                 │ debg ... sleep(500) start
[00:27:00]                 │ debg ... sleep(500) end
[00:27:00]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:27:00]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:27:01]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:27:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:27:01]                 │ debg Closing flyout dashboardAddPanel
[00:27:01]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:27:01]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:27:01]                 │ debg Waiting up to 20000ms for flyout closed...
[00:27:01]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:27:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:27:02]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:27:02]                 │ debg lensPage.goToTimeRange()
[00:27:02]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:27:02]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:27:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:27:02]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:27:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:27:02]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:27:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:27:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:27:03]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:27:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:27:03]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:27:03]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:27:03]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:27:03]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:27:03]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:27:03]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:03]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:03]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:03]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:03]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:03]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:27:03]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:03]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:03]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:04]                 │ debg ... sleep(500) start
[00:27:05]                 │ debg ... sleep(500) end
[00:27:05]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:27:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:27:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:27:05]                 │ debg Find.waitForElementStale with timeout=10000
[00:27:05]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:27:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:27:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:05]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:27:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:06]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:27:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:27:09]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:27:09]                 │ debg TestSubjects.click(querySubmitButton)
[00:27:09]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:27:09]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:27:10]                 │ debg Find.waitForElementStale with timeout=10000
[00:27:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:27:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:27:10]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:27:10]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:27:10]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:27:10]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:27:10]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:27:10]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:27:10]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:27:10]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:27:10]                 └- ✓ pass  (25.1s) "lens app  lens smokescreen tests should be embeddable in dashboards"
[00:27:10]               └-> should allow seamless transition to and from table view
[00:27:10]                 └-> "before each" hook: global before each
[00:27:10]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:27:10]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:27:10]                 │ debg ... sleep(700) start
[00:27:10]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581018080370#/visualize 350 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:27:10]                 │
[00:27:10]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:11]                 │ debg ... sleep(700) end
[00:27:11]                 │ debg returned from get, calling refresh
[00:27:11]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581018080370#/visualize 350 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:27:11]                 │
[00:27:11]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:11]                 │ debg currentUrl = http://localhost:6151/app/kibana#/visualize
[00:27:11]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:27:11]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:27:15]                 │ debg TestSubjects.find(kibanaChrome)
[00:27:15]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:27:15]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:41:24Z
[00:27:15]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:15]                 │
[00:27:15]                 │      "
[00:27:15]                 │ debg ... sleep(501) start
[00:27:16]                 │ debg ... sleep(501) end
[00:27:16]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:27:16]                 │ debg TestSubjects.exists(statusPageContainer)
[00:27:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:27:18]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:27:19]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:27:19]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:27:19]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:27:19]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:27:19]                 │ debg lensPage.goToTimeRange()
[00:27:19]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:27:19]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:27:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:27:19]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:27:19]                 │
[00:27:19]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:27:22]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:27:25]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T19:41:33Z
[00:27:25]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:27:25]                 │
[00:27:25]                 │      "
[00:27:25]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:27:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:27:25]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:27:25]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:27:25]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:27:26]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:27:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:27:26]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:27:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:27:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:27:27]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:27:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:27:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:27]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:27:27]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:28]                 │ debg ... sleep(500) start
[00:27:29]                 │ debg ... sleep(500) end
[00:27:29]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:27:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:27:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:27:29]                 │ debg Find.waitForElementStale with timeout=10000
[00:27:29]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:27:29]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:27:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:27:29]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:30]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:27:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:27:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:27:30]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:27:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:27:33]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:27:33]                 │ debg TestSubjects.click(querySubmitButton)
[00:27:33]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:27:33]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:27:34]                 │ debg Find.waitForElementStale with timeout=10000
[00:27:34]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:27:34]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:27:34]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:27:34]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:27:34]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:27:34]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:27:34]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:27:34]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:27:34]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:27:34]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:27:35]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:27:35]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:27:35]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:27:35]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:27:35]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:27:35]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:27:35]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:27:35]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:27:36]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:27:36]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:27:36]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:27:36]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:27:46]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
[00:27:46]                 │      Wait timed out after 10061ms
[00:27:46]                 │ERROR browser[SEVERE] http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 399:77070 TypeError: Cannot read property 'columns' of undefined
[00:27:46]                 │          at DatatableComponent (http://localhost:6151/bundles/commons.bundle.js:3:3880124)
[00:27:46]                 │          at ca (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:59331)
[00:27:46]                 │          at Cl (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:104419)
[00:27:46]                 │          at hs (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:90017)
[00:27:46]                 │          at ms (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:89942)
[00:27:46]                 │          at is (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:87290)
[00:27:46]                 │          at http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45732
[00:27:46]                 │          at t.unstable_runWithPriority (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:408:3462)
[00:27:46]                 │          at Ur (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45441)
[00:27:46]                 │          at Xr (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45677)
[00:27:46]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow seamless transition to and from table view.png"
[00:27:46]                 │ info Current URL is: http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1
[00:27:46]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow seamless transition to and from table view.html
[00:27:46]                 └- ✖ fail: "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:27:46]                 │

Stack Trace

Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
Wait timed out after 10061ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

History

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

@elastic elastic deleted a comment from kibanamachine Feb 6, 2020
@elasticmachine
Copy link
Contributor

💔 Build Failed


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 should allow seamless transition to and from table view

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:22:10]         └-: lens app
[00:22:10]           └-> "before all" hook
[00:22:10]           └-> "before all" hook
[00:22:10]             │ debg Starting lens before method
[00:22:10]             │ info [logstash_functional] Loading "mappings.json"
[00:22:10]             │ info [logstash_functional] Loading "data.json.gz"
[00:22:10]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:22:10]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:22:10]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:22:11]             │ info [lens/basic] Loading "mappings.json"
[00:22:11]             │ info [lens/basic] Loading "data.json.gz"
[00:22:11]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/27lECx0XSP-l-tQ2gCI5mQ] deleting index
[00:22:11]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_1/m2ZJphxBRBONMbjYUaF9Kg] deleting index
[00:22:11]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:22:11]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:22:11]             │ info [lens/basic] Created index ".kibana_1"
[00:22:11]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:22:11]             │ info [lens/basic] Indexed 9 docs into ".kibana_1"
[00:22:12]             │ info Creating index .kibana_2.
[00:22:12]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:22:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] updating number_of_replicas to [0] for indices [.kibana_2]
[00:22:12]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:22:12]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:22:13]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/OvP-ZI72QIK5QShCcFPa1Q] update_mapping [_doc]
[00:22:13]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/OvP-ZI72QIK5QShCcFPa1Q] update_mapping [_doc]
[00:22:13]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/OvP-ZI72QIK5QShCcFPa1Q] update_mapping [_doc]
[00:22:13]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/OvP-ZI72QIK5QShCcFPa1Q] update_mapping [_doc]
[00:22:13]             │ info Pointing alias .kibana to .kibana_2.
[00:22:13]             │ info Finished in 466ms.
[00:22:13]           └-: 
[00:22:13]             └-> "before all" hook
[00:22:13]             └-: lens smokescreen tests
[00:22:13]               └-> "before all" hook
[00:22:13]               └-> should allow editing saved visualizations
[00:22:13]                 └-> "before each" hook: global before each
[00:22:13]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:22:13]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:22:13]                 │ debg ... sleep(700) start
[00:22:13]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022527273#/visualize 350 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:22:13]                 │
[00:22:13]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:14]                 │ debg ... sleep(700) end
[00:22:14]                 │ debg returned from get, calling refresh
[00:22:14]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022527273#/visualize
[00:22:14]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:22:14]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:22:14]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022527273#/visualize 350 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:22:14]                 │
[00:22:14]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:15]                 │ debg Found login page.  Logging in with username = elastic
[00:22:15]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:22:15]                 │ debg TestSubjects.click(loginUsername)
[00:22:15]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:22:15]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:22:15]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:55:28Z
[00:22:15]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:22:15]                 │
[00:22:15]                 │      "
[00:22:15]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:22:15]                 │ debg TestSubjects.click(loginPassword)
[00:22:15]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:22:15]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:22:15]                 │ debg TestSubjects.click(loginSubmit)
[00:22:15]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:22:15]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:22:15]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:22:19]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022527273#/visualize 350 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:22:19]                 │
[00:22:19]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:19]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:55:32Z
[00:22:19]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:22:19]                 │
[00:22:19]                 │      "
[00:22:20]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022533659#/visualize 350 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:22:20]                 │
[00:22:20]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:20]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:22:20]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:22:23]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:55:35Z
[00:22:23]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:22:23]                 │
[00:22:23]                 │      "
[00:22:23]                 │ debg ... sleep(501) start
[00:22:23]                 │ debg ... sleep(501) end
[00:22:23]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:22:23]                 │ debg TestSubjects.exists(statusPageContainer)
[00:22:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:22:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:22:26]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:22:26]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:22:26]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:22:26]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:22:26]                 │ debg lensPage.goToTimeRange()
[00:22:26]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:22:26]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:22:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:22:26]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:22:26]                 │
[00:22:26]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:29]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:55:42Z
[00:22:29]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:22:29]                 │
[00:22:29]                 │      "
[00:22:29]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:22:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:22:29]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:22:29]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:29]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:30]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:22:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:22:30]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:22:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:31]                 │ debg ... sleep(500) start
[00:22:31]                 │ debg ... sleep(500) end
[00:22:31]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:22:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:32]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:32]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:32]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:32]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:32]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:22:32]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:33]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:22:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:22:35]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:22:36]                 │ debg TestSubjects.click(querySubmitButton)
[00:22:36]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:36]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:36]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:36]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:36]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:36]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:22:36]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:22:36]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:22:36]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:22:36]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:22:36]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:22:36]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:22:36]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:22:37]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:22:37]                 └- ✓ pass  (23.9s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:22:37]               └-> should be embeddable in dashboards
[00:22:37]                 └-> "before each" hook: global before each
[00:22:37]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:22:37]                 │ debg Navigate to: http://localhost:6151/app/kibana#/dashboards
[00:22:37]                 │ debg ... sleep(700) start
[00:22:37]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022551194#/dashboards 350 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:22:37]                 │
[00:22:37]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:38]                 │ debg ... sleep(700) end
[00:22:38]                 │ debg returned from get, calling refresh
[00:22:38]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022551194#/dashboards 350 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:22:38]                 │
[00:22:38]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:38]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:22:38]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:22:38]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:22:41]                 │ debg TestSubjects.find(kibanaChrome)
[00:22:41]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:22:41]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:55:54Z
[00:22:41]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:22:41]                 │
[00:22:41]                 │      "
[00:22:41]                 │ debg ... sleep(501) start
[00:22:41]                 │ debg ... sleep(501) end
[00:22:41]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:22:41]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:22:42]                 │ debg ... sleep(501) start
[00:22:42]                 │ debg ... sleep(501) end
[00:22:42]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:22:42]                 │ debg TestSubjects.exists(statusPageContainer)
[00:22:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:22:45]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:22:45]                 │ debg TestSubjects.exists(newItemButton)
[00:22:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:22:48]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:22:48]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:22:48]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:22:48]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:22:49]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:22:49]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:22:49]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:49]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:49]                 │ debg ... sleep(500) start
[00:22:50]                 │ debg ... sleep(500) end
[00:22:50]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:22:50]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:22:50]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:51]                 │ debg Closing flyout dashboardAddPanel
[00:22:51]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:22:51]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:22:51]                 │ debg Waiting up to 20000ms for flyout closed...
[00:22:51]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:52]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:52]                 │ debg lensPage.goToTimeRange()
[00:22:52]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:22:52]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:22:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:22:52]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:22:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:22:52]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:22:52]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:52]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:52]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:22:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:22:52]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:22:52]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:52]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:52]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:52]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:52]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:52]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:53]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:53]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:22:53]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:53]                 │ debg ... sleep(500) start
[00:22:54]                 │ debg ... sleep(500) end
[00:22:54]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:22:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:54]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:54]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:54]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:22:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:55]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:22:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:22:58]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:22:58]                 │ debg TestSubjects.click(querySubmitButton)
[00:22:58]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:58]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:58]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:59]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:59]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:59]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:22:59]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:22:59]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:22:59]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:22:59]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:22:59]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:22:59]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:22:59]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:22:59]                 └- ✓ pass  (21.9s) "lens app  lens smokescreen tests should be embeddable in dashboards"
[00:22:59]               └-> should allow seamless transition to and from table view
[00:22:59]                 └-> "before each" hook: global before each
[00:22:59]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:22:59]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:22:59]                 │ debg ... sleep(700) start
[00:22:59]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022573091#/visualize 350 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:22:59]                 │
[00:22:59]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:22:59]                 │ debg ... sleep(700) end
[00:22:59]                 │ debg returned from get, calling refresh
[00:23:00]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022573091#/visualize 350 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:23:00]                 │
[00:23:00]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:00]                 │ debg currentUrl = http://localhost:6151/app/kibana#/visualize
[00:23:00]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:23:00]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:23:03]                 │ debg TestSubjects.find(kibanaChrome)
[00:23:03]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:23:03]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:56:16Z
[00:23:03]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:23:03]                 │
[00:23:03]                 │      "
[00:23:03]                 │ debg ... sleep(501) start
[00:23:04]                 │ debg ... sleep(501) end
[00:23:04]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:23:04]                 │ debg TestSubjects.exists(statusPageContainer)
[00:23:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:23:06]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:23:07]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:23:07]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:23:07]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:23:07]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:23:07]                 │ debg lensPage.goToTimeRange()
[00:23:07]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:23:07]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:23:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:23:07]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:23:07]                 │
[00:23:07]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:10]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:56:23Z
[00:23:10]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:23:10]                 │
[00:23:10]                 │      "
[00:23:10]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:23:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:23:10]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:23:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:23:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:23:10]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:23:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:23:10]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:23:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:11]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:11]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:23:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:12]                 │ debg ... sleep(500) start
[00:23:12]                 │ debg ... sleep(500) end
[00:23:12]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:23:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:12]                 │ debg Find.waitForElementStale with timeout=10000
[00:23:13]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:13]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:23:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:13]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:23:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:23:16]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:23:16]                 │ debg TestSubjects.click(querySubmitButton)
[00:23:16]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:23:16]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:23:17]                 │ debg Find.waitForElementStale with timeout=10000
[00:23:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:23:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:23:17]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:23:17]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:23:17]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:23:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:23:17]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:23:17]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:23:17]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:23:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:23:18]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:23:18]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:23:18]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:23:18]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:23:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:23:18]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:23:18]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:23:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:23:18]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:23:18]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:23:18]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:23:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:23:28]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
[00:23:28]                 │      Wait timed out after 10040ms
[00:23:28]                 │ERROR browser[SEVERE] http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 399:77070 TypeError: Cannot read property 'columns' of undefined
[00:23:28]                 │          at DatatableComponent (http://localhost:6151/bundles/commons.bundle.js:3:3880124)
[00:23:28]                 │          at ca (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:59331)
[00:23:28]                 │          at Cl (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:104419)
[00:23:28]                 │          at hs (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:90017)
[00:23:28]                 │          at ms (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:89942)
[00:23:28]                 │          at is (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:87290)
[00:23:28]                 │          at http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45732
[00:23:28]                 │          at t.unstable_runWithPriority (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:408:3462)
[00:23:28]                 │          at Ur (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45441)
[00:23:28]                 │          at Xr (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45677)
[00:23:29]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow seamless transition to and from table view.png"
[00:23:29]                 │ info Current URL is: http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1
[00:23:29]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow seamless transition to and from table view.html
[00:23:29]                 └- ✖ fail: "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:23:29]                 │

Stack Trace

Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
Wait timed out after 10040ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow seamless transition to and from table view

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:24:21]         └-: lens app
[00:24:21]           └-> "before all" hook
[00:24:21]           └-> "before all" hook
[00:24:21]             │ debg Starting lens before method
[00:24:21]             │ info [logstash_functional] Loading "mappings.json"
[00:24:21]             │ info [logstash_functional] Loading "data.json.gz"
[00:24:21]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:24:21]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:24:21]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:24:23]             │ info [lens/basic] Loading "mappings.json"
[00:24:23]             │ info [lens/basic] Loading "data.json.gz"
[00:24:23]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_1/4h3zs_qjTm-nmgAwfVz6yQ] deleting index
[00:24:23]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/LlNU7O9PTdW98Srcd4LXyg] deleting index
[00:24:23]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:24:23]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:24:23]             │ info [lens/basic] Created index ".kibana_1"
[00:24:23]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:24:23]             │ info [lens/basic] Indexed 9 docs into ".kibana_1"
[00:24:25]             │ info Creating index .kibana_2.
[00:24:25]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:24:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] updating number_of_replicas to [0] for indices [.kibana_2]
[00:24:25]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:24:25]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:24:25]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/STtNCqAtRLaEdCVPKN1-mA] update_mapping [_doc]
[00:24:25]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/STtNCqAtRLaEdCVPKN1-mA] update_mapping [_doc]
[00:24:25]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/STtNCqAtRLaEdCVPKN1-mA] update_mapping [_doc]
[00:24:25]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581017771634020493] [.kibana_2/STtNCqAtRLaEdCVPKN1-mA] update_mapping [_doc]
[00:24:25]             │ info Pointing alias .kibana to .kibana_2.
[00:24:25]             │ info Finished in 465ms.
[00:24:25]           └-: 
[00:24:25]             └-> "before all" hook
[00:24:25]             └-: lens smokescreen tests
[00:24:25]               └-> "before all" hook
[00:24:25]               └-> should allow editing saved visualizations
[00:24:25]                 └-> "before each" hook: global before each
[00:24:25]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:24:25]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:24:25]                 │ debg ... sleep(700) start
[00:24:25]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581020970500#/visualize 350 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:24:25]                 │
[00:24:25]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:26]                 │ debg ... sleep(700) end
[00:24:26]                 │ debg returned from get, calling refresh
[00:24:26]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581020970500#/visualize 350 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:24:26]                 │
[00:24:26]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:26]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581020970500#/visualize
[00:24:26]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:24:26]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:28]                 │ debg Found login page.  Logging in with username = elastic
[00:24:28]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:24:28]                 │ debg TestSubjects.click(loginUsername)
[00:24:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:24:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:24:28]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:29:33Z
[00:24:28]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:28]                 │
[00:24:28]                 │      "
[00:24:28]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:24:28]                 │ debg TestSubjects.click(loginPassword)
[00:24:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:24:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:24:28]                 │ debg TestSubjects.click(loginSubmit)
[00:24:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:24:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:24:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:24:33]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581020970500#/visualize 350 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:24:33]                 │
[00:24:33]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:33]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:29:36Z
[00:24:33]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:33]                 │
[00:24:33]                 │      "
[00:24:33]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581020978262#/visualize 350 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:24:33]                 │
[00:24:33]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:33]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:24:33]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:33]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:24:36]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:29:39Z
[00:24:36]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:36]                 │
[00:24:36]                 │      "
[00:24:36]                 │ debg ... sleep(501) start
[00:24:36]                 │ debg ... sleep(501) end
[00:24:36]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:24:36]                 │ debg TestSubjects.exists(statusPageContainer)
[00:24:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:24:39]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:24:39]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:24:39]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:24:39]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:24:39]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:24:40]                 │ debg lensPage.goToTimeRange()
[00:24:40]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:24:40]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:24:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:24:40]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:24:40]                 │
[00:24:40]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:42]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:24:44]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:29:48Z
[00:24:44]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:44]                 │
[00:24:44]                 │      "
[00:24:44]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:24:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:24:45]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:24:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:24:45]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:24:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:24:45]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:24:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:24:45]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:46]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:24:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:47]                 │ debg ... sleep(500) start
[00:24:47]                 │ debg ... sleep(500) end
[00:24:47]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:24:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:24:47]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:48]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:24:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:24:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:24:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:48]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:24:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:24:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:24:49]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:24:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:24:51]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:24:52]                 │ debg TestSubjects.click(querySubmitButton)
[00:24:52]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:52]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:24:52]                 │ debg Find.waitForElementStale with timeout=10000
[00:24:53]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:24:53]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:24:53]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:24:53]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:24:53]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:53]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:24:53]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:24:53]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:24:53]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:24:53]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:53]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:24:53]                 └- ✓ pass  (28.3s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:24:53]               └-> should be embeddable in dashboards
[00:24:53]                 └-> "before each" hook: global before each
[00:24:53]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:24:53]                 │ debg Navigate to: http://localhost:6151/app/kibana#/dashboards
[00:24:54]                 │ debg ... sleep(700) start
[00:24:54]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581020998850#/dashboards 350 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:24:54]                 │
[00:24:54]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:54]                 │ debg ... sleep(700) end
[00:24:54]                 │ debg returned from get, calling refresh
[00:24:55]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581020998850#/dashboards 350 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:24:55]                 │
[00:24:55]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:24:55]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:24:55]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:24:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:24:58]                 │ debg TestSubjects.find(kibanaChrome)
[00:24:58]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:24:58]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:30:02Z
[00:24:58]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:24:58]                 │
[00:24:58]                 │      "
[00:24:59]                 │ debg ... sleep(501) start
[00:24:59]                 │ debg ... sleep(501) end
[00:24:59]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:24:59]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:25:00]                 │ debg ... sleep(501) start
[00:25:00]                 │ debg ... sleep(501) end
[00:25:00]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:25:00]                 │ debg TestSubjects.exists(statusPageContainer)
[00:25:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:03]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:03]                 │ debg TestSubjects.exists(newItemButton)
[00:25:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:25:06]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:25:06]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:25:06]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:25:06]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:25:06]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:25:06]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:25:06]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:25:06]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:25:07]                 │ debg ... sleep(500) start
[00:25:08]                 │ debg ... sleep(500) end
[00:25:08]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:25:08]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:25:08]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:25:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:25:09]                 │ debg Closing flyout dashboardAddPanel
[00:25:09]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:25:09]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:25:09]                 │ debg Waiting up to 20000ms for flyout closed...
[00:25:09]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:25:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:25:10]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:25:10]                 │ debg lensPage.goToTimeRange()
[00:25:10]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:25:10]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:25:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:25:10]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:25:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:25:10]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:25:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:10]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:25:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:25:10]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:25:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:25:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:25:11]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:25:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:25:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:11]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:25:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:12]                 │ debg ... sleep(500) start
[00:25:12]                 │ debg ... sleep(500) end
[00:25:12]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:25:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:25:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:25:12]                 │ debg Find.waitForElementStale with timeout=10000
[00:25:13]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:25:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:25:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:13]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:25:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:14]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:25:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:25:16]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:25:17]                 │ debg TestSubjects.click(querySubmitButton)
[00:25:17]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:25:17]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:25:17]                 │ debg Find.waitForElementStale with timeout=10000
[00:25:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:25:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:25:17]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:25:17]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:25:17]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:25:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:25:17]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:25:17]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:25:17]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:25:17]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:25:17]                 └- ✓ pass  (24.1s) "lens app  lens smokescreen tests should be embeddable in dashboards"
[00:25:17]               └-> should allow seamless transition to and from table view
[00:25:17]                 └-> "before each" hook: global before each
[00:25:17]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:25:17]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:25:18]                 │ debg ... sleep(700) start
[00:25:18]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581021022961#/visualize 350 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:25:18]                 │
[00:25:18]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:18]                 │ debg ... sleep(700) end
[00:25:18]                 │ debg returned from get, calling refresh
[00:25:19]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581021022961#/visualize 350 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:25:19]                 │
[00:25:19]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:19]                 │ debg currentUrl = http://localhost:6151/app/kibana#/visualize
[00:25:19]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:25:19]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:23]                 │ debg TestSubjects.find(kibanaChrome)
[00:25:23]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:25:23]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:30:26Z
[00:25:23]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:23]                 │
[00:25:23]                 │      "
[00:25:23]                 │ debg ... sleep(501) start
[00:25:24]                 │ debg ... sleep(501) end
[00:25:24]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:25:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:25:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:27]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:25:27]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:25:27]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:25:27]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:25:27]                 │ debg lensPage.goToTimeRange()
[00:25:27]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:25:27]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:25:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:25:27]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:25:27]                 │
[00:25:27]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:30]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:25:32]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_2.bundle.dll.js 92:138197 "INFO: 2020-02-06T20:30:35Z
[00:25:32]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:32]                 │
[00:25:32]                 │      "
[00:25:32]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:25:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:25:32]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:25:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:32]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:25:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:25:32]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:25:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:25:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:25:33]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:25:33]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:25:33]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:33]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:33]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:33]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:33]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:34]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:25:34]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:34]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:34]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:35]                 │ debg ... sleep(500) start
[00:25:35]                 │ debg ... sleep(500) end
[00:25:35]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:25:35]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:25:35]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:25:36]                 │ debg Find.waitForElementStale with timeout=10000
[00:25:36]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:25:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:25:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:25:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:36]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:25:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:25:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:25:37]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:25:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:25:40]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:25:40]                 │ debg TestSubjects.click(querySubmitButton)
[00:25:40]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:25:40]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:25:41]                 │ debg Find.waitForElementStale with timeout=10000
[00:25:41]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:25:41]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:25:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:25:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:25:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:25:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:25:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:25:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:25:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:25:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:25:42]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:25:42]                 │ debg lensPage.switchToVisualization('lnsChartSwitchPopover_lnsDatatable')
[00:25:42]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:25:42]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:25:42]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:25:42]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:25:42]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:25:42]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:25:43]                 │ debg lensPage.assertExactText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', 'Maximum of bytes')
[00:25:43]                 │ debg lensPage.assertExpectedText('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text', value => value === expectedText)
[00:25:43]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:25:43]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] thead .euiTableCellContent__text') with timeout=10000
[00:25:53]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
[00:25:53]                 │      Wait timed out after 10076ms
[00:25:53]                 │ERROR browser[SEVERE] http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 399:77070 TypeError: Cannot read property 'columns' of undefined
[00:25:53]                 │          at DatatableComponent (http://localhost:6151/bundles/commons.bundle.js:3:3880124)
[00:25:53]                 │          at ca (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:59331)
[00:25:53]                 │          at Cl (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:104419)
[00:25:53]                 │          at hs (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:90017)
[00:25:53]                 │          at ms (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:89942)
[00:25:53]                 │          at is (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:87290)
[00:25:53]                 │          at http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45732
[00:25:53]                 │          at t.unstable_runWithPriority (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:408:3462)
[00:25:53]                 │          at Ur (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45441)
[00:25:53]                 │          at Xr (http://localhost:6151/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:400:45677)
[00:25:53]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow seamless transition to and from table view.png"
[00:25:53]                 │ info Current URL is: http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1
[00:25:53]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow seamless transition to and from table view.html
[00:25:53]                 └- ✖ fail: "lens app  lens smokescreen tests should allow seamless transition to and from table view"
[00:25:53]                 │

Stack Trace

Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lnsDataTable"] thead .euiTableCellContent__text)
Wait timed out after 10076ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

History

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

Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

code LGTM

Copy link
Contributor

@crob611 crob611 left a comment

Choose a reason for hiding this comment

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

Canvas changes look good, but one little issue with some of our types.

Copy link
Member

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

Overall code changes LGTM! I skimmed the Canvas & Lens updates but did a closer read on the internal Expressions plugin code.

In particular I think the naming changes ("input", "output", and "execution context"), while a bit of a pain to implement now, will make the whole system more intuitive in the long run, so thanks for doing that.

Adding a few nits to consider, but nothing urgent enough that it needs to block merging IMO.

src/plugins/expressions/index.ts Show resolved Hide resolved
src/plugins/expressions/common/ast/format.ts Show resolved Hide resolved
src/plugins/expressions/README.md Show resolved Hide resolved
src/plugins/inspector/index.ts Show resolved Hide resolved
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@streamich streamich merged commit 454d0a2 into elastic:master Feb 11, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Feb 11, 2020
* master: (27 commits)
  Include actions new platform plugin for codeowners (elastic#57252)
  [APM][docs] 7.6 documentation updates (elastic#57124)
  Expressions refactor (elastic#54342)
  [ML] New Platform server shim: update annotation routes to use new platform router  (elastic#57067)
  Remove injected ui app vars from Canvas (elastic#56190)
  update max_anomaly_score route schema to handle possible undefined values (elastic#57339)
  [Add panel flyout] Moving create new to the top of SavedObjectFinder (elastic#56428)
  Add mock of a legacy ui api to re-enable Canvas storybook (elastic#56673)
  [monitoring] Removes noisy event received log (elastic#57275)
  Remove use of copied MANAGEMENT_BREADCRUMBS and use `setBreadcrumbs` from management section's mount (elastic#57324)
  Advanced Settings management app to kibana platform plugin (elastic#56931)
  [ML] New Platform server shim: update recognize modules routes to use new platform router (elastic#57206)
  [ML] Fix overall stats for saved search on the Data Visualizer page (elastic#57312)
  [ML] [NP] Removing ui imports (elastic#56358)
  [SIEM] Fixes failing Cypress tests (elastic#57202)
  Create observability CODEOWNERS reference (elastic#57109)
  fix results service schema (elastic#57217)
  don't register a wrapper if browser side function exists. (elastic#57196)
  Ui Actions explorer example (elastic#57006)
  Fix update alert API to still work when AAD is out of sync (elastic#57039)
  ...
streamich added a commit that referenced this pull request Feb 12, 2020
* Expressions refactor (#54342)

* feat: 🎸 add UiComponent interface

* feat: 🎸 add adapter for react => ui components and back

* refactor: 💡 move registries to shared /common folder

* feat: 🎸 create expressions service state contaienr

* chore: 🤖 export some symbols

* feat: 🎸 add Executor class

* test: 💍 add simple integration test

* feat: 🎸 move registries into executor

* feat: 🎸 add initial implementation of Execution

* feat: 🎸 move Executor's state container into a signle file

* refactor: 💡 move createError() to /common folder

* feat: 🎸 use Executor in plugin definition

* refactor: 💡 rename handlers to FunctionHandlers

* feat: 🎸 improve function typings

* feat: 🎸 move types and func in sep folder, improve Execution

* refactor: 💡 cleanup expression_types folder

* refactor: 💡 improve typing names of expression types

* refactor: 💡 remove lodash from ExpressionType and improve types

* test: 💍 add ExpressionType tests

* refactor: 💡 remove function wrappers around types

* refactor: 💡 move functions to /common

* test: 💍 improve expression function tests

* feat: 🎸 create /parser folder

* refactor: 💡 move function types into /expression_functions dir

* refactor: 💡 improve parser setup

* refactor: 💡 fix export structure and move args into expr_func

* test: 💍 add ExpressionFunctionParameter tests

* fix: 🐛 fix executor types and imports

* refactor: 💡 move getByAlias to plugin, fix Execution types

* feat: 🎸 add function for argument parsing

* test: 💍 add Executor type tests

* test: 💍 add executor function and context tests

* test: 💍 check that Executor returns Execution

* test: 💍 add basic tests for Execution

* test: 💍 add basic test for execution of a chain of functions

* test: 💍 add "mult" function tot tests

* feat: 🎸 create separate expression_renderer folder

* feat: 🎸 use new executor in public plugin

* feat: 🎸 remove renderers from executor, add result to execution

* fix: 🐛 fix Kibana TypeScript errors

* test: 💍 add file to write integration tests for expr plugin

* refactor: 💡 move state_containers to /common

* refactor: 💡 move /parser to /ast and inline format() function

* refactor: 💡 remove remaining @kbn/interpreter imports

* feat: 🎸 better handling and typing for Executor context

* feat: 🎸 use Executor.run function in plugin

* fix: 🐛 fix TypeScript type errors

* test: 💍 move integration tests into one file

* feat: 🎸 create ExpressionsService

* chore: 🤖 clean up legacy code

* feat: 🎸 use ExpressionsService in /public

* refactor: 💡 move inspector adapters to /common

* feat: 🎸 improve execution

* feat: 🎸 add state to execution state and don't clone AST

* test: 💍 add tests for Execution object

* test: 💍 improve expression test helpers

* test: 💍 add Execution tests

* refactor: 💡 improve required argument checking

* fix: 🐛 fix Kibana TypeScript errors

* test: 💍 add ExpressionsService unit tests

* fix: 🐛 fix Expression plugin TypeScript types

* refactor: 💡 prefix React component with React*

* fix: 🐛 fix X-Pack TypeScript errors

* fix: 🐛 fix test TypeScript errors

* fix: 🐛 fix issues preventing loading

* feat: 🎸 remove getInitialContext() handler

* fix: 🐛 fix TypeScript errors

* chore: 🤖 remove uicomponent interface

* chore: 🤖 remove missing import

* fix: 🐛 correctly handle .query in "kibana" expression function

* refactor: 💡 call first arg in expression functions "input"

* fix: 🐛 do not free Execution state container

* test: 💍 fix tests after refactor

* test: 💍 fix more tests after refactor

* fix: 🐛 remove redundant export

* test: 💍 update intepreter_functional test shapshots

* fix: 🐛 relax "kibana" function throwing on missin gsearch ctx

* refactor: 💡 don't use ExpressionAST interface in Canvas

* docs: ✏️ improve ExpressionRenderer JSDocs

* refactor: 💡 rename context.types to inputTypes in internal fn

* refactor: 💡 replace context.types by unknown in ExprFuncDef

* refactor: 💡 improve expression function definitions in OSS

* fix: 🐛 correctly set name on metric_vis_fn

* refactor: 💡 improve Lens definitions of expression functions

* refactor: 💡 improve Canvas expression function definitions

* test: 💍 add createMockExecutionContext() helper

* refactor: 💡 add some type to events$ observable in expr handler

* feat: 🎸 add types to observables in data handler

* refactor: 💡 use inputTypes in canvas

* fix: 🐛 fix interpreter grammer generation script

* feat: 🎸 allow array in getByAlias

* test: 💍 simplify test function specs

* test: 💍 fix autocomplete tests

* fix: 🐛 use correct expression types and NP getFunctions() API

* refactor: 💡 use NP expressions to get renderer

* fix: 🐛 use context.types on server-side Canvas function defs

* refactor: 💡 use NP API to register Canvas renderers

* feat: 🎸 use NP API to get types

* style: 💄 minor formatting changes

* feat: 🎸 use NP API to get expression functions

* fix: 🐛 fix Canvas workpads

* test: 💍 add missing mock functions

* refactor: 💡 improve Lens func definition argument types

* fix: 🐛 fix Lens type error

* feat: 🎸 make lens datatable work again

* feat: 🎸 bootstrap ExpressionsService on server-side

* feat: 🎸 expose more registry related functions in contract

* feat: 🎸 add environment: server to server-side expressions

* docs: ✏️ add documentation

* test: 💍 add missing Jest mocks

* fix: 🐛 correct TypeScript type

* docs: ✏️ improve documentation

* fix: 🐛 make FunctionHelpDict type contain only Canvas functions

* fix: 🐛 fix merge conflict

* test: 💍 fix expression mocks

* fix: fix TypeScript disabled help type

Co-authored-by: Elastic Machine <[email protected]>
wayneseymour added a commit to wayneseymour/kibana that referenced this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. review v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor and simplify expressions plugin in NP
9 participants