From 4c4f24355f681a20eea2eb9f65c43b871a68d407 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Sat, 14 Nov 2026 16:27:54 -0800 Subject: [PATCH] Give the voice test's stub row a classList.contains focusDataLayerRow now asks whether the finder hides the row. Co-authored-by: Manjunath Paparaju --- src/voice/gevActions.test.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/voice/gevActions.test.mjs b/src/voice/gevActions.test.mjs index 98bc786db..3b421e340 100644 --- a/src/voice/gevActions.test.mjs +++ b/src/voice/gevActions.test.mjs @@ -1954,7 +1954,11 @@ test('showing a layer opens the panel that holds its row: Directions lives in Ut const focused = []; const rowIn = (panelId) => ({ dataset: { layerName: panelId === 'utilities-panel' ? 'Directions' : 'Live Flights' }, - classList: { add: (name) => focused.push(name), remove() {} }, + classList: { + add: (name) => focused.push(name), + remove() {}, + contains: () => false, + }, scrollIntoView() {}, closest: (selector) => (selector === '[data-panel-id]' ? { id: panelId } : null), });