From 1b183f64fec8fbdcad5791a081620189480b7ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 14 Aug 2026 07:44:08 +0200 Subject: [PATCH] Wrap the widened assertion the way prettier wants it --- e2e/documents.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/documents.spec.ts b/e2e/documents.spec.ts index 5e057d5b9..c8dc20e21 100644 --- a/e2e/documents.spec.ts +++ b/e2e/documents.spec.ts @@ -392,7 +392,9 @@ test.describe("document vault", () => { await sheet.getByRole("button", { name: "Delete" }).click(); // Undo toast → restore → the card returns. - await expect(page.getByText("Document deleted", { exact: true })).toBeVisible(); + await expect( + page.getByText("Document deleted", { exact: true }), + ).toBeVisible(); await expect(openButton(page, `${title}.pdf`)).not.toBeVisible(); await page.getByRole("button", { name: "Undo" }).click(); await expect(openButton(page, `${title}.pdf`)).toBeVisible();