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

FTR: Enable w3c for chromedriver #62542

Merged
merged 13 commits into from
Apr 7, 2020

Conversation

dmlemeshko
Copy link
Member

@dmlemeshko dmlemeshko commented Apr 4, 2020

Summary

Closes #34963 and unblock #61684

  • What is W3C mode means?

Webdriver became W3C standard, which means browser vendors implement drivers according the specification to have exact the same behaviour.

  • Why do we need to switch chromedriver now?

Recently we were running Chrome and IE drivers in non-W3C compliance mode (old way since Leadfoot times) and only Firefox in W3C mode. As the result, to make things work we had to split the driver logic like

    public getActions() {
      return this.isW3CEnabled ? driver.actions() : driver.actions({ bridge: true });
    }

Sometimes we had to split tests logic to support multiple drivers in different modes or even skip them (e.g. skipFirefox tag).
The new chromium-based msedgedriver is fully W3C compatible and in w3c mode chromedriver works exactly the same way. It really makes sense to convert chromedriver run since we plan to drop IE 11 support and IEdriver from FTR, and we will be running all the drivers in W3C compliance mode.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

{ location: el, offset: { x: 200, y: 20 } },
{ location: el, offset: { x: 400, y: 30 } }
{ location: el, offset: { x: -300, y: 20 } },
{ location: el, offset: { x: -100, y: 30 } }
Copy link
Member Author

Choose a reason for hiding this comment

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

This change tested on both chromedriver and msedgedriver

@dmlemeshko dmlemeshko added v7.7.0 v7.8.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes test_ui_functional labels Apr 5, 2020
@dmlemeshko dmlemeshko changed the title enable w3c for chrome FTR: Enable w3c for chromedriver Apr 5, 2020
await browser.get(appUrl);
// accept alert if it pops up
const alert = await browser.getAlert();
await alert?.accept();
Copy link
Member Author

Choose a reason for hiding this comment

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

According to W3C spec driver.get call is not failing if alert pops up as before, but we need to accept it in order to proceed.

@dmlemeshko dmlemeshko marked this pull request as ready for review April 6, 2020 07:08
@dmlemeshko
Copy link
Member Author

@elasticmachine merge upstream

@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 5 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-1586258841185076182] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [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-1586258841185076182] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [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-1586258841185076182] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [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-1586258841185076182] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [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-1586258841185076182] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:00:01]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:01]               │ debg [dashboard/current/data] "dogbreeds" 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-1586258841185076182] applying create index request using v1 templates []
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [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: 9324
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:14]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:15:41]             └-: dashboard snapshots
[00:15:41]               └-> "before all" hook
[00:15:41]               └-> "before all" hook
[00:15:41]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:15:41]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:15:41]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/zg5u1hxyQwa3hQlhC0Pqng] deleting index
[00:15:41]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_1/zBpkGs7lRAaMCHWFagoRyA] deleting index
[00:15:41]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] applying create index request using v1 templates []
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:15:41]                 │ info [dashboard/current/kibana] Created index ".kibana"
[00:15:41]                 │ debg [dashboard/current/kibana] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:15:41]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana/Xx45ZxGwT1muDj6OTowLPQ] update_mapping [_doc]
[00:15:41]                 │ info [dashboard/current/kibana] Indexed 84 docs into ".kibana"
[00:15:41]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana/Xx45ZxGwT1muDj6OTowLPQ] update_mapping [_doc]
[00:15:41]                 │ debg Migrating saved objects
[00:15:41]                 │ proc [kibana]   log   [12:00:52.690] [info][savedobjects-service] Creating index .kibana_2.
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] applying create index request using v1 templates []
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:41]                 │ proc [kibana]   log   [12:00:52.736] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] applying create index request using v1 templates []
[00:15:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:15:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] updating number_of_replicas to [0] for indices [.kibana_1]
[00:15:41]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] 9576 finished with response BulkByScrollResponse[took=43.1ms,timed_out=false,sliceId=null,updated=0,created=84,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:15:41]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana/Xx45ZxGwT1muDj6OTowLPQ] deleting index
[00:15:41]                 │ proc [kibana]   log   [12:00:53.066] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:15:41]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:42]                 │ proc [kibana]   log   [12:00:53.285] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:15:42]                 │ proc [kibana]   log   [12:00:53.327] [info][savedobjects-service] Finished in 639ms.
[00:15:42]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:15:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1586258841185076182] [.kibana_2/QXoMOutOQz2wBLsEJyiQUA] update_mapping [_doc]
[00:15:43]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:15:44]                 │ debg ======browser======== setWindowSize 1000 500
[00:15:44]                 │ debg ======browser======== actual initial screenshot size width=1200, height=800
[00:15:45]                 │ debg ======browser======== actual second screenshot size width= 600, height=400
[00:15:45]                 │ debg ======browser======== calculated values xBorder= 0, yBorder=0, xScaling=1, yScaling=1
[00:15:45]                 │ debg ======browser======== setting browser size to 1000 x 500
[00:15:45]                 │ debg ======browser======== final screenshot size width=1000, height=500
[00:15:45]                 │ debg navigating to dashboard url: http://localhost:6131/app/kibana#/dashboards
[00:15:45]                 │ debg navigate to: http://localhost:6131/app/kibana#/dashboards
[00:15:45]                 │ debg ... sleep(700) start
[00:15:45]                 │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1586260856499#/dashboards 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:15:45]                 │
[00:15:45]                 │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:46]                 │ debg ... sleep(700) end
[00:15:46]                 │ debg returned from get, calling refresh
[00:15:46]                 │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1586260856499#/dashboards 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:15:46]                 │
[00:15:46]                 │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:46]                 │ debg currentUrl = http://localhost:6131/app/kibana#/dashboards
[00:15:46]                 │          appUrl = http://localhost:6131/app/kibana#/dashboards
[00:15:46]                 │ debg TestSubjects.find(kibanaChrome)
[00:15:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:49]                 │ debg TestSubjects.find(kibanaChrome)
[00:15:49]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:15:49]                 │ debg browser[INFO] http://localhost:6131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-07T12:00:59Z
[00:15:49]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:15:49]                 │
[00:15:49]                 │      "
[00:15:49]                 │ debg ... sleep(501) start
[00:15:49]                 │ debg ... sleep(501) end
[00:15:49]                 │ debg in navigateTo url = http://localhost:6131/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:15:49]                 │ debg TestSubjects.exists(statusPageContainer)
[00:15:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:52]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:52]               └-> compare TSVB snapshot
[00:15:52]                 └-> "before each" hook: global before each
[00:15:52]                 │ debg gotoDashboardLandingPage
[00:15:52]                 │ debg onDashboardLandingPage
[00:15:52]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:15:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:15:52]                 │ debg TestSubjects.exists(newItemButton)
[00:15:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:15:52]                 │ debg TestSubjects.click(newItemButton)
[00:15:52]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:52]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:15:52]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:15:52]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:15:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:15:53]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:15:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:15:53]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:53]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:15:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:15:53]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:53]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:53]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:53]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:15:53]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:53]                 │ debg ... sleep(500) start
[00:15:54]                 │ debg ... sleep(500) end
[00:15:54]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:15:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:54]                 │ debg Find.waitForElementStale with timeout=10000
[00:15:54]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:54]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:54]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:54]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:55]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:15:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:55]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:15:57]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:15:58]                 │ debg TestSubjects.click(querySubmitButton)
[00:15:58]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:58]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:58]                 │ debg Find.waitForElementStale with timeout=10000
[00:15:58]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:58]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:58]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: tsvb-ts, type: visualization
[00:15:58]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:15:58]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:15:58]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:15:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:16:01]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:16:01]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:16:01]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:16:01]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:16:01]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:16:02]                 │ debg ... sleep(500) start
[00:16:02]                 │ debg ... sleep(500) end
[00:16:02]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:16:02]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:16:02]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:16:02]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:16:03]                 │ debg DashboardAddPanel.toggleFilter
[00:16:03]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:16:03]                 │ debg DashboardAddPanel.toggleFilter
[00:16:03]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:03]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: tsvb ts")
[00:16:03]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:16:04]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:16:04]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-tsvb-ts)
[00:16:04]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:16:04]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-tsvb-ts"]') with timeout=10000
[00:16:04]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:16:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:16:07]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:16:07]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:16:07]                 │ debg Closing flyout dashboardAddPanel
[00:16:07]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:16:07]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:16:08]                 │ debg Waiting up to 20000ms for flyout closed...
[00:16:08]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:16:09]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:16:09]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:16:09]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:16:09]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:16:09]                 │ debg Toast title: Rendering Test: tsvb-ts (TSVB) was added
[00:16:09]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:16:09]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:16:09]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:16:09]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:09]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:09]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:16:09]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:16:09]                 │ debg entering new title
[00:16:09]                 │ debg TestSubjects.setValue(savedObjectTitle, tsvb)
[00:16:09]                 │ debg TestSubjects.click(savedObjectTitle)
[00:16:09]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:16:09]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:16:10]                 │ debg DashboardPage.clickSave
[00:16:10]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:16:10]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:16:10]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:16:10]                 │ debg Find.waitForElementStale with timeout=10000
[00:16:10]                 │ debg TestSubjects.exists(saveDashboardSuccess)
[00:16:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveDashboardSuccess"]') with timeout=120000
[00:16:10]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:16:11]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:16:11]                 │ debg Toast title: Dashboard 'tsvb' was saved
[00:16:11]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:16:11]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:16:11]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:11]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:12]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:13]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:13]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:13]                 │ debg Waiting for save modal to close
[00:16:13]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:16:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:16:15]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:16:16]                 │ debg clickFullScreenMode
[00:16:16]                 │ debg TestSubjects.click(dashboardFullScreenMode)
[00:16:16]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardFullScreenMode"]') with timeout=10000
[00:16:16]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardFullScreenMode"]') with timeout=10000
[00:16:16]                 │ debg TestSubjects.exists(exitFullScreenModeLogo)
[00:16:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=2500
[00:16:16]                 │ debg waitForRenderComplete
[00:16:16]                 │ debg in getSharedItemsCount
[00:16:16]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:16:16]                 │ debg Renderable.waitForRender for 1 elements
[00:16:16]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:16:16]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:16:17]                 │ debg openContextMenu(undefined
[00:16:17]                 │ debg toggleContextMenu
[00:16:17]                 │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:16:17]                 │ debg TestSubjects.find(dashboardPanelTitle)
[00:16:17]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:16:17]                 │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:16:17]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:16:17]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:16:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:16:17]                 │ debg TestSubjects.click(embeddablePanelAction-togglePanel)
[00:16:17]                 │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-togglePanel"]') with timeout=10000
[00:16:17]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-togglePanel"]') with timeout=10000
[00:16:17]                 │ debg waitForRenderComplete
[00:16:17]                 │ debg in getSharedItemsCount
[00:16:17]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:16:18]                 │ debg Renderable.waitForRender for 1 elements
[00:16:18]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:16:18]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:16:19]                 │ debg compareAgainstBaseline
[00:16:19]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/session/tsvb_dashboard.png"
[00:16:19]                 │ 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:16:19]                 │ debg calculating diff pixels...
[00:16:19]                 │ debg percent different: 0.014734
[00:16:19]                 │ debg TestSubjects.click(exitFullScreenModeLogo)
[00:16:19]                 │ debg Find.clickByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=10000
[00:16:19]                 │ debg Find.findByCssSelector('[data-test-subj="exitFullScreenModeLogo"]') with timeout=10000
[00:16:19]                 │ debg waitForRenderComplete
[00:16:19]                 │ debg in getSharedItemsCount
[00:16:19]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:16:19]                 │ debg Renderable.waitForRender for 1 elements
[00:16:19]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:16:19]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:16:20]                 └- ✓ pass  (28.2s) "dashboard app using current data dashboard snapshots compare TSVB snapshot"
[00:16:20]               └-> compare area chart snapshot
[00:16:20]                 └-> "before each" hook: global before each
[00:16:20]                 │ debg gotoDashboardLandingPage
[00:16:20]                 │ debg onDashboardLandingPage
[00:16:20]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:16:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:16:23]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:16:26]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:26]                 │ debg clickDashboardBreadcrumbLink
[00:16:26]                 │ debg Find.clickByCssSelector('a[href="#/dashboards"]') with timeout=10000
[00:16:26]                 │ debg Find.findByCssSelector('a[href="#/dashboards"]') with timeout=10000
[00:16:27]                 │ debg expectExistsDashboardLandingPage
[00:16:27]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:16:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:16:27]                 │ debg TestSubjects.exists(newItemButton)
[00:16:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:16:27]                 │ debg TestSubjects.click(newItemButton)
[00:16:27]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:27]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:27]                 │ debg Setting absolute range to Apr 9, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:16:27]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:27]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:30]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:16:30]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:30]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:30]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:30]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:30]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:30]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:31]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:31]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:16:31]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:31]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:31]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:31]                 │ debg ... sleep(500) start
[00:16:32]                 │ debg ... sleep(500) end
[00:16:32]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:32]                 │ debg Find.waitForElementStale with timeout=10000
[00:16:32]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:32]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:32]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:32]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 9, 2018 @ 00:00:00.000)
[00:16:32]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:32]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:32]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:32]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:35]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:35]                 │ debg TestSubjects.click(querySubmitButton)
[00:16:35]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:35]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:36]                 │ debg Find.waitForElementStale with timeout=10000
[00:16:36]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:36]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:36]                 │ debg DashboardAddPanel.addEmbeddable, name: Rendering Test: area with not filter, type: visualization
[00:16:36]                 │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:16:36]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:16:36]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:16:38]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:16:39]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:16:39]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:16:39]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:16:39]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:16:39]                 │ debg ... sleep(500) start
[00:16:40]                 │ debg ... sleep(500) end
[00:16:40]                 │ debg DashboardAddPanel.isAddPanelOpen
[00:16:40]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:16:40]                 │ debg DashboardAddPanel.addToFilter(visualization)
[00:16:40]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:16:40]                 │ debg DashboardAddPanel.toggleFilter
[00:16:40]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:16:41]                 │ debg DashboardAddPanel.toggleFilter
[00:16:41]                 │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:16:41]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:16:41]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:16:41]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test: area with not filter")
[00:16:41]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:16:41]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:16:41]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:16:42]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:16:43]                 │ debg TestSubjects.click(savedObjectTitleRendering-Test:-area-with-not-filter)
[00:16:43]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-area-with-not-filter"]') with timeout=10000
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-area-with-not-filter"]') with timeout=10000
[00:16:43]                 │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:16:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:16:45]                 │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:16:46]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:16:46]                 │ debg Closing flyout dashboardAddPanel
[00:16:46]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:16:46]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:16:46]                 │ debg Waiting up to 20000ms for flyout closed...
[00:16:46]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:16:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:16:47]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:16:48]                 │ debg Find.existsByCssSelector('.euiToast') with timeout=2500
[00:16:48]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:16:48]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:16:58]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard snapshots compare area chart snapshot.png"
[00:16:58]                 │ info Current URL is: http://localhost:6131/app/kibana#/dashboard?_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:%27966e2afc-9d1c-4f7c-a2b2-02273af9ff71%27,w:24,x:0,y:0),id:e6140540-3dca-11e8-8660-4d65aa086b3c,panelIndex:%27966e2afc-9d1c-4f7c-a2b2-02273af9ff71%27,type:visualization,version:%278.0.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272018-04-09T00:00:00.000Z%27,to:%272018-04-13T00:00:00.000Z%27))
[00:16:58]                 │ 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:16:58]                 └- ✖ fail: "dashboard app using current data dashboard snapshots compare area chart snapshot"
[00:16:58]                 │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, .euiToastHeader__title)
Wait timed out after 10037ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841: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

Copy link
Contributor

@LeeDr LeeDr left a comment

Choose a reason for hiding this comment

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

LGTM - tested the discover tests with brushing the histogram on Chrome and Firefox on my local Windows.

test/functional/page_objects/discover_page.ts Show resolved Hide resolved
@dmlemeshko dmlemeshko merged commit 898504d into elastic:master Apr 7, 2020
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Apr 7, 2020
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Apr 7, 2020
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Apr 7, 2020
* master:
  [APM] Change custom link from EuiListGroupItem to EuiLink (elastic#62742)
  [Remote Clusters] Update callout and move server_name field (elastic#62352)
  Removes Pitch Presentation Template from Canvas (elastic#62688)
  FTR: Enable w3c for chromedriver (elastic#62542)
  [ML] Disable functional tests
  [ILM] Skip failing API integration test (elastic#62779)
  [SIEM] Update beat doc (elastic#61902)
  [Search] Properly add slash preceding path in async search (elastic#62722)
  [APM] make sure environment query is correct for service maps… (elastic#62764)
  Add service map icon for rum-js agent type (elastic#62721)
  [APM] Service map - fixes irrelevant services on data refresh (elastic#62750)
  [APM] Service map - Fix taxi edge arrow orientation (elastic#62741)
  [APM] Prevent error rate alert trigger from rendering NaN (elastic#62754)
  [EPM] Store map visualizations from the package registry and use saved object ID (elastic#62059)
  [Alerting] for email action, set tls.rejectUnauthorized: false when secure: false (elastic#62380)
dmlemeshko added a commit that referenced this pull request Apr 7, 2020
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
dmlemeshko added a commit that referenced this pull request Apr 7, 2020
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Apr 9, 2020
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
dmlemeshko added a commit that referenced this pull request Apr 12, 2020
* FTR: Enable w3c for chromedriver (#62542)

* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* remove unused function

* fix common page PO

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@dmlemeshko dmlemeshko deleted the ftr/switch-chrome-to-w3c-mode branch January 31, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Functional tests: Run Chromedriver in W3C mode
4 participants