refactor(database): avoid modifying all views when editing a single view #7673
Annotations
3 errors, 1 warning, and 1 notice
Run playwright test:
tests/attachment.spec.ts#L69
1) attachment.spec.ts:697:1 › indent attachment block to list ────────────────────────────────────
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:705:3
|
Run playwright test:
tests/attachment.spec.ts#L69
2) attachment.spec.ts:725:1 › attachment can be dragged from note to surface top level block ─────
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:733:3
|
Run playwright test:
tests/utils/asserts.ts#L293
3) bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ───────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 4
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:220:9
|
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
3 flaky
attachment.spec.ts:697:1 › indent attachment block to list ─────────────────────────────────────
attachment.spec.ts:725:1 › attachment can be dragged from note to surface top level block ──────
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ────────
2 skipped
43 passed (1.1m)
|
Loading