feat: Table cell/column widths in API #2690
Annotations
7 errors, 5 warnings, and 1 notice
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar:
tests/src/end-to-end/theming/theming.test.ts#L50
1) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
Error: Screenshot comparison failed:
11970 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-webkit-linux.png
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-diff.png
48 |
49 | await page.waitForTimeout(500);
> 50 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png");
| ^
51 | });
52 | test("Should show dark slash menu", async ({ page }) => {
53 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:50:37
|
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar:
tests/src/end-to-end/theming/theming.test.ts#L50
1) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
11970 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-webkit-linux.png
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit-retry1/dark-link-toolbar-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit-retry1/dark-link-toolbar-diff.png
48 |
49 | await page.waitForTimeout(500);
> 50 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png");
| ^
51 | });
52 | test("Should show dark slash menu", async ({ page }) => {
53 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:50:37
|
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar:
tests/src/end-to-end/theming/theming.test.ts#L50
1) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
11970 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-webkit-linux.png
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit-retry2/dark-link-toolbar-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit-retry2/dark-link-toolbar-diff.png
48 |
49 | await page.waitForTimeout(500);
> 50 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png");
| ^
51 | });
52 | test("Should show dark slash menu", async ({ page }) => {
53 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:50:37
|
[firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L1
2) [firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block
Test timeout of 30000ms exceeded.
|
[firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L152
2) [firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block
Error: page.waitForSelector: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-content-type=heading][data-level="1"]') to be visible
150 | await page.click(DRAG_HANDLE_SELECTOR);
151 | await page.click("text=Delete");
> 152 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR);
| ^
153 | await page.waitForSelector(H_TWO_BLOCK_SELECTOR, { state: "detached" });
154 | await page.waitForSelector(H_THREE_BLOCK_SELECTOR);
155 |
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:152:16
|
[webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image:
tests/src/end-to-end/images/images.test.ts#L61
3) [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image
Error: Screenshot comparison failed:
17434 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-webkit-linux.png
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit/embed-image-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit/embed-image-diff.png
59 | await page.waitForTimeout(500);
60 | await compareDocToSnapshot(page, "embedImage");
> 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png");
| ^
62 | });
63 | test("Should be able to resize image", async ({ page }) => {
64 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
|
Build
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
2 flaky
[firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block
[webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image
18 skipped
201 passed (7.4m)
|
Slow Test:
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 25.6s
|
Slow Test:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 23.0s
|
Slow Test:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 19.2s
|
Slow Test:
tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 19.2s
|
Slow Test:
tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 17.8s
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
1.47 MB |
|