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
@@ -10,7 +10,7 @@ const fs = require('fs');
const path = require('path');
const root = path.dirname(path.dirname(path.dirname(__dirname)));
const driverPath = path.join(root, 'src/vs/platform/driver/common/driver.ts');
const driverPath = path.join(root, 'src/vs/workbench/services/driver/common/driver.ts');
let contents = fs.readFileSync(driverPath, 'utf8');
contents = /\/\/\*START([\s\S]*)\/\/\*END/mi.exec(contents)[1].trim();