feat: @y/prosemirror v2 + @y/y v14 integration #7815
build.yml
on: pull_request
Playwright Build
1m 54s
Build
2m 59s
Matrix: playwright
Merge Playwright Reports
58s
Annotations
14 errors and 6 notices
|
src/yjs/extensions/ForkYDoc.test.ts > can fork an keep the changes to the original document:
packages/core/src/yjs/extensions/ForkYDoc.test.ts#L152
Error: Snapshot `can fork an keep the changes to the original document 1` mismatched
Expected: "<blockgroup><blockcontainer id="0"><paragraph backgroundColor="default" textAlignment="left" textColor="default">Hello</paragraph></blockcontainer></blockgroup>"
Received: "<blockgroup><blockcontainer id="1"><paragraph backgroundColor="default" textAlignment="left" textColor="default">Hello</paragraph></blockcontainer></blockgroup>"
❯ src/yjs/extensions/ForkYDoc.test.ts:152:5
|
|
src/yjs/extensions/ForkYDoc.test.ts > can merge a document:
packages/core/src/yjs/extensions/ForkYDoc.test.ts#L90
Error: Snapshot `can merge a document 1` mismatched
Expected: "<blockgroup><blockcontainer id="0"><paragraph backgroundColor="default" textAlignment="left" textColor="default">Hello</paragraph></blockcontainer></blockgroup>"
Received: "<blockgroup><blockcontainer id="1"><paragraph backgroundColor="default" textAlignment="left" textColor="default">Hello</paragraph></blockcontainer></blockgroup>"
❯ src/yjs/extensions/ForkYDoc.test.ts:90:5
|
|
src/yjs/extensions/ForkYDoc.test.ts > can fork a document:
packages/core/src/yjs/extensions/ForkYDoc.test.ts#L37
Error: Snapshot `can fork a document 1` mismatched
Expected: "<blockgroup><blockcontainer id="0"><paragraph backgroundColor="default" textAlignment="left" textColor="default">Hello</paragraph></blockcontainer></blockgroup>"
Received: "<blockgroup><blockcontainer id="1"><paragraph backgroundColor="default" textAlignment="left" textColor="default">Hello</paragraph></blockcontainer></blockgroup>"
❯ src/yjs/extensions/ForkYDoc.test.ts:37:5
|
|
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should update the remote position from a remote transaction:
packages/core/src/api/positionMapping.test.ts#L539
AssertionError: expected 12 to be 11 // Object.is equality
- Expected
+ Received
- 11
+ 12
❯ src/api/positionMapping.test.ts:539:30
|
|
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should update the local position from a remote transaction:
packages/core/src/api/positionMapping.test.ts#L474
AssertionError: expected 12 to be 11 // Object.is equality
- Expected
+ Received
- 11
+ 12
❯ src/api/positionMapping.test.ts:474:30
|
|
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should handle multiple transactions when collaborating:
packages/core/src/api/positionMapping.test.ts#L409
AssertionError: expected 12 to be 11 // Object.is equality
- Expected
+ Received
- 11
+ 12
❯ src/api/positionMapping.test.ts:409:30
|
|
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should update the local position when collaborating:
packages/core/src/api/positionMapping.test.ts#L340
AssertionError: expected 12 to be 11 // Object.is equality
- Expected
+ Received
- 11
+ 12
❯ src/api/positionMapping.test.ts:340:30
|
|
src/api/positionMapping.test.ts > PositionStorage with local editor > should update mapping for local transactions before the position (unmounted):
packages/core/src/api/positionMapping.test.ts#L146
AssertionError: expected 10 to be 14 // Object.is equality
- Expected
+ Received
- 14
+ 10
❯ src/api/positionMapping.test.ts:146:22
|
|
src/api/positionMapping.test.ts > PositionStorage with local editor > mount and unmount > should register transaction handler on creation & mount:
packages/core/src/api/positionMapping.test.ts#L31
AssertionError: expected "vi.fn()" to be called with arguments: [ 'transaction', Any<Function> ]
Number of calls: 0
❯ src/api/positionMapping.test.ts:31:39
|
|
src/api/positionMapping.test.ts > PositionStorage with local editor > mount and unmount > should register transaction handler on creation:
packages/core/src/api/positionMapping.test.ts#L16
AssertionError: expected "vi.fn()" to be called with arguments: [ 'transaction', Any<Function> ]
Number of calls: 0
❯ src/api/positionMapping.test.ts:16:39
|
|
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:151:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
3) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:151:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks for empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -27,11 +27,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocksEmpty-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-7d281-sted-blocks-for-empty-block-webkit-retry2/backspacePreservesNestedBlocksEmpty-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:170:5
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:58:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:58:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks
Error: expect(string).toMatchSnapshot(expected)
@@ -16,37 +16,33 @@
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "H"
- }
- ]
+ }
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "3"
},
"content": [
{
- "type": "paragraph",
+ "type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
- "textAlignment": "left"
+ "textAlignment": "left",
+ "level": 1,
+ "isToggleable": false
},
"content": [
{
"type": "text",
- "text": "eading"
+ "text": "Heading"
}
]
},
{
"type": "blockGroup",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocks-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-351fd-ter-preserves-nested-blocks-webkit/enterPreservesNestedBlocks-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:74:5
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -41,19 +41,41 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragrah"
}
]
}
]
}
]
}
]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "2"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Paragraph"
+ }
+ ]
+ }
+ ]
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit-retry1/deleteShallowerBlock-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:319:5
|
|
🎭 Playwright Run Summary
43 passed (34.4s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (45.4s)
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
2 skipped
92 passed (1.3m)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.6m)
|
|
🎭 Playwright Run Summary
1 failed
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
2 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:58:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:151:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks for empty block
12 skipped
12 did not run
67 passed (2.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
127 KB |
sha256:e7465b7ebed85eb4e51f600587f1f7e6246b1483d5eafc32ac1e611c8d2ca803
|
|
|
blob-report-chromium-2
Expired
|
52.2 KB |
sha256:5251dc6573627aa456951d6ccb2df214b8596cf5d4a04a59c8e06c5d0a783725
|
|
|
blob-report-firefox-1
Expired
|
113 KB |
sha256:d340cf67b07059d8affebd536100bb29aa40fe2d096a77abffe1961c1b55567c
|
|
|
blob-report-firefox-2
Expired
|
52.2 KB |
sha256:cad73eba2f1cdf5f6c0f8490434da3edd766eb9878add6dd0b436ba40027504b
|
|
|
blob-report-webkit-1
Expired
|
3.99 MB |
sha256:eca3d5f58b617abe6f743482f30abcf44a2a319f0efb726864d82b4350d22f5c
|
|
|
blob-report-webkit-2
Expired
|
53.1 KB |
sha256:f349894c77fba465c7b3ae85d29f0a773d7c55ea4a887a9081c6510ffa6c91ad
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:96818206d32402b28be4fd6f348b9c429b45b4653325fb93234b72e64285b5bc
|
|
|
playwright-report-chromium-1
Expired
|
260 KB |
sha256:2c09dffe7727068f6ce0c47e71beee369071a60ef93df5a78f0356b7589953e8
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:c3046a8d9d5ef01a9f3b9c21a4e144ddfdf7dbca60c13e13f192ff6b961dccdb
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:060a0ecdad1d859458da520ba57db5801d3699f6cfddf5f7cbea38f01119c4f3
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:687f357c4a23f6eae224049997b1f6e438bfc993532da327e2c998dfc3d6afcb
|
|
|
playwright-report-merged
Expired
|
4.56 MB |
sha256:7ba8ed810dc21981a60c8abcdf5b45f9626dadbe6d64db8e13e6ca58294cb2e7
|
|
|
playwright-report-webkit-1
Expired
|
4.49 MB |
sha256:0eb69f64c186dc23f6ec022c196383ebbec979f6ea94f2e9774d4ebaa33bdfc3
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:e2a116a9051e0697aa2b87b7da28660680116b61efdf253c9784f3c06543b0a5
|
|