From cd784150843a57b9f29c8f69168e759c7ec2f12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 9 Oct 2026 13:04:27 +0200 Subject: [PATCH] test(documents): check the archive grid under the flowing default The vault runs its months side by side by default now, so a month is marked above its first document and no longer has a heading row. The grid check reads the arrangement and the month marker instead of an h2. --- e2e/documents.spec.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e2e/documents.spec.ts b/e2e/documents.spec.ts index 4cd77f256..18aa9dbca 100644 --- a/e2e/documents.spec.ts +++ b/e2e/documents.spec.ts @@ -165,9 +165,13 @@ test.describe("document vault", () => { const firstRow = page.locator('[data-slot="document-month-row"]').first(); await expect(firstRow).toBeVisible({ timeout: 15_000 }); - // Month headings stay the grid's section labels. + // The months run side by side by default: a month is marked above + // its first document instead of taking a heading row of its own. await expect( - page.locator('[data-slot="document-timeline"] h2').first(), + page.locator('[data-slot="document-timeline"]'), + ).toHaveAttribute("data-arrangement", "flow"); + await expect( + page.locator('[data-slot="document-flow-month"]').first(), ).toBeVisible(); // Tiles with the preview on top, and at most `columns` side by side: