Skip to content

fix: adjust input rules to be more tolerant to starting whitespace #6752

fix: adjust input rules to be more tolerant to starting whitespace

fix: adjust input rules to be more tolerant to starting whitespace #6752

Triggered via pull request January 8, 2026 13:34
Status Failure
Total duration 7m 27s
Artifacts 4

build.yml

on: pull_request
Matrix: playwright
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 notices
Playwright Tests - firefox
Process completed with exit code 1.
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
2) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 228 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance: tests/src/end-to-end/basics/basicblocks.test.ts#L30
1) [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) Expected an image 1280px by 1540px, received 1280px by 1467px. 25503 pixels (ratio 0.02 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry2/basicblocks-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry2/basicblocks-diff.png 28 | 29 | await page.waitForTimeout(100); > 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot( | ^ 31 | "basicblocks.png", 32 | ); 33 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance: tests/src/end-to-end/basics/basicblocks.test.ts#L30
1) [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) Expected an image 1280px by 1540px, received 1280px by 1467px. 25503 pixels (ratio 0.02 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry1/basicblocks-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox-retry1/basicblocks-diff.png 28 | 29 | await page.waitForTimeout(100); > 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot( | ^ 31 | "basicblocks.png", 32 | ); 33 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
[firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance: tests/src/end-to-end/basics/basicblocks.test.ts#L30
1) [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Error: expect(Buffer).toMatchSnapshot(expected) Expected an image 1280px by 1540px, received 1280px by 1467px. 25503 pixels (ratio 0.02 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox/basicblocks-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-firefox/basicblocks-diff.png 28 | 29 | await page.waitForTimeout(100); > 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot( | ^ 31 | "basicblocks.png", 32 | ); 33 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "6b0abd3af33b36476493208b62d0fad5bc379fc7", "ref": "2341" }, "key": "n6rrcJ3fHE", "runId": 20818637792, "webhookDebug": { "action": "requested", "head_branch": "input-rules", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2341, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:input-rules", "oldPrDataHash": "noFNCw6tQ5", "lookupKey": "TypeCellOS/BlockNote:input-rules", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "6b0abd3af33b36476493208b62d0fad5bc379fc7", "ref": "2341" } } }
🎭 Playwright Run Summary
1 failed [firefox] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance 1 flaky [firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar 11 skipped 87 passed (3.0m)
🎭 Playwright Run Summary
1 skipped 99 passed (2.3m)
🎭 Playwright Run Summary
9 skipped 91 passed (3.2m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium Expired
266 KB
sha256:aaa0a15b096db226ba96061dace0dbba056e3248d2bad701b2715d23a4eb3a54
playwright-report-firefox Expired
6.46 MB
sha256:5444e4e4756c919ebdd0f932c9063afc1d21110ab562437556d98f861561515c
playwright-report-webkit Expired
262 KB
sha256:5ba7c2ba960cbd12c4e2f02fa2f2401c8d12e791c271eb15c396d9bb97d55978
relative-ci-artifacts-editor Expired
46.3 KB
sha256:d994a1223398c8708d26b8b05cc23a0824989c04b6dbdb13a3dad7b8298765ab