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.

Observe composed guidance focus after the rendered frame

pulse-triage[bot]28574fa4b530
diff --git a/frontend-modern/browser-tests/drawer-composition.cjs b/frontend-modern/browser-tests/drawer-composition.cjs
index d1a44c101b..b96f46f0f2 100644
--- a/frontend-modern/browser-tests/drawer-composition.cjs
+++ b/frontend-modern/browser-tests/drawer-composition.cjs
@@ -99,6 +99,7 @@ async function box(locator) {
assert(record.os.right <= width && record.os.left >= 0); await noOverflow();
const reading = overview.getByRole('link', { name: 'Filesystem reading guidance' });
await reading.scrollIntoViewIfNeeded(); await reading.focus(); await page.keyboard.press('Shift+Tab'); await page.keyboard.press('Tab');
+ await page.evaluate(async () => { await document.fonts.ready; await new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve))); });
record.reading = await box(reading); assert.equal(record.reading.focusVisible, true); assert.equal(record.reading.outline, 'solid'); assert.equal(record.reading.outlineWidth, '2px');
assert.equal(record.reading.height, width < 768 ? 44 : 16); await capture('guest-unknown');
await activate(reading); await page.waitForURL('**/docs/VM_DISK_MONITORING#*');