mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Corrects keyboard shortcuts for Linux web smoke tests (#17301)
* Corrects keyboard shortcuts for linux * Changed python to match the one listed in docker/Dockerfile * Revert "Changed python to match the one listed in docker/Dockerfile" This reverts commit 683c226eb600bc89b449f258d463d2a6b14aebe6. * Adjusts retry count for dialog elements to close. * Code clean up * Revert "Adjusts retry count for dialog elements to close." This reverts commit 64a8bf48fa72eb26830aeaa55721c7ff846d131e. * Code cleanup * Adjusts key binding
This commit is contained in:
@@ -9,7 +9,7 @@ import { QuickInput } from '../quickinput';
|
||||
import { Editors } from '../editors';
|
||||
import { IElement } from '..';
|
||||
|
||||
const winOrCtrl = process.platform === 'darwin' ? 'ctrl' : 'win';
|
||||
const winOrCtrl = process.platform === 'win32' ? 'win' : 'ctrl';
|
||||
|
||||
export class Notebook {
|
||||
|
||||
@@ -32,7 +32,7 @@ export class Notebook {
|
||||
}
|
||||
|
||||
async newUntitledNotebook(): Promise<void> {
|
||||
await this.code.dispatchKeybinding(winOrCtrl + '+alt+n');
|
||||
await this.code.dispatchKeybinding(winOrCtrl + '+Alt+n');
|
||||
await this.editors.waitForActiveTab(`Notebook-0`);
|
||||
await this.code.waitForElement('.notebookEditor');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user