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();