Skip to content

fix: disable code block language selector when editor is not editable #6771

fix: disable code block language selector when editor is not editable

fix: disable code block language selector when editor is not editable #6771

Triggered via pull request January 14, 2026 01:57
Status Success
Total duration 10m 40s
Artifacts 4

build.yml

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

Annotations

3 errors and 4 notices
[webkit] › 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#L19
2) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-content-type="video"] .bn-file-caption') 17 | await page.waitForTimeout(500); 18 | > 19 | await page.locator(`[data-content-type="video"] .bn-file-caption`).click(); | ^ 20 | await page.keyboard.press("Backspace"); 21 | await page.waitForTimeout(500); 22 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:19:72
[webkit] › 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#L0
2) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Test timeout of 30000ms exceeded.
[webkit] › 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
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 1007 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-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/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
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "f218c3bc1b9082e5e2c2a13d3f518e1834ae93fa", "ref": "2351" }, "key": "565PHVeY4b", "runId": 20979525284, "webhookDebug": { "action": "requested", "head_branch": "fix/code-block-language-selector-readonly", "head_repository_full_name": "ysds/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2351, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "ysds/BlockNote:fix/code-block-language-selector-readonly", "oldPrDataHash": "Zk5F1LYknr", "lookupKey": "ysds/BlockNote:fix/code-block-language-selector-readonly", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "f218c3bc1b9082e5e2c2a13d3f518e1834ae93fa", "ref": "2351" } } }
🎭 Playwright Run Summary
1 skipped 99 passed (2.3m)
🎭 Playwright Run Summary
11 skipped 89 passed (2.8m)
🎭 Playwright Run Summary
2 flaky [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─ [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance 9 skipped 89 passed (3.8m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium
266 KB
sha256:a83b515106c2b93b6835dd486f93337de089c58893f1fdbbb55744fb7669cc6d
playwright-report-firefox
259 KB
sha256:8dceb0c62e23de3b9ba74c8ae22978a1104e24bafe3284609a47afc7195bb659
playwright-report-webkit
2.43 MB
sha256:30a5d826a398b1018b0280261cffd56dac76d212850df0ff38c1829d0a837c9d
relative-ci-artifacts-editor
46.4 KB
sha256:6117b82e9490f32082e4a25acf25eac8c1d6d72a18d2e290fc9ab290a17fe44d