From 6dc643182ef9e8103e73bda448b585ed6c3367df Mon Sep 17 00:00:00 2001 From: German Khokhlov Date: Sat, 7 Nov 2026 04:36:31 +0400 Subject: [PATCH] Count OSM Places on the movers set on both engines in the open layers scenario OSM Places draws through one display on every engine now, so on Cesium its points are a movers set too, not a data source's entities. --- scripts/qa-open-layers-switch.mjs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/qa-open-layers-switch.mjs b/scripts/qa-open-layers-switch.mjs index 3a8ff7d3e..410e72022 100644 --- a/scripts/qa-open-layers-switch.mjs +++ b/scripts/qa-open-layers-switch.mjs @@ -231,12 +231,10 @@ await strict.run({}, async (b) => { await setEnabled('osm-places', true); const places = await p.evaluate(() => { const d = window.__godsEyeView; + // Both engines draw the places as one movers point set. const drawn = - d.engine.kind === 'navara' - ? (d.engine.movers.list().find((set) => set.id === 'osm-places') - ?.count ?? 0) - : (d.viewer.dataSources.getByName('osm-places')[0]?.entities.values - .length ?? 0); + d.engine.movers.list().find((set) => set.id === 'osm-places')?.count ?? + 0; return { records: window.qaModels['osm-places'].getAnalystRecords().length, drawn,