Fix extensions smoke test (#195264)

#193046
- add waitForWorkbenchRestored method to driver
- move driver to workbench
- wait for workbench to restore if command is not found
This commit is contained in:
Sandeep Somavarapu
2023-10-10 20:11:30 +02:00
committed by GitHub
parent 7a10a0e89b
commit 2f51809ca3
9 changed files with 45 additions and 25 deletions

View File

@@ -242,6 +242,10 @@ export class Code {
await this.poll(() => this.driver.writeInTerminal(selector, value), () => true, `writeInTerminal '${selector}'`);
}
whenWorkbenchRestored(): Promise<void> {
return this.driver.whenWorkbenchRestored();
}
getLocaleInfo(): Promise<ILocaleInfo> {
return this.driver.getLocaleInfo();
}