Skip to content

refactor: clean extensions (#1249) #3545

refactor: clean extensions (#1249)

refactor: clean extensions (#1249) #3545

Triggered via push November 15, 2024 19:20
Status Failure
Total duration 12m 35s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 5 warnings, and 1 notice
[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
1) [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
[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
1) [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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-retry1/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-retry1/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
[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
1) [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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-retry2/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-retry2/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.
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 26.7s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 26.6s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 23.7s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.3s
Slow Test: tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 19.0s
🎭 Playwright Run Summary
1 failed [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image 18 skipped 248 passed (7.5m)

Artifacts

Produced during runtime
Name Size
playwright-report
1.18 MB