Skip to content

chore: Update playwright #3758

chore: Update playwright

chore: Update playwright #3758

Triggered via pull request December 19, 2024 15:27
Status Failure
Total duration 12m 54s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 6 warnings, and 1 notice
[webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu: tests/src/end-to-end/ariakit/ariakit.test.ts#L48
1) [webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ───────────────── Error: expect(Buffer).toMatchSnapshot(expected) 2255 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-slash-menu-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit/ariakit-slash-menu-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit/ariakit-slash-menu-diff.png 46 | 47 | await page.waitForTimeout(500); > 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png"); | ^ 49 | }); 50 | test("Check emoji picker", async ({ page }) => { 51 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
[webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu: tests/src/end-to-end/ariakit/ariakit.test.ts#L48
1) [webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 2255 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-slash-menu-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry1/ariakit-slash-menu-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry1/ariakit-slash-menu-diff.png 46 | 47 | await page.waitForTimeout(500); > 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png"); | ^ 49 | }); 50 | test("Check emoji picker", async ({ page }) => { 51 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
[webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu: tests/src/end-to-end/ariakit/ariakit.test.ts#L48
1) [webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 2255 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-slash-menu-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry2/ariakit-slash-menu-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry2/ariakit-slash-menu-diff.png 46 | 47 | await page.waitForTimeout(500); > 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png"); | ^ 49 | }); 50 | test("Check emoji picker", async ({ page }) => { 51 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
[webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
2) [webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Error: expect(Buffer).toMatchSnapshot(expected) 1132 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit/blockTextColor-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
2) [webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 1132 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry1/blockTextColor-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry1/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
2) [webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 1132 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry2/blockTextColor-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry2/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86: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#L51
3) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 81968 pixels (ratio 0.03 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 49 | 50 | await page.waitForTimeout(500); > 51 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png"); | ^ 52 | }); 53 | test("Should show dark slash menu", async ({ page }) => { 54 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:51:37
Build
Process completed with exit code 1.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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.5s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.7s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.6s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 21.3s
🎭 Playwright Run Summary
2 failed [webkit] › ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ────────────────── [webkit] › colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color 1 flaky [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar 18 skipped 246 passed (7.7m)

Artifacts

Produced during runtime
Name Size
playwright-report
2.4 MB