(frontend) fix test copy html

The recent upgrade of Blocknote has caused the
test to fail.
This commit updates the test to reflect
the new html structure.
This commit is contained in:
Anthony LC
2025-02-10 09:53:00 +01:00
committed by Anthony LC
parent ba695bf647
commit fdd1068c90

View File

@@ -395,9 +395,7 @@ test.describe('Doc Header', () => {
navigator.clipboard.readText(),
);
const clipboardContent = await handle.jsonValue();
expect(clipboardContent.trim()).toBe(
`<h1 data-level=\"1\">Hello World</h1><p></p>`,
);
expect(clipboardContent.trim()).toBe(`<h1>Hello World</h1><p></p>`);
});
test('it checks the copy link button', async ({ page }) => {