resource integration
Some checks failed
Zone / build (push) Failing after 7s

This commit is contained in:
2026-06-26 14:44:40 +01:00
parent 9e182e01d6
commit 60695b377b
4 changed files with 111 additions and 25 deletions

View File

@@ -64,6 +64,7 @@ test('manifest v2 defines integrations and widgets', () => {
assert.ok(manifest.integrations?.authoring);
assert.ok(Array.isArray(manifest.widgets) && manifest.widgets.length >= 3);
assert.ok(manifest.widgets.some(w => w.id === 'scripts-health'));
assert.ok(manifest.widgets.some(w => w.id === 'system-resources' && w.type === 'systemResources'));
});
test('manifest defines unique link and build ids', () => {
@@ -155,6 +156,8 @@ test('dashboard module references manifest-driven API endpoints', () => {
assert.match(dashboardJs, /data\/manifest\.json/);
assert.match(dashboardJs, /\/api\/zone\/status/);
assert.match(dashboardJs, /renderWidgets/);
assert.match(dashboardJs, /systemResources/);
assert.match(dashboardJs, /resourceRow/);
assert.match(dashboardJs, /buildDomIds/);
assert.doesNotMatch(dashboardJs, /build-roam/);
assert.doesNotMatch(dashboardJs, /run-combined/);