Fix the trail and decoded-weather probes on both engines

Both probes called waitForEngine without the engine kind, which can never
match and timed out after 120 s; waitForEngine now rejects a missing kind.
The trail probe passed no result vectors to the geo helpers, and drew its
trail below the ground, where only the dimmed occluded pass showed it; it
now draws halfway down to the ground and both engines count the same
pixels.
This commit is contained in:
German Khokhlov committed 2026-11-11 14:01:29 +04:00
1 parent 1856477e0a
commit 2d0aa25e35
3 files changed
+25 -7

No files matched your search

+2
View File
@@ -747,6 +747,8 @@ export async function pickEngine(
/** Wait until `kind` runs, its picker is idle and its view is restored. */
export async function waitForEngine(page, kind, { timeout = 120000 } = {}) {
if (kind !== 'cesium' && kind !== 'navara')
throw new TypeError(`waitForEngine needs the engine kind, got ${kind}`);
const started = Date.now();
await page.waitForFunction(
(expected) =>