refactor(server): use doc model on PgWorkspaceDocStorageAdapter (#9852) #24553
Annotations
6 errors and 1 notice
Run playwright tests:
tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L1
1) e2e/blocksuite/outline/outline-panel.spec.ts:233:3 › TOC and editor scroll › should highlight heading when scroll to area before viewport center
Test timeout of 50000ms exceeded.
|
Run playwright tests:
tests/kit/src/utils/page-logic.ts#L62
1) e2e/blocksuite/outline/outline-panel.spec.ts:233:3 › TOC and editor scroll › should highlight heading when scroll to area before viewport center
Error: keyboard.type: Test timeout of 50000ms exceeded.
at ../../kit/src/utils/page-logic.ts:62
60 |
61 | export async function type(page: Page, content: string, delay = 50) {
> 62 | await page.keyboard.type(content, { delay });
| ^
63 | }
64 |
65 | export const createLinkedPage = async (page: Page, pageName?: string) => {
at type (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:62:23)
at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:24:11)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:240:22
|
Run playwright tests:
tests/kit/src/utils/page-logic.ts#L44
1) e2e/blocksuite/outline/outline-panel.spec.ts:233:3 › TOC and editor scroll › should highlight heading when scroll to area before viewport center
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-mobile="false" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__ph3zqme button_iconButton__ph3zqmh add-page-button_root__18n7nrk0">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at ../../kit/src/utils/page-logic.ts:44
42 | }
43 | // fixme(himself65): if too fast, the page will crash
> 44 | await page.getByTestId('sidebar-new-page-button').click({
| ^
45 | delay: 100,
46 | });
47 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:75:3
|
Run playwright tests:
tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L1
2) e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
Test timeout of 50000ms exceeded.
|
Run playwright tests:
tests/kit/src/utils/keyboard.ts#L31
2) e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
Error: keyboard.press: Test timeout of 50000ms exceeded.
at ../../kit/src/utils/keyboard.ts:31
29 | // avoid flaky test by simulate real user input
30 | for (let i = 0; i < count; i++) {
> 31 | await page.keyboard.press('Enter', { delay: 50 });
| ^
32 | }
33 | }
34 |
at pressEnter (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/keyboard.ts:31:25)
at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:26:5)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:268:22
|
Run playwright tests:
tests/kit/src/utils/page-logic.ts#L44
2) e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-mobile="false" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__ph3zqme button_iconButton__ph3zqmh add-page-button_root__18n7nrk0">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at ../../kit/src/utils/page-logic.ts:44
42 | }
43 | // fixme(himself65): if too fast, the page will crash
> 44 | await page.getByTestId('sidebar-new-page-button').click({
| ^
45 | delay: 100,
46 | });
47 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:75:3
|
Run playwright tests
2 flaky
e2e/blocksuite/outline/outline-panel.spec.ts:233:3 › TOC and editor scroll › should highlight heading when scroll to area before viewport center
e2e/blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
47 passed (7.5m)
|
Loading