Skip to content

Internal html changes #3160

Internal html changes

Internal html changes #3160

Triggered via pull request October 2, 2024 17:07
Status Failure
Total duration 11m 46s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 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
[webkit] › images/images.test.ts:30:7 › Check Image Block and Toolbar functionality › Should be able to upload image: tests/src/end-to-end/images/images.test.ts#L44
2) [webkit] › images/images.test.ts:30:7 › Check Image Block and Toolbar functionality › Should be able to upload image Error: Screenshot comparison failed: 16901 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/upload-image-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--c6c16-uld-be-able-to-upload-image-webkit/upload-image-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--c6c16-uld-be-able-to-upload-image-webkit/upload-image-diff.png 42 | 43 | await page.waitForTimeout(500); > 44 | expect(await page.screenshot()).toMatchSnapshot("upload-image.png"); | ^ 45 | }); 46 | test("Should be able to embed image", async ({ page }) => { 47 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:44:37
Build
Process completed with exit code 1.
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.3s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 27.2s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 24.6s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.4s
Slow Test: tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 18.7s
🎭 Playwright Run Summary
1 failed [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image 1 flaky [webkit] › images/images.test.ts:30:7 › Check Image Block and Toolbar functionality › Should be able to upload image 18 skipped 229 passed (7.5m)

Artifacts

Produced during runtime
Name Size
playwright-report
1.67 MB