fix smoke tests

This commit is contained in:
Benjamin Pasero 2021-11-26 14:45:35 +01:00
parent 5cb1766018
commit 13ff6baa3f
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65

View file

@ -170,7 +170,7 @@ export function setup(opts: ParsedArgs, testDataPath: string) {
await insidersApp.workbench.editor.waitForEditorContents(readmeMd, c => c.indexOf(textToType) > -1);
await insidersApp.workbench.editors.waitForTab(untitled, true);
await insidersApp.workbench.quickaccess.openFile(textToTypeInUntitled);
await insidersApp.workbench.quickaccess.openFile(untitled, textToTypeInUntitled);
await insidersApp.workbench.editor.waitForEditorContents(untitled, c => c.indexOf(textToTypeInUntitled) > -1);
await insidersApp.stop();