Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Capture Docker safety help after theme transitions settle

pulse-triage[bot]1b97f2d94b3f
diff --git a/frontend-modern/browser-tests/docker-update-guidance.cjs b/frontend-modern/browser-tests/docker-update-guidance.cjs
index 7bc69a5388..bfddf3c4ae 100644
--- a/frontend-modern/browser-tests/docker-update-guidance.cjs
+++ b/frontend-modern/browser-tests/docker-update-guidance.cjs
@@ -61,6 +61,12 @@ const { chromium, webkit } = require('playwright');
);
};
await waitForHeading('before-updating-a-workload');
+ // Theme colours transition after the root class changes. Capture settled
+ // content, not an intermediate grey background on the phone fixture.
+ await page.evaluate(
+ () => new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve))),
+ );
+ await page.waitForFunction(() => document.getAnimations().length === 0);
const article = await page.locator('article').innerText();
for (const text of [
'independent, consistent backup',