fix(database): can't use horizontal scrollbar #6855
Annotations
1 error, 1 warning, and 1 notice
tests/latex/block.spec.ts#L59
1) latex/block.spec.ts:46:1 › add latex block using markdown shortcut with enter ─────────────────
Error: Snapshot comparison failed:
{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,498,92]",
"background": "--affine-note-background-white",
"index": "a0",
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "2",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": []
},
{
"type": "block",
"id": "3",
"flavour": "affine:latex",
"version": 1,
"props": {
"xywh": "[0,0,16,16]",
"index": "a0",
"scale": 1,
"rotate": 0,
"latex": "aaa"
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/latex/block.spec.ts/add-latex-block-using-markdown-shortcut-with-enter-finial.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/latex-block-add-latex-bloc-e0ffb-arkdown-shortcut-with-enter/add-latex-block-using-mark-e889d-tcut-with-enter-finial-actual.json
57 | await type(page, '$$$$\naaa');
58 |
> 59 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
60 | `${testInfo.title}_finial.json`
61 | );
62 | });
at /home/runner/work/blocksuite/blocksuite/tests/latex/block.spec.ts:59:45
|
|
|
This job succeeded
Loading