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

[Endpoint] Add link to Logs UI to the Host Details view #62852

Merged

Conversation

paul-tavares
Copy link
Contributor

@paul-tavares paul-tavares commented Apr 7, 2020

Summary

Adds a link to the Details view (flyout) of the endpoint host that sends the user to the Logs UI with a URL param that will filter content in logs by the ID of the host.

image

Checklist

Delete any items that are not applicable to this PR.

@paul-tavares paul-tavares added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Management Feature:Endpoint Elastic Endpoint feature v7.8.0 labels Apr 7, 2020
@paul-tavares paul-tavares self-assigned this Apr 7, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-management (Team:Endpoint Management)

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Endpoint)

@@ -170,3 +181,15 @@ export const HostDetailsFlyout = () => {
</EuiFlyout>
);
};

const useHostLogsUrl = (hostId: string): { url: string; appId: string; appPath: string } => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created separate hook case we would like to later use it in other areas of the UI. Would be easier to extract out.

@paul-tavares paul-tavares marked this pull request as ready for review April 8, 2020 19:40
@paul-tavares paul-tavares requested a review from a team as a code owner April 8, 2020 19:40
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/overview·ts.Uptime app with real-world data overview page pagination is cleared when filter criteria changes

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Uptime app
[00:00:00]           └-> "before all" hook
[00:01:38]           └-: with real-world data
[00:01:38]             └-> "before all" hook
[00:01:38]             └-> "before all" hook
[00:01:38]               │ info [uptime/full_heartbeat] Unloading indices from "mappings.json"
[00:01:38]               │ info [uptime/full_heartbeat] Unloading indices from "data.json.gz"
[00:01:38]               │ info [uptime/full_heartbeat] Loading "mappings.json"
[00:01:38]               │ info [uptime/full_heartbeat] Loading "data.json.gz"
[00:01:38]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586374834248162080] applying create index request using v1 templates []
[00:01:38]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1586374834248162080] [heartbeat-8-full-test] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:01:38]               │ info [uptime/full_heartbeat] Created index "heartbeat-8-full-test"
[00:01:38]               │ debg [uptime/full_heartbeat] "heartbeat-8-full-test" settings {"index":{"mapping":{"total_fields":{"limit":"10000"}},"number_of_replicas":"1","number_of_shards":"1","query":{"default_field":["message","tags","agent.ephemeral_id","agent.id","agent.name","agent.type","agent.version","as.organization.name","client.address","client.as.organization.name","client.domain","client.geo.city_name","client.geo.continent_name","client.geo.country_iso_code","client.geo.country_name","client.geo.name","client.geo.region_iso_code","client.geo.region_name","client.mac","client.user.domain","client.user.email","client.user.full_name","client.user.group.id","client.user.group.name","client.user.hash","client.user.id","client.user.name","cloud.account.id","cloud.availability_zone","cloud.instance.id","cloud.instance.name","cloud.machine.type","cloud.provider","cloud.region","container.id","container.image.name","container.image.tag","container.name","container.runtime","destination.address","destination.as.organization.name","destination.domain","destination.geo.city_name","destination.geo.continent_name","destination.geo.country_iso_code","destination.geo.country_name","destination.geo.name","destination.geo.region_iso_code","destination.geo.region_name","destination.mac","destination.user.domain","destination.user.email","destination.user.full_name","destination.user.group.id","destination.user.group.name","destination.user.hash","destination.user.id","destination.user.name","dns.answers.class","dns.answers.data","dns.answers.name","dns.answers.type","dns.header_flags","dns.id","dns.op_code","dns.question.class","dns.question.name","dns.question.registered_domain","dns.question.type","dns.response_code","dns.type","ecs.version","error.code","error.id","error.message","event.action","event.category","event.code","event.dataset","event.hash","event.id","event.kind","event.module","event.original","event.outcome","event.provider","event.timezone","event.type","file.device","file.directory","file.extension","file.gid","file.group","file.hash.md5","file.hash.sha1","file.hash.sha256","file.hash.sha512","file.inode","file.mode","file.name","file.owner","file.path","file.target_path","file.type","file.uid","geo.city_name","geo.continent_name","geo.country_iso_code","geo.country_name","geo.name","geo.region_iso_code","geo.region_name","group.id","group.name","hash.md5","hash.sha1","hash.sha256","hash.sha512","host.architecture","host.geo.city_name","host.geo.continent_name","host.geo.country_iso_code","host.geo.country_name","host.geo.name","host.geo.region_iso_code","host.geo.region_name","host.hostname","host.id","host.mac","host.name","host.os.family","host.os.full","host.os.kernel","host.os.name","host.os.platform","host.os.version","host.type","host.user.domain","host.user.email","host.user.full_name","host.user.group.id","host.user.group.name","host.user.hash","host.user.id","host.user.name","http.request.body.content","http.request.method","http.request.referrer","http.response.body.content","http.version","log.level","log.logger","log.original","network.application","network.community_id","network.direction","network.iana_number","network.name","network.protocol","network.transport","network.type","observer.geo.city_name","observer.geo.continent_name","observer.geo.country_iso_code","observer.geo.country_name","observer.geo.name","observer.geo.region_iso_code","observer.geo.region_name","observer.hostname","observer.mac","observer.os.family","observer.os.full","observer.os.kernel","observer.os.name","observer.os.platform","observer.os.version","observer.serial_number","observer.type","observer.vendor","observer.version","organization.id","organization.name","os.family","os.full","os.kernel","os.name","os.platform","os.version","process.args","process.executable","process.hash.md5","process.hash.sha1","process.hash.sha256","process.hash.sha512","process.name","process.thread.name","process.title","process.working_directory","server.address","server.as.organization.name","server.domain","server.geo.city_name","server.geo.continent_name","server.geo.country_iso_code","server.geo.country_name","server.geo.name","server.geo.region_iso_code","server.geo.region_name","server.mac","server.user.domain","server.user.email","server.user.full_name","server.user.group.id","server.user.group.name","server.user.hash","server.user.id","server.user.name","service.ephemeral_id","service.id","service.name","service.state","service.type","service.version","source.address","source.as.organization.name","source.domain","source.geo.city_name","source.geo.continent_name","source.geo.country_iso_code","source.geo.country_name","source.geo.name","source.geo.region_iso_code","source.geo.region_name","source.mac","source.user.domain","source.user.email","source.user.full_name","source.user.group.id","source.user.group.name","source.user.hash","source.user.id","source.user.name","tracing.trace.id","tracing.transaction.id","url.domain","url.fragment","url.full","url.original","url.password","url.path","url.query","url.scheme","url.username","user.domain","user.email","user.full_name","user.group.id","user.group.name","user.hash","user.id","user.name","user_agent.device.name","user_agent.name","user_agent.original","user_agent.os.family","user_agent.os.full","user_agent.os.kernel","user_agent.os.name","user_agent.os.platform","user_agent.os.version","user_agent.version","agent.hostname","error.type","timeseries.instance","cloud.project.id","cloud.image.id","host.os.build","host.os.codename","kubernetes.pod.name","kubernetes.pod.uid","kubernetes.namespace","kubernetes.node.name","kubernetes.replicaset.name","kubernetes.deployment.name","kubernetes.statefulset.name","kubernetes.container.name","kubernetes.container.image","jolokia.agent.version","jolokia.agent.id","jolokia.server.product","jolokia.server.version","jolokia.server.vendor","jolokia.url","monitor.type","monitor.name","monitor.id","monitor.status","monitor.check_group","http.response.body.hash","fields.*"]},"refresh_interval":"5s"}}
[00:01:40]               │ info [uptime/full_heartbeat] Indexed 2000 docs into "heartbeat-8-full-test"
[00:01:40]               │ debg replacing kibana config doc: {"dateFormat:tz":"UTC"}
[00:04:43]             └-: overview page
[00:04:43]               └-> "before all" hook
[00:04:43]               └-> loads and displays uptime data based on date range
[00:04:43]                 └-> "before each" hook: global before each
[00:04:43]                 └-> "before each" hook: delete settings
[00:04:43]                   │ debg Deleting saved object [object Object]/%s
[00:04:44]                 │ debg navigating to uptime url: http://localhost:6161/app/uptime
[00:04:44]                 │ debg navigate to: http://localhost:6161/app/uptime
[00:04:44]                 │ debg browser[INFO] http://localhost:6161/app/uptime?_t=1586377236311 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:04:44]                 │
[00:04:44]                 │ debg browser[INFO] http://localhost:6161/bundles/app/uptime/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:44]                 │ debg ... sleep(700) start
[00:04:45]                 │ debg ... sleep(700) end
[00:04:45]                 │ debg returned from get, calling refresh
[00:04:46]                 │ debg browser[INFO] http://localhost:6161/app/uptime?_t=1586377236311 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:04:46]                 │
[00:04:46]                 │ debg browser[INFO] http://localhost:6161/bundles/app/uptime/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:46]                 │ debg currentUrl = http://localhost:6161/app/uptime
[00:04:46]                 │          appUrl = http://localhost:6161/app/uptime
[00:04:46]                 │ debg TestSubjects.find(kibanaChrome)
[00:04:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:51]                 │ debg browser[INFO] http://localhost:6161/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-08T20:20:42Z
[00:04:51]                 │        Adding connection to http://localhost:6161/elasticsearch
[00:04:51]                 │
[00:04:51]                 │      "
[00:04:51]                 │ debg ... sleep(501) start
[00:04:52]                 │ debg ... sleep(501) end
[00:04:52]                 │ debg in navigateTo url = http://localhost:6161/app/uptime
[00:04:52]                 │ debg TestSubjects.exists(statusPageContainer)
[00:04:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:04:54]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:04:55]                 │ debg Setting absolute range to Sep 10, 2019 @ 12:40:08.078 to Sep 11, 2019 @ 19:40:08.078
[00:04:55]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:04:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:04:55]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:04:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:04:55]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:04:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:04:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:04:55]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:04:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:04:55]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:04:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:04:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:04:55]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:04:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:04:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:55]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 11, 2019 @ 19:40:08.078)
[00:04:55]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:56]                 │ debg ... sleep(500) start
[00:04:56]                 │ debg ... sleep(500) end
[00:04:56]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:04:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:04:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:04:57]                 │ debg Find.waitForElementStale with timeout=10000
[00:04:57]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:04:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:04:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:57]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 10, 2019 @ 12:40:08.078)
[00:04:57]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:57]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:57]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:58]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:04:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:04:58]                 │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:04:58]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:04:58]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:04:58]                 │ debg Find.waitForElementStale with timeout=10000
[00:04:58]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:04:58]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:04:58]                 │ debg TestSubjects.exists(monitor-page-link-0000-intermittent)
[00:04:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0000-intermittent"]') with timeout=120000
[00:04:59]                 └- ✓ pass  (14.9s) "Uptime app with real-world data overview page loads and displays uptime data based on date range"
[00:04:59]               └-> runs filter query without issues
[00:04:59]                 └-> "before each" hook: global before each
[00:04:59]                 └-> "before each" hook: delete settings
[00:04:59]                   │ debg Deleting saved object [object Object]/%s
[00:04:59]                 │ debg TestSubjects.click(xpack.uptime.filterBar)
[00:04:59]                 │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.filterBar"]') with timeout=10000
[00:04:59]                 │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.filterBar"]') with timeout=10000
[00:04:59]                 │ debg TestSubjects.setValue(xpack.uptime.filterBar, monitor.status:up and monitor.id:"0000-intermittent")
[00:04:59]                 │ debg TestSubjects.click(xpack.uptime.filterBar)
[00:04:59]                 │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.filterBar"]') with timeout=10000
[00:04:59]                 │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.filterBar"]') with timeout=10000
[00:05:00]                 │ debg TestSubjects.exists(monitor-page-link-0000-intermittent)
[00:05:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0000-intermittent"]') with timeout=120000
[00:05:00]                 └- ✓ pass  (1.4s) "Uptime app with real-world data overview page runs filter query without issues"
[00:05:00]               └-> applies filters for multiple fields
[00:05:00]                 └-> "before each" hook: global before each
[00:05:00]                 └-> "before each" hook: delete settings
[00:05:00]                   │ debg Deleting saved object [object Object]/%s
[00:05:01]                 │ debg navigating to uptime url: http://localhost:6161/app/uptime
[00:05:01]                 │ debg navigate to: http://localhost:6161/app/uptime
[00:05:01]                 │ debg browser[INFO] http://localhost:6161/app/uptime?_t=1586377253363 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:05:01]                 │
[00:05:01]                 │ debg browser[INFO] http://localhost:6161/bundles/app/uptime/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:01]                 │ debg ... sleep(700) start
[00:05:02]                 │ debg ... sleep(700) end
[00:05:02]                 │ debg returned from get, calling refresh
[00:05:02]                 │ debg browser[INFO] http://localhost:6161/app/uptime?_t=1586377253363 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:05:02]                 │
[00:05:02]                 │ debg browser[INFO] http://localhost:6161/bundles/app/uptime/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:02]                 │ debg currentUrl = http://localhost:6161/app/uptime
[00:05:02]                 │          appUrl = http://localhost:6161/app/uptime
[00:05:02]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:02]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:06]                 │ debg browser[INFO] http://localhost:6161/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-08T20:20:57Z
[00:05:06]                 │        Adding connection to http://localhost:6161/elasticsearch
[00:05:06]                 │
[00:05:06]                 │      "
[00:05:06]                 │ debg ... sleep(501) start
[00:05:06]                 │ debg ... sleep(501) end
[00:05:06]                 │ debg in navigateTo url = http://localhost:6161/app/uptime
[00:05:06]                 │ debg TestSubjects.exists(statusPageContainer)
[00:05:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:09]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:10]                 │ debg Setting absolute range to Sep 10, 2019 @ 12:40:08.078 to Sep 11, 2019 @ 19:40:08.078
[00:05:10]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:05:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:05:10]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:05:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:05:10]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:05:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:05:10]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:05:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:05:10]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:05:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:05:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:05:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:10]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 11, 2019 @ 19:40:08.078)
[00:05:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:11]                 │ debg ... sleep(500) start
[00:05:11]                 │ debg ... sleep(500) end
[00:05:11]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:05:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:05:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:05:11]                 │ debg Find.waitForElementStale with timeout=10000
[00:05:11]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:05:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:05:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:12]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 10, 2019 @ 12:40:08.078)
[00:05:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:12]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:05:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:05:12]                 │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:05:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:05:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:05:12]                 │ debg Find.waitForElementStale with timeout=10000
[00:05:13]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:13]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:13]                 │ debg TestSubjects.exists(filter-popover_location)
[00:05:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filter-popover_location"]') with timeout=120000
[00:05:13]                 │ debg TestSubjects.click(filter-popover_location)
[00:05:13]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover_location"]') with timeout=10000
[00:05:13]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover_location"]') with timeout=10000
[00:05:13]                 │ debg TestSubjects.exists(filter-popover-item_mpls)
[00:05:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filter-popover-item_mpls"]') with timeout=120000
[00:05:13]                 │ debg TestSubjects.click(filter-popover-item_mpls)
[00:05:13]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover-item_mpls"]') with timeout=10000
[00:05:13]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover-item_mpls"]') with timeout=10000
[00:05:13]                 │ debg TestSubjects.click(filter-popover_location)
[00:05:13]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover_location"]') with timeout=10000
[00:05:13]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover_location"]') with timeout=10000
[00:05:13]                 │ debg TestSubjects.exists(filter-popover_port)
[00:05:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filter-popover_port"]') with timeout=120000
[00:05:13]                 │ debg TestSubjects.click(filter-popover_port)
[00:05:13]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover_port"]') with timeout=10000
[00:05:13]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover_port"]') with timeout=10000
[00:05:13]                 │ debg TestSubjects.exists(filter-popover-item_5678)
[00:05:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filter-popover-item_5678"]') with timeout=120000
[00:05:14]                 │ debg TestSubjects.click(filter-popover-item_5678)
[00:05:14]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover-item_5678"]') with timeout=10000
[00:05:14]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover-item_5678"]') with timeout=10000
[00:05:14]                 │ debg TestSubjects.click(filter-popover_port)
[00:05:14]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover_port"]') with timeout=10000
[00:05:14]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover_port"]') with timeout=10000
[00:05:14]                 │ debg TestSubjects.exists(filter-popover_scheme)
[00:05:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filter-popover_scheme"]') with timeout=120000
[00:05:14]                 │ debg TestSubjects.click(filter-popover_scheme)
[00:05:14]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover_scheme"]') with timeout=10000
[00:05:14]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover_scheme"]') with timeout=10000
[00:05:14]                 │ debg TestSubjects.exists(filter-popover-item_http)
[00:05:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filter-popover-item_http"]') with timeout=120000
[00:05:14]                 │ debg TestSubjects.click(filter-popover-item_http)
[00:05:14]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover-item_http"]') with timeout=10000
[00:05:14]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover-item_http"]') with timeout=10000
[00:05:15]                 │ debg TestSubjects.click(filter-popover_scheme)
[00:05:15]                 │ debg Find.clickByCssSelector('[data-test-subj="filter-popover_scheme"]') with timeout=10000
[00:05:15]                 │ debg Find.findByCssSelector('[data-test-subj="filter-popover_scheme"]') with timeout=10000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0000-intermittent)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0000-intermittent"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0001-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0001-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0002-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0002-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0003-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0003-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0004-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0004-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0005-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0005-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0006-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0006-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0007-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0007-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0008-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0008-up"]') with timeout=120000
[00:05:15]                 │ debg TestSubjects.exists(monitor-page-link-0009-up)
[00:05:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0009-up"]') with timeout=120000
[00:05:15]                 └- ✓ pass  (14.6s) "Uptime app with real-world data overview page applies filters for multiple fields"
[00:05:15]               └-> pagination is cleared when filter criteria changes
[00:05:15]                 └-> "before each" hook: global before each
[00:05:15]                 └-> "before each" hook: delete settings
[00:05:15]                   │ debg Deleting saved object [object Object]/%s
[00:05:16]                 │ debg navigating to uptime url: http://localhost:6161/app/uptime
[00:05:16]                 │ debg navigate to: http://localhost:6161/app/uptime
[00:05:16]                 │ debg browser[INFO] http://localhost:6161/app/uptime?_t=1586377268403 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:05:16]                 │
[00:05:16]                 │ debg browser[INFO] http://localhost:6161/bundles/app/uptime/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:16]                 │ debg ... sleep(700) start
[00:05:17]                 │ debg ... sleep(700) end
[00:05:17]                 │ debg returned from get, calling refresh
[00:05:18]                 │ debg browser[INFO] http://localhost:6161/app/uptime?_t=1586377268403 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:05:18]                 │
[00:05:18]                 │ debg browser[INFO] http://localhost:6161/bundles/app/uptime/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:18]                 │ debg currentUrl = http://localhost:6161/app/uptime
[00:05:18]                 │          appUrl = http://localhost:6161/app/uptime
[00:05:18]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:22]                 │ debg browser[INFO] http://localhost:6161/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-08T20:21:13Z
[00:05:22]                 │        Adding connection to http://localhost:6161/elasticsearch
[00:05:22]                 │
[00:05:22]                 │      "
[00:05:22]                 │ debg ... sleep(501) start
[00:05:23]                 │ debg ... sleep(501) end
[00:05:23]                 │ debg in navigateTo url = http://localhost:6161/app/uptime
[00:05:23]                 │ debg TestSubjects.exists(statusPageContainer)
[00:05:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:25]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:26]                 │ debg Setting absolute range to Sep 10, 2019 @ 12:40:08.078 to Sep 11, 2019 @ 19:40:08.078
[00:05:26]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:05:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:05:26]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:05:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:05:26]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:05:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:05:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:05:26]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:05:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:05:26]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:05:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:05:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:05:26]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:05:26]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:05:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:26]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:26]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 11, 2019 @ 19:40:08.078)
[00:05:26]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:26]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:26]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:27]                 │ debg ... sleep(500) start
[00:05:27]                 │ debg ... sleep(500) end
[00:05:27]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:05:27]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:05:27]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:05:27]                 │ debg Find.waitForElementStale with timeout=10000
[00:05:28]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:05:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:05:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:28]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 10, 2019 @ 12:40:08.078)
[00:05:28]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:28]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:05:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:05:28]                 │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:05:28]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:05:28]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:05:28]                 │ debg Find.waitForElementStale with timeout=10000
[00:05:29]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:29]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:29]                 │ debg TestSubjects.click(xpack.uptime.monitorList.nextButton)
[00:05:29]                 │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.monitorList.nextButton"]') with timeout=5000
[00:05:29]                 │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.monitorList.nextButton"]') with timeout=5000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0010-down)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0010-down"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0011-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0011-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0012-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0012-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0013-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0013-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0014-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0014-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0015-intermittent)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0015-intermittent"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0016-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0016-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0017-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0017-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0018-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0018-up"]') with timeout=120000
[00:05:29]                 │ debg TestSubjects.exists(monitor-page-link-0019-up)
[00:05:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-0019-up"]') with timeout=120000
[00:05:34]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0012-up"] is not displayed
[00:05:39]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0014-up"] is not displayed
[00:05:44]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0016-up"] is not displayed
[00:05:49]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0018-up"] is not displayed
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0010-down"] is not displayed
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0011-up"] is not displayed
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0013-up"] is not displayed
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0015-intermittent"] is not displayed
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0017-up"] is not displayed
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj="monitor-page-link-0019-up"] is not displayed
[00:06:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:34]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:39]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:09]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:09]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:30]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:30]                 │ debg --- retry.tryForTime error: expected testSubject(monitor-page-link-0013-up) to exist
[00:07:31]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Uptime app with real-world data overview page pagination is cleared when filter criteria changes.png"
[00:07:40]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:42]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:55]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:07:57]                 │ info Current URL is: http://localhost:6161/app/uptime#/app/uptime?_t=1586377268403&dateRangeStart=2019-09-10T12%3A40%3A08.078Z&dateRangeEnd=2019-09-11T19%3A40%3A08.078Z
[00:07:58]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Uptime app with real-world data overview page pagination is cleared when filter criteria changes.html
[00:07:58]                 └- ✖ fail: "Uptime app with real-world data overview page pagination is cleared when filter criteria changes"
[00:07:58]                 │

Stack Trace

Error: retry.tryForTime timeout: Error: expected testSubject(monitor-page-link-0013-up) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:62:15)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

History

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

@@ -6,40 +6,26 @@

import React from 'react';
import * as reactTestingLibrary from '@testing-library/react';
import { Provider } from 'react-redux';
import { I18nProvider } from '@kbn/i18n/react';
Copy link
Contributor

Choose a reason for hiding this comment

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

why remove the i18n bits? ...cause its a test file and it isn't being tested / translated yet?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @EricDavisX . It's removed explicitly from here, but still used via createAppRootMockRender().
In my prior PR I pushed through a custom test renderer that add a wrapper around the component being tested that includes all of the context providers that the app uses at runtime.
See:

  • x-pack/plugins/endpoint/public/applications/endpoint/mocks/app_context_render.tsx:44, And
  • x-pack/plugins/endpoint/public/applications/endpoint/view/app_root_provider.tsx:23

@paul-tavares paul-tavares merged commit 5e1c0be into elastic:master Apr 9, 2020
@paul-tavares paul-tavares deleted the task/emt-291-host-link-to-logs branch April 9, 2020 15:56
});

it('should navigate to logs without full page refresh', async () => {
// FIXME: this is not working :(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI - I will remove this in next PR.

jloleysens added a commit to jloleysens/kibana that referenced this pull request Apr 9, 2020
…chore/put-all-xjson-together

* 'master' of github.com:elastic/kibana:
  [EPM] Update UI copy to use `integration` (elastic#63077)
  [NP] Inline buildPointSeriesData and buildHierarchicalData dependencies (elastic#61575)
  [Maps] create NOT EXISTS filter for tooltip property with no value (elastic#62849)
  [Endpoint] Add link to Logs UI to the Host Details view (elastic#62852)
  [UI COPY] Fixes typo in max_shingle_size for search_as_you_type (elastic#63071)
  [APM] docs: add alerting examples for APM (elastic#62864)
  [EPM] Change PACKAGES_SAVED_OBJECT_TYPE id (elastic#62818)
  docs: fix rendering of bulleted list (elastic#62855)
  Exposed AddMessageVariables as separate component (elastic#63007)
  Add Data - Adding cloud reset password link to cloud instructions (elastic#62835)
  [ML] DF Analytics:  update memory estimate after adding exclude fields (elastic#62850)
  [Table Vis] Fix visualization overflow (elastic#62630)
  [Endpoint][EPM] Endpoint depending on ingest manager to initialize (elastic#62871)
  [Remote clusters] Fix flaky jest tests (elastic#58768)
  [Discover] Hide time picker when an indexpattern without timefield is selected (elastic#62134)
  Move search source parsing and serializing to data (elastic#59919)
  [ML] Functional tests - stabilize typing in mml input (elastic#63091)
  [data.search.aggs]: Clean up TimeBuckets implementation (elastic#62123)
  [ML] Functional transform tests - stabilize source selection (elastic#63087)
  add embed flag to saved object url as well (elastic#62926)

# Conflicts:
#	x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/es_index.tsx
paul-tavares added a commit that referenced this pull request Apr 10, 2020
)

* Add LinktoApp to host details for logs

* initial setup for testing link on details

* Export interface AppContextTestRender for reference in tests

* Refactor hosts tests to use AppContextTestRender

* Render full details and validate link to logs

* one more test to ensure we navigate to app (not full page refresh)

* Fixes post master merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Endpoint Elastic Endpoint feature release_note:skip Skip the PR/issue when compiling release notes v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants