From 7c1bf70a3c164ba287576002188a9587f808d116 Mon Sep 17 00:00:00 2001 From: Ilia Marchenko Date: Thu, 17 Oct 2024 12:03:38 +0300 Subject: [PATCH] WAT-3941 - No timeout displayed in log on waitForRoot call --- packages/web-application/src/web-application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-application/src/web-application.ts b/packages/web-application/src/web-application.ts index 18e26d0e0..7948f461e 100644 --- a/packages/web-application/src/web-application.ts +++ b/packages/web-application/src/web-application.ts @@ -71,7 +71,7 @@ export class WebApplication extends PluggableModule { public root = createElementPath(); static stepLogMessagesDecorator = { - waitForRoot(timeout) { + waitForRoot(timeout: number = this.WAIT_TIMEOUT) { return `Waiting for root element for ${timeout}`; }, waitForExist(xpath, timeout: number = this.WAIT_TIMEOUT) {