test: check layer counts after lifecycle initialization

This commit is contained in:
Sameh Khamis committed 2026-09-12 22:43:01 -07:00
1 parent dec9dd288c
commit 9f6cde79fd
1 file changed
+4 -4
+4 -4
View File
@@ -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',