fix(database): can't use horizontal scrollbar #6855
test.yml
on: pull_request
Install Dependencies
1m 0s
Build & Test
0s
Annotations
6 errors, 20 warnings, and 20 notices
latex/block.spec.ts:46:1 › add latex block using markdown shortcut with enter:
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
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L69
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
67 | await expect(slashMenu).toBeVisible();
68 |
> 69 | const fileChooser = page.waitForEvent('filechooser');
| ^
70 | await pressEnter(page);
71 | await sleep(100);
72 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:69:30)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:135:3
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/edgeless/paste-block.spec.ts#L62
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first()
- Expected string - 1
+ Received string + 21
- hello
+
+
+
+
+
+
+
+ Type '/' for commands
+
+
+
+
+
+
+
+
+
+
+
+
+
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first()
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph>
- unexpected value "
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id=
|
selection/native.spec.ts:290:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L319
1) selection/native.spec.ts:290:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
317 | const textTwo = await getInlineSelectionText(page);
318 | expect(textTwo).toBe('arrow down test 1');
> 319 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
320 | expect(indexTwo).toBeLessThanOrEqual(17);
321 | await page.keyboard.press('ArrowDown');
322 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:319:20
|
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing:
tests/utils/actions/edgeless.ts#L357
1) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at utils/actions/edgeless.ts:357
355 | .locator('edgeless-slide-menu edgeless-tool-icon-button')
356 | .filter({ hasText: shape });
> 357 | await squareShapeButton.click();
| ^
358 | break;
359 | }
360 | }
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:31)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
|
edgeless/edgeless-text.spec.ts:229:3 › edgeless text block › edgeless text should maintain selection when deleting across multiple lines:
tests/utils/asserts.ts#L598
1) edgeless/edgeless-text.spec.ts:229:3 › edgeless text block › edgeless text should maintain selection when deleting across multiple lines
Error: expect(received).toBe(expected) // Object.is equality
Expected: "ab"
Received: "b"
at utils/asserts.ts:598
596 | { id }
597 | );
> 598 | expect(actual).toBe(str);
| ^
599 | }
600 |
601 | export async function assertBlockProps(
at assertBlockTextContent (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:598:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:250:5
|
E2E Test (2)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (20)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (3)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (4)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (17)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (19)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (16)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (15)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (1)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (10)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (18)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (14)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (12)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (13)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (6)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (9)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (11)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (8)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (5)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (7)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
🎭 Playwright Run Summary
1 skipped
46 passed (40.1s)
|
🎭 Playwright Run Summary
3 skipped
43 passed (42.4s)
|
🎭 Playwright Run Summary
4 skipped
43 passed (53.4s)
|
🎭 Playwright Run Summary
47 passed (53.6s)
|
🎭 Playwright Run Summary
47 passed (45.8s)
|
🎭 Playwright Run Summary
46 passed (52.2s)
|
🎭 Playwright Run Summary
47 passed (55.0s)
|
🎭 Playwright Run Summary
1 flaky
latex/block.spec.ts:46:1 › add latex block using markdown shortcut with enter ──────────────────
2 skipped
44 passed (59.4s)
|
🎭 Playwright Run Summary
1 flaky
attachment.spec.ts:127:1 › can insert attachment from slash menu ───────────────────────────────
46 passed (58.2s)
|
🎭 Playwright Run Summary
1 flaky
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ──────────────────────
46 passed (1.1m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:290:1 › cursor move to up and down with children block ────────────────
45 passed (1.0m)
|
🎭 Playwright Run Summary
47 passed (58.0s)
|
🎭 Playwright Run Summary
1 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
2 skipped
44 passed (1.1m)
|
🎭 Playwright Run Summary
47 passed (1.1m)
|
🎭 Playwright Run Summary
47 passed (1.2m)
|
🎭 Playwright Run Summary
10 skipped
37 passed (1.3m)
|
🎭 Playwright Run Summary
1 skipped
46 passed (1.5m)
|
🎭 Playwright Run Summary
47 passed (1.6m)
|
🎭 Playwright Run Summary
47 passed (1.5m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/edgeless-text.spec.ts:229:3 › edgeless text block › edgeless text should maintain selection when deleting across multiple lines
46 passed (1.6m)
|