fix: ensure numbered list start property always present (#2241) #6507
Annotations
5 errors and 4 notices
|
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots:
tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots
Error: expect(string).toMatchSnapshot(expected)
@@ -38,11 +38,11 @@
"type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left",
- "level": 2,
+ "level": 1,
"isToggleable": false
},
"content": [
{
"type": "text",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts-snapshots/docStructureSnapshot-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/slashmenu-slashmenu-Check--f99af-uments-that-match-snapshots-firefox/docStructureSnapshot-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/slashmenu/slashmenu.test.ts:141:5
|
|
[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
1) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
1) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
[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
1) [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
1) [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.
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "762d1b486ad4da0d3d4e92b2a7325c85d8ba08c9",
"ref": "2242"
},
"key": "rcwNMtLMUX",
"runId": 20051233510,
"webhookDebug": {
"action": "in_progress",
"head_branch": "fix/numbered-list-start-property-2241",
"head_repository_full_name": "sdip15fa/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2242,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "sdip15fa/BlockNote:fix/numbered-list-start-property-2241",
"oldPrDataHash": "WUDzsAvyHl",
"lookupKey": "sdip15fa/BlockNote:fix/numbered-list-start-property-2241",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "762d1b486ad4da0d3d4e92b2a7325c85d8ba08c9",
"ref": "2242"
}
}
}
|
|
🎭 Playwright Run Summary
1 skipped
94 passed (2.3m)
|
|
🎭 Playwright Run Summary
1 flaky
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots
11 skipped
83 passed (2.8m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
9 skipped
85 passed (4.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
263 KB |
sha256:ee5b5c531bd9b1a5cff0b68f9887465804d62316166f092cfa05581241274149
|
|
|
playwright-report-firefox
Expired
|
1.59 MB |
sha256:e09959888669d740469680ff250b172451d4cfcd1832907f3d6825f2159cf5c5
|
|
|
playwright-report-webkit
Expired
|
1.68 MB |
sha256:8f8c71338875fbbb97cb06f4ce0253ea8f9b5a8eb874bd952c30e667c5dd2f77
|
|
|
relative-ci-artifacts-editor
Expired
|
45.8 KB |
sha256:5b79dc828e2a8ef960bbd2dbd5a1f5803bdfb2ea389ced037b590277f88df3e2
|
|