fix: guard hideMenuIfNotFrozen against undefined view state (#2694, BLO-1171) #7591
build.yml
on: pull_request
Playwright Build
53s
Build
2m 47s
Matrix: playwright
Merge Playwright Reports
46s
Annotations
1 error, 1 warning, and 7 notices
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "4"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -55,19 +39,41 @@
"isToggleable": false
},
"content": [
{
"type": "text",
- "text": "Heading"
+ "text": "Hea"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
+ "id": "4"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "ding"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
"id": "2"
},
"content": [
{
"type": "heading",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-webkit/enterPreservesNestedBlocksEmpty-json-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:95:5
|
|
Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "20fc32df91e01c4ab61be746a16ebc8afe3618bf",
"ref": "2699"
},
"key": "OEaN0buuhL",
"runId": 25204075419,
"webhookDebug": {
"action": "requested",
"head_branch": "fix/sidemenu-hide-menu-undefined-state-2694",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2699,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:fix/sidemenu-hide-menu-undefined-state-2694",
"oldPrDataHash": "GpjTMefey2",
"lookupKey": "TypeCellOS/BlockNote:fix/sidemenu-hide-menu-undefined-state-2694",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "20fc32df91e01c4ab61be746a16ebc8afe3618bf",
"ref": "2699"
}
}
}
|
|
🎭 Playwright Run Summary
42 passed (35.5s)
|
|
🎭 Playwright Run Summary
42 passed (46.4s)
|
|
🎭 Playwright Run Summary
42 passed (1.1m)
|
|
🎭 Playwright Run Summary
2 skipped
89 passed (1.3m)
|
|
🎭 Playwright Run Summary
15 skipped
76 passed (1.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
11 skipped
79 passed (2.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
126 KB |
sha256:5bc4f0cf7ff8c33ff6060d948cc5b2e083bae966de2ac4c2896d77dc6a32c659
|
|
|
blob-report-chromium-2
Expired
|
50.8 KB |
sha256:91ca9847fb178e2b6c2055cbe9ab96e8fafdc5b6cde0d74960f758eb048ddef2
|
|
|
blob-report-firefox-1
Expired
|
112 KB |
sha256:f0d957420ba32dab61cf4b3d98dca0f729d53100775df119c425a06011ec51b2
|
|
|
blob-report-firefox-2
Expired
|
51.5 KB |
sha256:d5a3008d4d131ca0da62615d0273acb60b370fc82a4fe3e1e8053ed1ef3c1a1d
|
|
|
blob-report-webkit-1
Expired
|
5.2 MB |
sha256:d94a1f03ba10e15f6b0db74b9cff7dacc050cdd633f227efae1ae44c02a71ccc
|
|
|
blob-report-webkit-2
Expired
|
52.1 KB |
sha256:854e41098f99327e998b9a61be63dac6edaadf580023be71894fdbbfbab57c7d
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:51badb499296ed73ab101f9cedda0b94b4df481ff1ca3fa684c508ccf7c369ae
|
|
|
playwright-report-chromium-1
Expired
|
259 KB |
sha256:04c522a0fc27d3f821959ab21a1a1e42533198983f4cb327f962a5de2d4e00ca
|
|
|
playwright-report-chromium-2
Expired
|
208 KB |
sha256:a446a916ce734733dddcb46b3fa783daae71a629f35df17d0f4b928450a197c4
|
|
|
playwright-report-firefox-1
Expired
|
249 KB |
sha256:869dadb21d42026f3abaff4744390741e6de3c132843d71b26db1e2db693b698
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:a45396ed85fe815a4df9a071c7e65f9b15276222c298206fce4b98facc0349e6
|
|
|
playwright-report-merged
Expired
|
5.77 MB |
sha256:23d6b65cc637b903211cb38cb3dfe27d16e13e46ef6881e7246466718d6fe63b
|
|
|
playwright-report-webkit-1
Expired
|
5.7 MB |
sha256:5dbadc6b8a6fa67430d92b4e1e94b9885dbf7105490f54852ec28440681c33d4
|
|
|
playwright-report-webkit-2
Expired
|
209 KB |
sha256:0e10e1b487ee1ec06e244953333bd56fd8dccd5e8ce666649dad1e14bc8bf197
|
|
|
relative-ci-artifacts-editor
|
48.4 KB |
sha256:bbaf0addd9822022e280528b2c2a6d3b014ee1334fd1bc1e3f60d0be94e3f8ba
|
|