(e2e) adapt test to new Blocknote release

Copy as html provide a html lightly different than
before, so the test was adapted to the new html
provided.
This commit is contained in:
Anthony LC
2025-01-02 15:21:51 +01:00
committed by Anthony LC
parent 3b2834cf6d
commit 2491ad7142

View File

@@ -471,9 +471,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>`);
});
});