docs: nextjs guidance #1029
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
3 errors, 6 warnings, and 1 notice
[chromium] › draghandle/draghandle.test.ts:61:7 › Check Draghandle functionality › Draghandle should display next to correct nested block:
tests/end-to-end/draghandle/draghandle.test.ts#L1
1) [chromium] › draghandle/draghandle.test.ts:61:7 › Check Draghandle functionality › Draghandle should display next to correct nested block
Test timeout of 30000ms exceeded.
|
[chromium] › draghandle/draghandle.test.ts:61:7 › Check Draghandle functionality › Draghandle should display next to correct nested block:
tests/utils/mouse.ts#L27
1) [chromium] › draghandle/draghandle.test.ts:61:7 › Check Draghandle functionality › Draghandle should display next to correct nested block
Error: locator.boundingBox: Target closed
=========================== logs ===========================
waiting for locator('[data-content-type=heading][data-level="2"]')
============================================================
at ../utils/mouse.ts:27
25 |
26 | export async function moveMouseOverElement(page: Page, element: Locator) {
> 27 | const boundingBox = await element.boundingBox();
| ^
28 | const coords = { x: boundingBox.x, y: boundingBox.y };
29 | await page.mouse.move(coords.x, coords.y, { steps: 5 });
30 | }
at moveMouseOverElement (/home/runner/work/BlockNote/BlockNote/tests/utils/mouse.ts:27:37)
at getDragHandleYCoord (/home/runner/work/BlockNote/BlockNote/tests/utils/draghandle.ts:23:29)
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts:70:17
|
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:75:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block:
tests/utils/editor.ts#L37
2) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:75:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
Error: Snapshot comparison failed:
{
"type": "doc",
"content": [
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "0",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraphheading",
"attrs": {
"textAlignment": "left",
"level": "1"
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "12",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
}
}
]
}
]
}
]
}
Expected: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboa-54c1c-haviour-Check-Backspace-at-the-start-of-a-block-webkit/backspaceStartOfBlock-json-expected.json
Received: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboa-54c1c-haviour-Check-Backspace-at-the-start-of-a-block-webkit/backspaceStartOfBlock-json-actual.json
at ../utils/editor.ts:37
35 | // Remove id from docs
36 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 37 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
38 | }
39 |
at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/utils/editor.ts:37:15)
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:83:5
|
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Slow Test:
[chromium] › draghandle/draghandle.test.ts#L1
[chromium] › draghandle/draghandle.test.ts took 47.8s
|
Slow Test:
[webkit] › keyboardhandlers/keyboardhandlers.test.ts#L1
[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 29.8s
|
Slow Test:
[webkit] › draghandle/draghandle.test.ts#L1
[webkit] › draghandle/draghandle.test.ts took 21.1s
|
Slow Test:
[firefox] › draghandle/draghandle.test.ts#L1
[firefox] › draghandle/draghandle.test.ts took 19.8s
|
Slow Test:
[webkit] › colors/colors.test.ts#L1
[webkit] › colors/colors.test.ts took 16.4s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › draghandle/draghandle.test.ts:61:7 › Check Draghandle functionality › Draghandle should display next to correct nested block
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:75:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
16 skipped
129 passed (4.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
4.76 MB |
|