fix(database): move cursor in kanban card title by arrow keys #8414
Annotations
1 error, 2 warnings, and 1 notice
Run playwright test:
tests/hotkey/hotkey.spec.ts#L283
1) hotkey/hotkey.spec.ts:274:1 › should cut work single line ─────────────────────────────────────
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": [
{
"insert": "hello"
}
]
}
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/hotkey.spec.ts/should-cut-work-single-line-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-hotkey-should-cut-work-single-line/should-cut-work-single-line-init-actual.json
281 | // cut
282 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 283 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
284 | `${testInfo.title}_init.json`
285 | );
286 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/hotkey.spec.ts:283:45
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Upload E2E test coverage results
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Run playwright test
1 flaky
hotkey/hotkey.spec.ts:274:1 › should cut work single line ──────────────────────────────────────
47 passed (1.1m)
|
Loading