mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Revert "Add Settings editor smoke tests" (#189848)
Revert "Add Settings editor smoke tests (#189687)"
This reverts commit e1dfb2a559.
This commit is contained in:
@@ -53,21 +53,4 @@ export class SettingsEditor {
|
||||
await this.quickaccess.runCommand('workbench.action.openSettingsJson');
|
||||
await this.editor.waitForEditorFocus('settings.json', 1);
|
||||
}
|
||||
|
||||
async openUserSettingsUI(): Promise<void> {
|
||||
await this.quickaccess.runCommand('workbench.action.openSettings2');
|
||||
await this.code.waitForElement('.settings-editor');
|
||||
}
|
||||
|
||||
async searchSettingsUI(query: string): Promise<void> {
|
||||
await this.openUserSettingsUI();
|
||||
await this.code.waitAndClick('.settings-editor .suggest-input-container .monaco-editor textarea');
|
||||
if (process.platform === 'darwin') {
|
||||
await this.code.dispatchKeybinding('cmd+a');
|
||||
} else {
|
||||
await this.code.dispatchKeybinding('ctrl+a');
|
||||
}
|
||||
await this.code.dispatchKeybinding('Delete');
|
||||
await this.code.waitForTypeInEditor('.settings-editor .suggest-input-container .monaco-editor textarea', query);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user