fix(mobile): fixed all docs header, remove doc card tags layout strat… #14807
Annotations
5 errors, 2 warnings, and 1 notice
tests/affine-local/e2e/local-first-avatar.spec.ts#L1
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it
Test timeout of 50000ms exceeded.
|
tests/affine-local/e2e/local-first-avatar.spec.ts#L33
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it
Error: page.waitForTimeout: Test timeout of 50000ms exceeded.
31 | await page.getByTestId('workspace-name').click();
32 | await page.getByTestId('workspace-card').nth(0).click();
> 33 | await page.waitForTimeout(1000);
| ^
34 | await page.getByTestId('workspace-name').click();
35 | await page.getByTestId('workspace-card').nth(1).click();
36 | const avatarCanvas = await page
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-avatar.spec.ts:33:14
|
tests/affine-local/e2e/local-first-collections-items.spec.ts#L1
2) local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ────────────────
Test timeout of 50000ms exceeded.
|
tests/kit/utils/page-logic.ts#L26
2) local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ────────────────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__158e9loe button_iconButton__158e9loh add-page-button_root__agilbw0">…</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/utils/page-logic.ts:26
24 | }
25 | // fixme(himself65): if too fast, the page will crash
> 26 | await page.getByTestId('sidebar-new-page-button').click({
| ^
27 | delay: 100,
28 | });
29 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:26:53)
at createAndPinCollection (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:37:3)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:94:3
|
tests/kit/utils/page-logic.ts#L50
3) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ─────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.linked-doc-popover')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.linked-doc-popover')
at ../../kit/utils/page-logic.ts:50
48 | await page.keyboard.type('@', { delay: 50 });
49 | const linkedPagePopover = page.locator('.linked-doc-popover');
> 50 | await expect(linkedPagePopover).toBeVisible();
| ^
51 | await type(page, pageName || 'Untitled');
52 |
53 | await page.keyboard.press('ArrowUp');
at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:50:35)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:52:3
|
tests/affine-local/local-first-show-delete-modal.spec.ts#L1
tests/affine-local/local-first-show-delete-modal.spec.ts took 21.3s
|
tests/affine-local/local-first-new-page.spec.ts#L1
tests/affine-local/local-first-new-page.spec.ts took 20.1s
|
3 flaky
local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it ─
local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ─────────────────
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ──────────────────
3 skipped
24 passed (4.6m)
|
This job succeeded
Loading