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.
This commit is contained in:
l0ng-ai
2026-11-20 17:44:36 +08:00
committed by GitHub
parent deecdbbf4f
commit 8c696b8fe7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 }) => {
+2 -2
View File
@@ -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 }) => {