From bf7bb0925d8918aac6316907555d5f535643fe94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 27 Sep 2026 03:00:37 +0200 Subject: [PATCH] test(a11y): give the mocked backups list its off-host deletion and lifecycle fields The off-host card reads pendingDeletions and lifecycle, which the route always sends. The mock predated them, so the card threw and the page never painted its rows. The mock now carries a refused deletion and a bucket without an expiry rule, so the scan reaches both new lines. --- e2e/a11y.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/e2e/a11y.spec.ts b/e2e/a11y.spec.ts index 7f80a9c0f..b809d4784 100644 --- a/e2e/a11y.spec.ts +++ b/e2e/a11y.spec.ts @@ -755,6 +755,15 @@ async function installA11yMocks(page: Page) { freshness: "unknown", }, ], + // A deletion the bucket refused, and a bucket with no expiry rule: + // both lines paint only in these states, and both are what an + // operator has to read and act on. + pendingDeletions: { + count: 2, + oldestRequestedAt: "2026-07-18T03:00:00.000Z", + lastFailure: "AccessDenied", + }, + lifecycle: { state: "missing", expirationDays: null }, }, }), );