refactor: pdf viewer components #18055
Annotations
4 errors, 4 warnings, and 1 notice
tests/affine-local/e2e/navigation.spec.ts#L1
1) navigation.spec.ts:19:5 › back and forward buttons ────────────────────────────────────────────
Test timeout of 50000ms exceeded.
|
tests/affine-local/e2e/navigation.spec.ts#L35
1) navigation.spec.ts:19:5 › back and forward buttons ────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 50000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
33 | await page.waitForURL(url => url.pathname.endsWith('collection'));
34 | await page.getByTestId('workspace-tags-button').click({ delay: 50 });
> 35 | await page.waitForURL(url => url.pathname.endsWith('tag'));
| ^
36 |
37 | await page.goBack();
38 | await page.waitForURL(url => url.pathname.endsWith('collection'));
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:35:14
|
tests/kit/utils/properties.ts#L113
2) page-properties.spec.ts:96:5 › add custom property & edit ─────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Add property' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Add property' })
at ../../kit/utils/properties.ts:113
111 | await expect(
112 | root.getByRole('button', { name: 'Add property' })
> 113 | ).toBeVisible();
| ^
114 | };
115 |
116 | export const togglePropertyListVisibility = async (page: Page) => {
at ensureAddPropertyButtonVisible (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/properties.ts:113:5)
|
tests/kit/utils/properties.ts#L24
2) page-properties.spec.ts:96:5 › add custom property & edit ─────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for locator('[data-testid="doc-property-name"]:has-text("checkbox") + *')
- locator resolved to <div data-empty="false" data-readonly="false" data-hoverable="true" data-property-value="true" class="property_propertyValueContainer__lv10bo6 checkbox_container__6ipxee1">…</div>
- 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
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en" data-theme="light">…</html> intercepts pointer events
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
|
tests/affine-local/local-first-show-delete-modal.spec.ts#L1
tests/affine-local/local-first-show-delete-modal.spec.ts took 54.7s
|
tests/affine-local/local-first-restore-page.spec.ts#L1
tests/affine-local/local-first-restore-page.spec.ts took 45.4s
|
tests/affine-local/open-affine.spec.ts#L1
tests/affine-local/open-affine.spec.ts took 22.4s
|
tests/affine-local/quick-search.spec.ts#L1
tests/affine-local/quick-search.spec.ts took 17.5s
|
|
This job succeeded
Loading