Revert "Add Settings editor smoke tests" (#189848)

Revert "Add Settings editor smoke tests (#189687)"

This reverts commit e1dfb2a559.
This commit is contained in:
Raymond Zhao
2023-08-07 10:40:37 -07:00
committed by GitHub
parent 24e689132d
commit 39e5dafcd6
2 changed files with 1 additions and 48 deletions

View File

@@ -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);
}
}