From a433b647e4b86b116d464b27696ca434ddcee967 Mon Sep 17 00:00:00 2001 From: Bhavya RM Date: Mon, 5 Dec 2022 14:55:34 -0500 Subject: [PATCH] Fixing upgrade dashboard smoke test render error (#147037) --- x-pack/test/upgrade/apps/dashboard/dashboard_smoke_tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/test/upgrade/apps/dashboard/dashboard_smoke_tests.ts b/x-pack/test/upgrade/apps/dashboard/dashboard_smoke_tests.ts index 341d4af0e4c64..105620f90d6b7 100644 --- a/x-pack/test/upgrade/apps/dashboard/dashboard_smoke_tests.ts +++ b/x-pack/test/upgrade/apps/dashboard/dashboard_smoke_tests.ts @@ -51,6 +51,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should render visualizations', async () => { await PageObjects.home.launchSampleDashboard('flights'); await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.timePicker.setCommonlyUsedTime('Last_1 year'); await renderable.waitForRender(); log.debug('Checking saved searches rendered'); await dashboardExpect.savedSearchRowCount(49);