test: check searched destination and context on their respective lines

This commit is contained in:
Sameh Khamis committed 2026-09-12 23:02:16 -07:00
1 parent 220caf5427
commit 9bbb437592
1 file changed
+2 -1
+2 -1
View File
@@ -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')
);