mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 03:14:00 +00:00
test: check searched destination and context on their respective lines
This commit is contained in:
1 parent
220caf5427
commit
9bbb437592
1 file changed
+2
-1
@@ -132,7 +132,8 @@ try {
|
|||||||
const ui = window.__godsEyeView.styleManager;
|
const ui = window.__godsEyeView.styleManager;
|
||||||
return (
|
return (
|
||||||
ui._searchedLocationLabel === 'Second landmark, Test city' &&
|
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.activeStyle === 'normal' &&
|
||||||
!ui._locationSearch.classList.contains('searching')
|
!ui._locationSearch.classList.contains('searching')
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user