From 9bbb437592736b63abc919bbb4170c18799a0166 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Sat, 12 Sep 2026 23:02:16 -0700 Subject: [PATCH] test: check searched destination and context on their respective lines --- scripts/qa-location-controls.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/qa-location-controls.mjs b/scripts/qa-location-controls.mjs index 20b0bf861..5a7578ef3 100644 --- a/scripts/qa-location-controls.mjs +++ b/scripts/qa-location-controls.mjs @@ -132,7 +132,8 @@ try { const ui = window.__godsEyeView.styleManager; return ( ui._searchedLocationLabel === 'Second landmark, Test city' && - ui._locationMiniPoi.textContent.includes('Second landmark') && + ui._locationMiniCity.textContent.includes('Second landmark') && + ui._locationMiniPoi.textContent === 'Test city' && ui.activeStyle === 'normal' && !ui._locationSearch.classList.contains('searching') );