From e910fd5e1d0217cb61776296be22d8d2e28f4a6b Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 5 Sep 2025 13:15:02 +0200 Subject: [PATCH] smoke - use `workbench.action.clearEditorHistoryWithoutConfirm` consistently (#265146) --- test/automation/src/quickaccess.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/automation/src/quickaccess.ts b/test/automation/src/quickaccess.ts index d417a4a2c29..2c7c4054252 100644 --- a/test/automation/src/quickaccess.ts +++ b/test/automation/src/quickaccess.ts @@ -7,7 +7,6 @@ import { Editors } from './editors'; import { Code } from './code'; import { QuickInput } from './quickinput'; import { basename, isAbsolute } from 'path'; -import { Quality } from './application'; enum QuickAccessKind { Files = 1, @@ -23,11 +22,7 @@ export class QuickAccess { // make sure the file quick access is not "polluted" // with entries from the editor history when opening - if (this.code.quality !== Quality.Stable) { - await this.runCommand('workbench.action.clearEditorHistoryWithoutConfirm'); - } else { - await this.runCommand('workbench.action.clearEditorHistory'); - } + await this.runCommand('workbench.action.clearEditorHistoryWithoutConfirm'); const PollingStrategy = { Stop: true,