Skip to content

Commit 2491ad7

Browse files
committed
✅(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.
1 parent 3b2834c commit 2491ad7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,7 @@ test.describe('Doc Header', () => {
471471
navigator.clipboard.readText(),
472472
);
473473
const clipboardContent = await handle.jsonValue();
474-
expect(clipboardContent.trim()).toBe(
475-
`<h1 data-level="1">Hello World</h1><p></p>`,
476-
);
474+
expect(clipboardContent.trim()).toBe(`<h1>Hello World</h1><p></p>`);
477475
});
478476
});
479477

0 commit comments

Comments
 (0)