Skip to content

Commit c2bd553

Browse files
committed
Refocus to the editor before typing in the editor
1 parent 05a1ad8 commit c2bd553

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/test/tools/tester/EditorTester.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export class EditorTester extends vet.TextEditor {
1919

2020
public async type (keys: string, message = ''): Promise<void> {
2121
console.log(`Sending keys to the editor. ${message}`);
22+
await this.click();
2223
return await this.findElement(vet.By.className('inputarea')).sendKeys(keys);
2324
}
2425

‎src/test/ui/debugging.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ suite('Debugging UI Tests', () => {
8686
this.skip()
8787
}
8888

89-
await editor.click()
9089
await editor.debugger.setBreakpointOnLine(5)
9190
await editor.type(Key.F5, 'F5 to run file')
9291

0 commit comments

Comments
 (0)