From 8c696b8fe7cb05922d312c8ca40fe9ecd6aef30b Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Fri, 20 Nov 2026 17:44:36 +0800 Subject: [PATCH] test(e2e): follow the split panes of the Inspections and Plugins settings (#4769) #4629 and #4636 moved the Inspections and Plugins settings into resizable split panels; the shared settings layout specs now select the details section and profile label through the new structure. --- e2e/compactSettingsControls.spec.ts | 2 +- e2e/settingsPaneLayout.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/compactSettingsControls.spec.ts b/e2e/compactSettingsControls.spec.ts index 6d5614026..9abe7ed36 100644 --- a/e2e/compactSettingsControls.spec.ts +++ b/e2e/compactSettingsControls.spec.ts @@ -4,7 +4,7 @@ for (const [id, selector] of [ ["general", "[class*='radios'] label"], ["notifications", "table tbody td:first-child"], ["keymap", "[class*='presetLabel']"], - ["editor.inspections", "[class*='profileRow'] > span:first-child"], + ["editor.inspections", "[class*='profileControls'] > span:first-child"], ["vcs.issueNavigation", "[class*='pageBody'] button:not([aria-label])"], ] as const) { test(`${id} keeps compact labels inside their controls`, async ({ workbench: page }) => { diff --git a/e2e/settingsPaneLayout.spec.ts b/e2e/settingsPaneLayout.spec.ts index 048c8cb6c..6f4856a36 100644 --- a/e2e/settingsPaneLayout.spec.ts +++ b/e2e/settingsPaneLayout.spec.ts @@ -2,9 +2,9 @@ import { expect, test } from "./fixtures"; for (const [id, selector] of [ ["build.deployment", "[class*='layout'] > [class*='note']"], - ["editor.inspections", "[class*='split'] > [class*='details']"], + ["editor.inspections", "[class*='split'] section[class*='details']"], ["languages.servers", "[class*='body'] > [class*='language'][aria-label]"], - ["plugins", "[class*='body'] > [class*='details']"], + ["plugins", "[class*='body'] [class*='details'][aria-label]"], ["agents.list", "section[aria-label='Codex']"], ] as const) { test(`${id} keeps its details usable beside the list`, async ({ workbench: page }) => {