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 layer counts after lifecycle initialization

Sameh Khamis9f6cde79fdbd
diff --git a/scripts/qa-layer-panel.mjs b/scripts/qa-layer-panel.mjs
index e5885fafa..189de40bc 100644
--- a/scripts/qa-layer-panel.mjs
+++ b/scripts/qa-layer-panel.mjs
@@ -62,10 +62,6 @@ try {
row().querySelector('.data-name').textContent ===
'<b>Literal layer</b>' && !row().querySelector('b'),
]);
- result.push([
- 'count is presented from the supplied snapshot',
- row().querySelector('.data-count').textContent === '1.3K',
- ]);
result.push([
'row subscription is installed',
typeof listener === 'function',
@@ -78,6 +74,10 @@ try {
enabled === 0 && !manager.isEnabled(id),
]);
await manager.setEnabled(id, true);
+ result.push([
+ 'count is presented from the supplied snapshot',
+ row().querySelector('.data-count').textContent === '1.3K',
+ ]);
result.push([
'feed state reflects the settled layer snapshot',
row().querySelector('.data-toggle-btn').dataset.feedState === 'stale',