v0.9.2 #1161
Annotations
3 errors, 6 warnings, and 1 notice
tests/utils/editor.ts#L37
1) [chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks
Error: Snapshot comparison failed:
{
"type": "doc",
"content": [
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "0",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": "1"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "italic"
}
],
"text": "H"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
},
"content": [
{
"type": "text",
"marks": [
{
"type": "italic"
}
],
"text": "eading"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
}
}
]
}
]
}
]
}
Expected: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Enter-preserves-marks-chromium/enterPreservesMarks-json-expected.json
Received: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Enter-preserves-marks-chromium/enterPreservesMarks-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:55:5
|
tests/end-to-end/draghandle/draghandle.test.ts#L58
2) [webkit] › draghandle/draghandle.test.ts:49:7 › Check Draghandle functionality › Draghandle should display next to correct block
Error: expect(received).toBeTruthy()
Received: false
56 | const h3y = await getDragHandleYCoord(page, H_THREE_BLOCK_SELECTOR);
57 |
> 58 | expect(h1y < h2y && h1y < h3y && h2y < h3y).toBeTruthy();
| ^
59 | });
60 |
61 | test("Draghandle should display next to correct nested block", async () => {
at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts:58:49
|
tests/utils/editor.ts#L37
3) [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
|
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/
|
[webkit] › keyboardhandlers/keyboardhandlers.test.ts#L1
[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 38.4s
|
[webkit] › draghandle/draghandle.test.ts#L1
[webkit] › draghandle/draghandle.test.ts took 29.5s
|
[firefox] › draghandle/draghandle.test.ts#L1
[firefox] › draghandle/draghandle.test.ts took 22.1s
|
[webkit] › slashmenu/slashmenu.test.ts#L1
[webkit] › slashmenu/slashmenu.test.ts took 21.2s
|
[chromium] › draghandle/draghandle.test.ts#L1
[chromium] › draghandle/draghandle.test.ts took 19.3s
|
3 flaky
[chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks
[webkit] › draghandle/draghandle.test.ts:49:7 › Check Draghandle functionality › Draghandle should display next to correct block
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:75:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
16 skipped
146 passed (6.0m)
|
The logs for this run have expired and are no longer available.
Loading