diff --git a/x-pack/test/functional/apps/infra/hosts_view.ts b/x-pack/test/functional/apps/infra/hosts_view.ts index e8f7730522f42..8934e2180e5ad 100644 --- a/x-pack/test/functional/apps/infra/hosts_view.ts +++ b/x-pack/test/functional/apps/infra/hosts_view.ts @@ -471,12 +471,14 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await waitForPageToLoad(); }); - it('maintains selected date range when navigating to the individual host details', async () => { + it('should maintain the selected date range when navigating to the individual host details', async () => { const start = START_HOST_PROCESSES_DATE.format(DATE_PICKER_FORMAT); const end = END_HOST_PROCESSES_DATE.format(DATE_PICKER_FORMAT); await pageObjects.timePicker.setAbsoluteRange(start, end); + await waitForPageToLoad(); + const hostDetailLinks = await pageObjects.infraHostsView.getAllHostDetailLinks(); expect(hostDetailLinks.length).not.to.equal(0);