From fdd1068c90d4bcafc6600739e54b617d29aee1c1 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 10 Feb 2025 09:53:00 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85(frontend)=20fix=20test=20copy=20html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The recent upgrade of Blocknote has caused the test to fail. This commit updates the test to reflect the new html structure. --- .../apps/e2e/__tests__/app-impress/doc-header.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts index 8bf98848..1012c2c3 100644 --- a/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts @@ -395,9 +395,7 @@ test.describe('Doc Header', () => { navigator.clipboard.readText(), ); const clipboardContent = await handle.jsonValue(); - expect(clipboardContent.trim()).toBe( - `

Hello World

`, - ); + expect(clipboardContent.trim()).toBe(`

Hello World

`); }); test('it checks the copy link button', async ({ page }) => {