Feat/equation #953
Open
Feat/equation #953
Annotations
1 error, 9 warnings, and 1 notice
tests/src/utils/editor.ts#L47
1) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty
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",
"text": "H"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "eading"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
}
}
]
}
]
}
]
}
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterSelectionNotEmpty-json-webkit-linux.json
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-50885-when-selection-is-not-empty-webkit/enterSelectionNotEmpty-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 (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:38:5
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.0s
|
tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 25.1s
|
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 23.9s
|
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.8s
|
tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 18.7s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "relative-ci-artifacts-editor".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
|
This job succeeded
Loading