From 5dba80760b62d4e22003bc3f8a5bf3aee2e8746f Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Thu, 11 Aug 2022 08:14:26 +0200 Subject: [PATCH] increase timeout (#138536) --- x-pack/test/functional/page_objects/lens_page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/functional/page_objects/lens_page.ts b/x-pack/test/functional/page_objects/lens_page.ts index 33d48321cfb8a..2d9eff8fefd9c 100644 --- a/x-pack/test/functional/page_objects/lens_page.ts +++ b/x-pack/test/functional/page_objects/lens_page.ts @@ -70,7 +70,7 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont async assertExpectedText(selector: string, test: (value?: string) => boolean) { let actualText: string | undefined; - await retry.waitForWithTimeout('assertExpectedText', 1000, async () => { + await retry.waitForWithTimeout('assertExpectedText', 5000, async () => { actualText = await find.byCssSelector(selector).then((el) => el.getVisibleText()); return test(actualText); });