mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Added waiting to give enough time for VS Code to type the text in the editor.
This commit is contained in:
parent
100f70c3fb
commit
bed537a416
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue