fix: adjust input rules to be more tolerant to starting whitespace #6753
Annotations
2 errors and 4 notices
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props
Error: expect(string).toMatchSnapshot(expected)
@@ -39,11 +39,11 @@
"backgroundColor": "default",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
"caption": "",
"showPreview": true,
- "previewWidth": 573
+ "previewWidth": 154
}
}
]
},
{
@@ -75,11 +75,11 @@
"backgroundColor": "default",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
"caption": "",
"showPreview": true,
- "previewWidth": 573
+ "previewWidth": 154
}
}
]
},
{
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium/images-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:189:5
|
|
[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": "c1888484fcf8d1c575d10c5cf4d8c7011b472a40",
"ref": "2341"
},
"key": "0M1N2iNoTF",
"runId": 20818865448,
"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": "c1888484fcf8d1c575d10c5cf4d8c7011b472a40",
"ref": "2341"
}
}
}
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props
1 skipped
98 passed (2.5m)
|
|
🎭 Playwright Run Summary
11 skipped
89 passed (2.8m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─
9 skipped
90 passed (3.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
2.35 MB |
sha256:388dc76e4d2ec136813a30f75eab7351bdff180040809443e6df7899a09fe887
|
|
|
playwright-report-firefox
Expired
|
259 KB |
sha256:c95ac636fccd9e438fbaa448da93cfcd5b5f8819479171f8145bc5999c1b7afd
|
|
|
playwright-report-webkit
Expired
|
837 KB |
sha256:5244af9fbe0783a5297a64e4e7bc9502676dd4c8c6c0e5629bb8f5958b488884
|
|
|
relative-ci-artifacts-editor
|
46.3 KB |
sha256:46e14544bd2be5ae18987c619c841f0a8b89781a2b44857cc59ccc2c0248ece5
|
|