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

[SECURITY SOLUTION] [Detections] Add / Update e2e tests to ensure initial rule runs are successful #68441

Merged
merged 2 commits into from
Jun 9, 2020

Conversation

dhurley14
Copy link
Contributor

Summary

adds/modifies e2e tests to ensure find_status returns 'succeeded' after rules are created, instead of just 'going to run'.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@dhurley14 dhurley14 self-assigned this Jun 5, 2020
@dhurley14 dhurley14 added Feature:Detection Rules Anything related to Security Solution's Detection Rules review Team:SIEM v7.9.0 v8.0.0 labels Jun 5, 2020
@dhurley14 dhurley14 marked this pull request as ready for review June 5, 2020 21:18
@dhurley14 dhurley14 requested review from a team as code owners June 5, 2020 21:18
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@dhurley14 dhurley14 added the release_note:skip Skip the PR/issue when compiling release notes label Jun 5, 2020
Copy link
Contributor

@rylnd rylnd left a comment

Choose a reason for hiding this comment

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

Checked these out, they look great! My one gripe is that a failure here wouldn't be immediately actionable: it would be unclear whether the test failed:

  • due to a regression (of what? the test makes no mention of what could regress)
  • due to task manager not completing (this would also result in 'going to run', right?)

I'ma approve because this will do what it says: fail on a regression, but I'm wondering if we can make that more clear/actionable somehow.

… rules are created, instead of just 'going to run'
…pecific regression to be on the lookout for if these start failing
@@ -65,6 +68,46 @@ export default ({ getService }: FtrProviderContext) => {
expect(bodyToCompare).to.eql(getSimpleRuleOutput());
});

/*
This test is to ensure no future regressions introduced by the following scenario
Copy link
Contributor

Choose a reason for hiding this comment

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

:shipit:

@dhurley14
Copy link
Contributor Author

jenkins test this

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_snapshots·js.dashboard app using current data dashboard snapshots compare area chart snapshot

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[00:00:00]               │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]               │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:01]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:02]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:02]               │ debg [dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]               │ info progress: 11733
[00:00:12]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:12]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:12]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:12]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:12]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:12]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:20:44]             └-: dashboard snapshots
[00:20:44]               └-> "before all" hook
[00:20:44]               └-> "before all" hook
[00:20:44]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:20:44]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:20:44]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/30PekgU3QEutbhOTfmnSEQ] deleting index
[00:20:44]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_1/kl5ei1klTbSLtwiYHDwqXQ] deleting index
[00:20:45]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:20:45]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:20:45]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:20:45]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:20:45]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_1/Y5ZKE-YMQgiaVmtPKoL6Pw] update_mapping [_doc]
[00:20:45]                 │ debg Migrating saved objects
[00:20:45]                 │ proc [kibana]   log   [21:57:51.280] [info][savedobjects-service] Detected mapping change in "dynamic"
[00:20:45]                 │ proc [kibana]   log   [21:57:51.282] [info][savedobjects-service] Creating index .kibana_2.
[00:20:45]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:20:45]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] updating number_of_replicas to [0] for indices [.kibana_2]
[00:20:45]                 │ proc [kibana]   log   [21:57:51.340] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1591651100251240976] [.kibana_2/ulGjrD0HQ7qGexfyiCdBQg] update_mapping [_doc]
[00:20:45]                 │ proc [kibana]   log   [21:57:51.561] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:20:45]                 │ proc [kibana]   log   [21:57:51.605] [info][savedobjects-service] Finished in 325ms.
[00:20:45]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:20:47]                 │ debg ======browser======== setWindowSize 1000 500
[00:20:47]                 │ debg ======browser======== actual initial screenshot size width=1200, height=800
[00:20:47]                 │ debg ======browser======== actual second screenshot size width= 600, height=400
[00:20:47]                 │ debg ======browser======== calculated values xBorder= 0, yBorder=0, xScaling=1, yScaling=1
[00:20:47]                 │ debg ======browser======== setting browser size to 1000 x 500
[00:20:48]                 │ debg ======browser======== final screenshot size width=1000, height=500
[00:20:48]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:20:48]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:20:48]                 │ debg ... sleep(700) start
[00:20:48]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1591653474113#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:20:48]                 │
[00:20:48]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:20:48]                 │ debg ... sleep(700) end
[00:20:48]                 │ debg returned from get, calling refresh
[00:20:49]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1591653474113#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:20:49]                 │
[00:20:49]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:20:49]                 │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:20:49]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:20:49]                 │ debg TestSubjects.find(kibanaChrome)
[00:20:49]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:20:50]                 │ debg browser[INFO] http://localhost:6141/33659/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-06-08T21:57:55Z
[00:20:50]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:20:50]                 │
[00:20:50]                 │      "
[00:20:50]                 │ debg ... sleep(501) start
[00:20:50]                 │ debg ... sleep(501) end
[00:20:50]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:20:50]                 │ debg TestSubjects.exists(statusPageContainer)
[00:20:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:20:53]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:20:53]               └-> compare TSVB snapshot
[00:20:53]                 └-> "before each" hook: global before each
[00:20:53]                 │ debg gotoDashboardLandingPage
[00:20:53]                 │ debg onDashboardLandingPage
[00:20:53]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:20:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:20:53]                 │ debg TestSubjects.exists(newItemButton)
[00:20:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:20:53]                 │ debg TestSubjects.click(newItemButton)
[00:20:53]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:20:53]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:20:53]                 │ debg waitForRenderComplete
[00:20:53]                 │ debg in getSharedItemsCount
[00:20:53]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:20:53]                 │ debg Renderable.waitForRender for 0 elements
[00:20:53]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:21:03]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:21:04]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:21:04]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:21:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:21:04]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:21:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:21:04]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:21:04]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:21:04]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:21:05]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:21:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:21:05]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:21:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:21:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:21:05]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:21:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:21:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:05]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:21:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:05]                 │ debg ... sleep(500) start
[00:21:06]                 │ debg ... sleep(500) end
[00:21:06]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:21:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:21:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:21:06]                 │ debg Find.waitForElementStale with timeout=10000
[00:21:06]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:21:06]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:21:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:06]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:06]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:21:06]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:07]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:21:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:21:09]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:21:10]                 │ debg TestSubjects.click(querySubmitButton)
[00:21:10]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:21:10]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:21:10]                 │ debg Find.waitForElementStale with timeout=10000
[00:21:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:21:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:21:10]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: tsvb-ts, type: visualization
[00:21:10]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:21:10]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:21:10]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:21:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:21:13]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:21:13]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:21:13]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:21:13]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:21:13]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:21:13]                 │ debg ... sleep(500) start
[00:21:14]                 │ debg ... sleep(500) end
[00:21:14]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:21:14]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:21:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:21:14]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:21:14]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:21:14]                 │ debg DashboardAddPanel.toggleFilter
[00:21:14]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:21:14]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:21:14]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:21:14]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:21:14]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:21:14]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:21:15]                 │ debg DashboardAddPanel.toggleFilter
[00:21:15]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:21:15]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:21:15]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:21:15]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:21:15]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: tsvb ts")
[00:21:15]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:21:15]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:21:15]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:21:15]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:21:16]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-tsvb-ts)
[00:21:16]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:21:16]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:21:16]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:21:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:21:19]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:21:19]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:21:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:21:19]                 │ debg Closing flyout dashboardAddPanel
[00:21:19]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:21:19]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:21:19]                 │ debg Waiting up to 20000ms for flyout closed...
[00:21:19]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:21:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:21:20]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:21:21]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:21:21]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:21:21]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:21:21]                 │ debg Toast title: Rendering Test: tsvb-ts (TSVB) was added
[00:21:21]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:21:21]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:21:21]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:21:21]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:21:21]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:21:21]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:21:21]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:21:21]                 │ debg entering new title
[00:21:21]                 │ debg TestSubjects.setValue(savedObjectTitle, tsvb)
[00:21:21]                 │ debg TestSubjects.click(savedObjectTitle)
[00:21:21]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:21:21]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:21:21]                 │ debg DashboardPage.clickSave
[00:21:21]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:21:21]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:21:21]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:21:22]                 │ debg Find.waitForElementStale with timeout=10000
[00:21:22]                 │ debg TestSubjects.exists(saveDashboardSuccess)
[00:21:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveDashboardSuccess"]') with timeout=120000
[00:21:22]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:21:22]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:21:22]                 │ debg Toast title: Dashboard 'tsvb' was saved
[00:21:22]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:21:22]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:21:22]                 │ debg isGlobalLoadingIndicatorVisible
[00:21:22]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:21:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:21:24]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:21:25]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:21:25]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:21:25]                 │ debg Waiting for save modal to close
[00:21:25]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:21:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:21:27]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:21:28]                 │ debg clickFullScreenMode
[00:21:28]                 │ debg TestSubjects.click(dashboardFullScreenMode)
[00:21:28]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardFullScreenMode"]') with timeout=10000
[00:21:28]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardFullScreenMode"]') with timeout=10000
[00:21:28]                 │ debg TestSubjects.exists(exitFullScreenModeLogo)
[00:21:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=2500
[00:21:28]                 │ debg waitForRenderComplete
[00:21:28]                 │ debg in getSharedItemsCount
[00:21:28]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:21:28]                 │ debg Renderable.waitForRender for 1 elements
[00:21:28]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:21:28]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:21:29]                 │ debg openContextMenu(undefined
[00:21:29]                 │ debg toggleContextMenu
[00:21:29]                 │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:21:29]                 │ debg TestSubjects.find(dashboardPanelTitle)
[00:21:29]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:21:29]                 │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:21:29]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:21:29]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:21:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:21:29]                 │ debg TestSubjects.click(embeddablePanelAction-togglePanel)
[00:21:29]                 │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-togglePanel"]') with timeout=10000
[00:21:29]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-togglePanel"]') with timeout=10000
[00:21:29]                 │ debg waitForRenderComplete
[00:21:29]                 │ debg in getSharedItemsCount
[00:21:29]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:21:29]                 │ debg Renderable.waitForRender for 1 elements
[00:21:29]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:21:29]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:21:30]                 │ debg compareAgainstBaseline
[00:21:30]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/session/tsvb_dashboard.png"
[00:21:31]                 │ debg comparePngs: /dev/shm/workspace/kibana/test/functional/screenshots/session/tsvb_dashboard.png vs /dev/shm/workspace/kibana/test/functional/screenshots/baseline/tsvb_dashboard.png
[00:21:31]                 │ debg calculating diff pixels...
[00:21:31]                 │ debg percent different: 0.013812
[00:21:31]                 │ debg TestSubjects.click(exitFullScreenModeLogo)
[00:21:31]                 │ debg Find.clickByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=10000
[00:21:31]                 │ debg Find.findByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=10000
[00:21:31]                 │ debg waitForRenderComplete
[00:21:31]                 │ debg in getSharedItemsCount
[00:21:31]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:21:32]                 │ debg Renderable.waitForRender for 1 elements
[00:21:32]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:21:32]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:21:33]                 └- ✓ pass  (39.6s) "dashboard app using current data dashboard snapshots compare TSVB snapshot"
[00:21:33]               └-> compare area chart snapshot
[00:21:33]                 └-> "before each" hook: global before each
[00:21:33]                 │ debg gotoDashboardLandingPage
[00:21:33]                 │ debg onDashboardLandingPage
[00:21:33]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:21:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:21:35]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:21:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:21:39]                 │ debg clickDashboardBreadcrumbLink
[00:21:39]                 │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:21:39]                 │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:21:39]                 │ debg expectExistsDashboardLandingPage
[00:21:39]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:21:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:21:39]                 │ debg TestSubjects.exists(newItemButton)
[00:21:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:21:39]                 │ debg TestSubjects.click(newItemButton)
[00:21:39]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:21:39]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:21:40]                 │ debg waitForRenderComplete
[00:21:40]                 │ debg in getSharedItemsCount
[00:21:40]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:21:40]                 │ debg Renderable.waitForRender for 0 elements
[00:21:40]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:21:50]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:21:51]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:21:51]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:21:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:21:51]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:21:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:21:53]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:21:54]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:21:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:21:54]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:21:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:21:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:21:54]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:21:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:21:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:55]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:21:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:55]                 │ debg ... sleep(500) start
[00:21:56]                 │ debg ... sleep(500) end
[00:21:56]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:21:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:21:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:21:56]                 │ debg Find.waitForElementStale with timeout=10000
[00:21:56]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:21:56]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:21:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:21:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:57]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:21:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:21:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:21:57]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:21:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:22:00]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:22:00]                 │ debg TestSubjects.click(querySubmitButton)
[00:22:00]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:00]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:01]                 │ debg Find.waitForElementStale with timeout=10000
[00:22:01]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:01]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:01]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: area with not filter, type: visualization
[00:22:01]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:22:01]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:22:01]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:22:04]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:04]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:22:04]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:22:04]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:04]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:22:04]                 │ debg ... sleep(500) start
[00:22:05]                 │ debg ... sleep(500) end
[00:22:05]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:22:05]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:22:05]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:22:05]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:22:05]                 │ debg DashboardAddPanel.toggleFilter
[00:22:05]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:22:05]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:05]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:06]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:22:06]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:22:06]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:22:06]                 │ debg DashboardAddPanel.toggleFilter
[00:22:06]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:22:06]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:06]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:22:06]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:22:06]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: area with not filter")
[00:22:06]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:22:06]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:22:06]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:22:08]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:22:08]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-area-with-not-filter)
[00:22:08]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-area-with-not-filter"]') with timeout=10000
[00:22:08]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-area-with-not-filter"]') with timeout=10000
[00:22:08]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:22:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:22:11]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:22:11]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:12]                 │ debg Closing flyout dashboardAddPanel
[00:22:12]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:22:12]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:22:12]                 │ debg Waiting up to 20000ms for flyout closed...
[00:22:12]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:22:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:22:13]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:22:13]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:22:13]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:22:14]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:22:24]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard snapshots compare area chart snapshot.png"
[00:22:24]                 │ info Current URL is: http://localhost:6141/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272018-04-09T00:00:00.000Z%27,to:%272018-04-13T00:00:00.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:f9cd3d87-c0c3-4eea-8b42-378f21fab7bb,w:24,x:0,y:0),id:e6140540-3dca-11e8-8660-4d65aa086b3c,panelIndex:f9cd3d87-c0c3-4eea-8b42-378f21fab7bb,type:visualization,version:%278.0.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:22:24]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard snapshots compare area chart snapshot.html
[00:22:24]                 └- ✖ fail: "dashboard app using current data dashboard snapshots compare area chart snapshot"
[00:22:24]                 │

Stack Trace

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

History

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

@dhurley14 dhurley14 merged commit 994dba1 into elastic:master Jun 9, 2020
@dhurley14 dhurley14 deleted the narrow-e2e-status-tests branch June 9, 2020 12:41
dhurley14 added a commit to dhurley14/kibana that referenced this pull request Jun 9, 2020
…tial rule runs are successful (elastic#68441)

* adds/modifies e2e tests to ensure find_status returns succeeded after rules are created, instead of just 'going to run'

* add documentation around newly created e2e tests explaining bug and specific regression to be on the lookout for if these start failing
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 9, 2020
* master: (37 commits)
  [DOCS] Adds documentation for drilldowns (elastic#68122)
  [Telemetry] telemetry.sendUsageFrom: "server" by default (elastic#68071)
  [ML] Transforms: Support sub-aggregations (elastic#68306)
  Fixed pre-configured docs link points to the wrong page and functional tests configs (elastic#68606)
  [Ingest Manager] Update queries from `stream.*` to `dataset.*` (elastic#68322)
  Enable Watcher by default to fix bug in which Watcher doesn't render in the side nav (elastic#68602)
  Convert Index Templates API routes to snakecase. (elastic#68463)
  [SECURITY SOLUTION] [Detections] Add / Update e2e tests to ensure initial rule runs are successful (elastic#68441)
  [Ingest] OpenAPI spec file (elastic#68323)
  chore(NA): skip apis Endpoint plugin Endpoint policy api (elastic#68638)
  bumping makelogs version to v6.0.0 (elastic#66163)
  [SIEM] Add create template button (elastic#66613)
  Bump websocket-extensions from 0.1.3 to 0.1.4 (elastic#68414)
  [ML] Sample data modules - use event.dataset instead of index name (elastic#68538)
  [ML] Functional tests - fix job validation API test with maxModelMemoryLimit (elastic#68501)
  [ML] Functional tests - stabilize DFA job creation (elastic#68495)
  [TSVB] Allows the user to change the tooltip mode (elastic#67775)
  chore(NA): skip apis Endpoint plugin Endpoint alert API when data is in elasticsearch (elastic#68613)
  chore(NA): skip endpoint Endpoint Alert Page: when es has data and user has navigated to the page (elastic#68596)
  [SIEM][Detection Engine] Converts from joi to use io-ts and moves the types to common  (elastic#68127)
  ...
dhurley14 added a commit that referenced this pull request Jun 9, 2020
…re initial rule runs are successful (#68441) (#68643)

* adds/modifies e2e tests to ensure find_status returns succeeded after rules are created, instead of just 'going to run'

* add documentation around newly created e2e tests explaining bug and specific regression to be on the lookout for if these start failing
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Detection Rules Anything related to Security Solution's Detection Rules release_note:skip Skip the PR/issue when compiling release notes review Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants