test(settings): measure notification labels in the group list (#4892)

#4810 replaced the notification group table with a listbox, and the compact settings test still waited for a table cell, so it timed out before measuring anything. It now measures the group labels inside the listbox.

Fixes #4891

Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com>

Co-authored-by: principalwater <67874880+principalwater@users.noreply.github.com>
This commit is contained in:
Vladislav Kuzmin
2026-11-21 06:55:23 +08:00
committed by GitHub
parent 82085a227e
commit 461c71a50b
+1 -1
View File
@@ -2,7 +2,7 @@ import { expect, test } from "./fixtures";
for (const [id, selector] of [
["general", "[class*='radios'] label"],
["notifications", "table tbody td:first-child"],
["notifications", "[role='listbox'] [role='option'] > [class*='notificationGroupLabel']"],
["keymap", "[class*='presetLabel']"],
["editor.inspections", "[class*='profileControls'] > span:first-child"],
["vcs.issueNavigation", "[class*='pageBody'] button:not([aria-label])"],