From 675b8c3da07e8005b3480a458d0ad1becb7922ff Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Wed, 13 Apr 2022 17:37:52 +0200 Subject: [PATCH] smoke - fix compile --- test/automation/src/application.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/automation/src/application.ts b/test/automation/src/application.ts index fbb46a40d4d..23c9e630ea2 100644 --- a/test/automation/src/application.ts +++ b/test/automation/src/application.ts @@ -6,6 +6,7 @@ import { Workbench } from './workbench'; import { Code, launch, LaunchOptions } from './code'; import { Logger, measureAndLog } from './logger'; +import { PlaywrightDriver } from './playwrightDriver'; export const enum Quality { Dev, @@ -145,7 +146,7 @@ export class Application { const driver = code.driver; // Web / Legacy: just poll for workbench element - if (this.web) { + if (this.web || !(driver instanceof PlaywrightDriver)) { await measureAndLog(code.waitForElement('.monaco-workbench'), 'Application#checkWindowReady: wait for .monaco-workbench element', this.logger); }