mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
✅(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:
parent
3b2834cf6d
commit
2491ad7142
1 changed files with 1 additions and 3 deletions
|
|
@ -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>`);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue