From 5a7b7be28ac2bd213170cae23f73bbccf5c445fc Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Thu, 30 Nov 2023 12:58:41 +0100 Subject: [PATCH] throw error (#199653) --- test/automation/src/code.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/automation/src/code.ts b/test/automation/src/code.ts index 6eda072fb07..a925cdd65bc 100644 --- a/test/automation/src/code.ts +++ b/test/automation/src/code.ts @@ -251,13 +251,7 @@ export class Code { } async whenWorkbenchRestored(): Promise { - try { - await this.poll(() => this.driver.whenWorkbenchRestored(), () => true, `when workbench restored`); - } catch (error) { - // TODO: @sandy081 Remove this when 1.84.0 is out - // whenWorkbenchRestored was not implemented in the driver before 1.84.0 - this.logger.log('whenWorkbenchRestored() timed out'); - } + await this.poll(() => this.driver.whenWorkbenchRestored(), () => true, `when workbench restored`); } getLocaleInfo(): Promise {