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
Pick the sdc disk row by kind in the TrueNAS history spec
rcourtman206c352bef09
diff --git a/tests/integration/tests/27-truenas-storage-disk-history.spec.ts b/tests/integration/tests/27-truenas-storage-disk-history.spec.tsindex e567469bf9..7b388fe871 100644--- a/tests/integration/tests/27-truenas-storage-disk-history.spec.ts+++ b/tests/integration/tests/27-truenas-storage-disk-history.spec.ts@@ -119,7 +119,12 @@ test.describe("TrueNAS storage disk history", () => {await expect(search).toBeVisible({ timeout: 60_000 });await search.fill("sdc");- const diskRow = page.locator("tr").filter({ hasText: "sdc" }).first();+ // The archive pool row also mentions /dev/sdc, because its Health cell+ // carries the copied SMART alert, so pick the disk row by its kind.+ const diskRow = page+ .locator('tr[data-truenas-storage-kind="disk"]')+ .filter({ hasText: "sdc" })+ .first();await expect(diskRow).toBeVisible();await diskRow.getByRole("button").first().click();