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.

Navigate the composed drawers with the shipped tab semantics

pulse-triage[bot]51e7cf634e25
diff --git a/frontend-modern/browser-tests/drawer-composition.cjs b/frontend-modern/browser-tests/drawer-composition.cjs
index 77f2453b4d..6a649b807a 100644
--- a/frontend-modern/browser-tests/drawer-composition.cjs
+++ b/frontend-modern/browser-tests/drawer-composition.cjs
@@ -123,9 +123,9 @@ async function box(locator) {
const memoryCard = overview.getByTestId('drawer-trend-card-memory'); assert.match(await memoryCard.getAttribute('class'), /amber/);
await memoryCard.locator('[data-testid="drawer-trend-threshold"]').waitFor({ state: 'attached' });
await overview.getByTestId('drawer-trend-card-memory').locator('svg').waitFor();
- await activate(page.getByRole('button', { name: 'History', exact: true }));
+ await activate(page.getByRole('tab', { name: 'History', exact: true }));
await page.getByTestId('guest-history-group-chart').first().waitFor();
- await activate(page.getByRole('button', { name: 'Overview', exact: true }));
+ await activate(page.getByRole('tab', { name: 'Overview', exact: true }));
record.states.push('Fresh read withdraws deferral; metric alert trend threshold and on-demand History retained');
await page.goto(origin + '/node', { waitUntil: 'networkidle' });