smoke - harden data migration test

This commit is contained in:
Benjamin Pasero 2021-07-06 12:10:08 +02:00
parent 40172a4729
commit 7a0714a6e5
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65

View file

@ -83,7 +83,8 @@ export function setup(stableCodePath: string, testDataPath: string) {
const insidersApp = new Application(insiderOptions);
await insidersApp!.start(false /* not expecting walkthrough path */);
await insidersApp.workbench.editors.waitForActiveTab(readmeMd, true);
await insidersApp.workbench.editors.waitForTab(readmeMd, true);
await insidersApp.workbench.editors.selectTab(readmeMd);
await insidersApp.workbench.editor.waitForEditorContents(readmeMd, c => c.indexOf(textToType) > -1);
await insidersApp.workbench.editors.waitForTab(untitled, true);