mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Adding acceptance condition to dispatchKeybinding in smoketests (#242570)
* adding code for smoke tests * adding awaits * changing wait code * renaming dispatch to send * moving comment * update to send
This commit is contained in:
committed by
GitHub
parent
85460c37d4
commit
fa548237be
@@ -129,8 +129,8 @@ export class Code {
|
||||
return await this.driver.stopTracing(name, persist);
|
||||
}
|
||||
|
||||
async dispatchKeybinding(keybinding: string): Promise<void> {
|
||||
await this.driver.dispatchKeybinding(keybinding);
|
||||
async sendKeybinding(keybinding: string, accept?: () => Promise<void> | void): Promise<void> {
|
||||
await this.driver.sendKeybinding(keybinding, accept);
|
||||
}
|
||||
|
||||
async didFinishLoad(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user