test(a11y): cover delayed and interrupted Map Source focus

Keep the Esri settlement assertion exact, verify selected-source focus and Tab departure in Chromium, cancel pending work during disposal, and document the focused behavior.
This commit is contained in:
Sameh Khamis committed 2026-09-10 22:12:48 -07:00
1 parent 60812df34c
commit 231d339e92
6 files changed
+89 -14

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ test('the Visual Presets tray owns Map Source and the retired left panel is abse
'the compact wing must expose a semantic keyboard disclosure',
);
assert.match(ui, /event\.key !== 'Escape'[\s\S]*?disclosure\?\.focus/);
assert.match(ui, /map-stack-chip\.active, \.map-stack-chip/);
assert.match(ui, /querySelector\('\.map-stack-chip\.active'\)\s*\|\| panelEl\.querySelector\('\.map-stack-chip'\)/);
assert.match(
ui,