Skip to content

chore: use import extensions in all packages (except docs) #3194

chore: use import extensions in all packages (except docs)

chore: use import extensions in all packages (except docs) #3194

Triggered via pull request October 8, 2024 08:29
Status Failure
Total duration 12m 7s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 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
[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
3) [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
Build
Process completed with exit code 1.
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.6s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 27.6s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 24.7s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.7s
Slow Test: tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 19.1s
🎭 Playwright Run Summary
1 failed [webkit] › images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image 2 flaky [webkit] › images/images.test.ts:30:7 › Check Image Block and Toolbar functionality › Should be able to upload image [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar 18 skipped 228 passed (7.7m)

Artifacts

Produced during runtime
Name Size
playwright-report
1.91 MB