Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

test: check searched destination and context on their respective lines

Sameh Khamis9bbb43759273
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')
);