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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Keep backup layout checks aligned with completed restore points
pulse-triage[bot]1b32222549b1
diff --git a/tests/integration/tests/17-proxmox-backups-layout.spec.ts b/tests/integration/tests/17-proxmox-backups-layout.spec.tsindex 236777b261..0bcb2e98af 100644--- a/tests/integration/tests/17-proxmox-backups-layout.spec.ts+++ b/tests/integration/tests/17-proxmox-backups-layout.spec.ts@@ -45,9 +45,9 @@ async function openProxmoxBackups(page: Page) {// The route commits before the Proxmox snapshot finishes loading. CI can// take more than a minute while all E2E shards share the runner, so wait for// the destination surface rather than the URL alone.- await expect(page.getByText("Backups per day").first()).toBeVisible({- timeout: 120_000,- });+ await expect(+ page.getByText("Completed restore points per day", { exact: true }),+ ).toBeVisible({ timeout: 120_000 });await expect(page.getByRole("group", { name: "Activity range" })).toBeVisible({ timeout: 60_000 },);@@ -73,19 +73,30 @@ test.describe("Proxmox backups layout guards", () => {await openProxmoxBackups(page);// The Backups section now opens the date view directly.- const dayButtons = page.getByRole("button", { name: /: \d+ backups?$/ });+ // The chart counts completed restore points, while the inventory keeps+ // running and failed backup entries available for inspection.+ const dayButtons = page.getByRole("button", {+ name: /: \d+ restore points?$/,+ });await expect.poll(() => dayButtons.count()).toBeGreaterThanOrEqual(7);- const totalCopy = page.getByText(/^\d+ backups$/).first();+ const totalCopy = page.getByText(/^\d+ backup entries$/).first();await expect(totalCopy).toBeVisible();+ const unfilteredCount = await totalCopy.innerText();// Picking a day narrows the table without navigating away.const activeDay = page- .getByRole("button", { name: /: [1-9]\d* backups?$/ })+ .getByRole("button", { name: /: [1-9]\d* restore points?$/ }).last();await activeDay.click();+ await expect(activeDay).toHaveAttribute("aria-pressed", "true");await expect(page).toHaveURL(/\/proxmox\/backups/);- await expect(page.getByText(/^\d+ of \d+ backups$/).first()).toBeVisible();+ await expect(+ page.getByText(/^\d+ of \d+ backup entries$/).first(),+ ).toBeVisible();++ await page.getByRole("button", { name: "Clear date filter", exact: true }).click();+ await expect(totalCopy).toHaveText(unfilteredCount);});test("long-range activity keeps the page inside the horizontal viewport", async ({@@ -106,7 +117,9 @@ test.describe("Proxmox backups layout guards", () => {.getByRole("button", { name: "1y" }).click();- const dayButtons = page.getByRole("button", { name: /: \d+ backups?$/ });+ const dayButtons = page.getByRole("button", {+ name: /: \d+ restore points?$/,+ });await expect.poll(() => dayButtons.count()).toBe(365);// A year of bars must stay contained: the chart may scroll internally but