Added waiting to give enough time for VS Code to type the text in the editor.

This commit is contained in:
Michel Kaporin 2017-06-01 14:27:26 +02:00
parent 100f70c3fb
commit bed537a416

View file

@ -54,13 +54,13 @@ export function testDataLoss() {
// create one untitled file
await common.newUntitledFile();
await app.wait();
await common.type(textToType);
await app.wait();
// make one dirty file,
await common.openFile('readme.md', true);
await app.wait();
await common.type(textToType);
await app.wait();
await app.stop();
await app.start();