fix: numbered list item decorations missed on initial render #7761
build.yml
on: pull_request
Playwright Build
1m 57s
Build
3m 26s
Matrix: playwright
Merge Playwright Reports
49s
Annotations
3 errors and 6 notices
|
Build
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1661px, received 1280px by 1561px. 91320 pixels (ratio 0.05 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-equality-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png", {
| ^
38 | // Allowance for variations in the image caption text. The placehold.co
39 | // URL renders differently (e.g., '×' vs 'x' character) between runs.
40 | maxDiffPixels: 200,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:201:7 › Check Copy/Paste From Non-Editable Block › Should be able to copy/paste text from a non-editable block:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:201:7 › Check Copy/Paste From Non-Editable Block › Should be able to copy/paste text from a non-editable block
Error: expect(string).toMatchSnapshot(expected)
@@ -38,40 +38,24 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
- "type": "paragraph",
+ "type": "image",
"attrs": {
+ "textAlignment": "left",
"backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "marks": [
- {
- "type": "textColor",
- "attrs": {
- "stringValue": "rgb(63, 63, 63)"
- }
- },
- {
- "type": "backgroundColor",
- "attrs": {
- "stringValue": "rgb(255, 255, 255)"
- }
- }
- ],
- "text": "This is "
- }
- ]
+ "name": "800x540.png",
+ "url": "https://placehold.co/800x540.png",
+ "caption": "",
+ "showPreview": true,
+ "previewWidth": 573
+ }
}
]
},
{
"type": "blockContainer",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/nonEditableBlock-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--1ef64-t-from-a-non-editable-block-chromium/nonEditableBlock-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/copypaste/copypaste.test.ts:229:5
|
|
🎭 Playwright Run Summary
43 passed (37.2s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (46.4s)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
42 passed (1.2m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:201:7 › Check Copy/Paste From Non-Editable Block › Should be able to copy/paste text from a non-editable block
2 skipped
91 passed (1.4m)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.6m)
|
|
🎭 Playwright Run Summary
12 skipped
82 passed (2.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
2.11 MB |
sha256:315a65fde056003eeacdba636537a0b5afe9ade81e12358aff749bf12430e218
|
|
|
blob-report-chromium-2
Expired
|
52.9 KB |
sha256:04eb3cabc476d0e189001d1f2425f909fec3caf03833818be69efaeb6f7106f2
|
|
|
blob-report-firefox-1
Expired
|
115 KB |
sha256:f5f9cb15d8246a656ecf446d546287e5adf083278654972ff70b406199cd3f6f
|
|
|
blob-report-firefox-2
Expired
|
52.5 KB |
sha256:11d07a221ee5970bb4e5640c934526cfd6090b7258014c1c162dd5616d921579
|
|
|
blob-report-webkit-1
Expired
|
123 KB |
sha256:b3cd8f17f5cac8e5510ead4f1b1e638d30508fac7110a81ccb7e4fbece9d49a1
|
|
|
blob-report-webkit-2
Expired
|
1.07 MB |
sha256:78a79370f8d6a96ad7e0c1a57ba9d50463b9e0e23b7bc774a1a06134a281e204
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:c935e523d311747cc4967e023e987fe6f2e8d08e07634e7cf31be2bc86d530da
|
|
|
playwright-report-chromium-1
|
2.61 MB |
sha256:fdadbee2fe32bdc0fdd63dfc61024007502648d9062c5069adf0ce00dc6c60b7
|
|
|
playwright-report-chromium-2
|
210 KB |
sha256:70ccceaecc09bb3e6e9cde9bb1b6fb669041ae9d4969b21a7d6db359aec15ed0
|
|
|
playwright-report-firefox-1
|
251 KB |
sha256:31f37afb66adbd09999271d3370af7cfb368431b87e58be1eb9f348181cb0246
|
|
|
playwright-report-firefox-2
|
209 KB |
sha256:9294dabfa54c33d6a355555c2212bfd5517657258b6a081d2c4cd9d2de726609
|
|
|
playwright-report-merged
|
3.68 MB |
sha256:a1e2ab0bdf9fafa3d0e7edca3e5627150fc6f6a45280164540eb990d5bc5b184
|
|
|
playwright-report-webkit-1
|
258 KB |
sha256:3b12778999539dfd90112b56b8c36a67a31c55620d73fb72371cb956c672553a
|
|
|
playwright-report-webkit-2
|
1.59 MB |
sha256:8b0f1ace06c8f1999d2c5a3ad0dc2bc8dfe1e17e7491328513dad823e21f7cf3
|
|