feat: linked doc supports aliases #19168
Annotations
11 errors and 1 notice
|
tests/kit/utils/page-logic.ts#L44
1) doc-info-modal.spec.ts:106:5 › allow create tag ───────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
8 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
1) doc-info-modal.spec.ts:106:5 › allow create tag ───────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
8 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
1) doc-info-modal.spec.ts:106:5 › allow create tag ───────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
7 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
1) doc-info-modal.spec.ts:106:5 › allow create tag ───────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
8 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
2) doc-info-modal.spec.ts:123:5 › add custom property ────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
7 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
2) doc-info-modal.spec.ts:123:5 › add custom property ────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
7 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
2) doc-info-modal.spec.ts:123:5 › add custom property ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
8 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L44
2) doc-info-modal.spec.ts:123:5 › add custom property ────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
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
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
8 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
at ../../kit/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/utils/page-logic.ts:44:53)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:33:3
|
tests/kit/utils/page-logic.ts#L23
3) drag-page.spec.ts:86:5 › drag a page from "All pages" list to favourites, then drag to trash ──
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('v-line') to be visible
at ../../kit/utils/page-logic.ts:23
21 |
22 | export async function waitForEditorLoad(page: Page) {
> 23 | await page.waitForSelector('v-line', {
| ^
24 | timeout: 20000,
25 | });
26 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:23:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:83:26
|
tests/kit/utils/page-logic.ts#L23
3) drag-page.spec.ts:86:5 › drag a page from "All pages" list to favourites, then drag to trash ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('v-line') to be visible
at ../../kit/utils/page-logic.ts:23
21 |
22 | export async function waitForEditorLoad(page: Page) {
> 23 | await page.waitForSelector('v-line', {
| ^
24 | timeout: 20000,
25 | });
26 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:23:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:83:26
|
34 failed
doc-info-modal.spec.ts:106:5 › allow create tag ────────────────────────────────────────────────
doc-info-modal.spec.ts:123:5 › add custom property ─────────────────────────────────────────────
drag-page.spec.ts:86:5 › drag a page from "All pages" list to favourites, then drag to trash ───
drag-page.spec.ts:105:5 › drag a page from "All pages" list to collections, then drag to trash ─
drag-page.spec.ts:122:5 › drag a page from "All pages" list to trash ───────────────────────────
drag-page.spec.ts:136:5 › drag a page from favourites to collection ────────────────────────────
drag-page.spec.ts:155:5 › drag a collection to favourites ──────────────────────────────────────
drag-page.spec.ts:163:5 › items in favourites can be reordered by dragging ─────────────────────
duplicate-page.spec.ts:11:5 › Duplicate page should work ───────────────────────────────────────
image-preview.spec.ts:20:5 › image preview should be shown ─────────────────────────────────────
image-preview.spec.ts:35:5 › image go left and right ───────────────────────────────────────────
image-preview.spec.ts:85:5 › image able to zoom in and out with mouse scroll ───────────────────
image-preview.spec.ts:139:5 › image able to zoom in and out with button click ──────────────────
image-preview.spec.ts:186:5 › image should able to go left and right by buttons ────────────────
image-preview.spec.ts:239:5 › image able to fit to screen by button ────────────────────────────
image-preview.spec.ts:297:5 › image able to reset zoom to 100% ─────────────────────────────────
image-preview.spec.ts:351:5 › image able to copy to clipboard ──────────────────────────────────
image-preview.spec.ts:378:5 › image preview should be able to copy image to clipboard on copy event
image-preview.spec.ts:407:5 › image able to download ───────────────────────────────────────────
image-preview.spec.ts:436:5 › image should only able to move when image is larger than viewport
image-preview.spec.ts:494:5 › image should able to delete and when delete, it will move to previous/next image
image-preview.spec.ts:570:5 › tooltips for all buttons should be visible when hovering ─────────
image-preview.spec.ts:678:5 › keypress esc should close the modal ──────────────────────────────
image-preview.spec.ts:694:5 › when mouse moves outside, the modal should be closed ─────────────
image-preview.spec.ts:714:5 › caption should be visible and different styles were applied if image zoomed larger than viewport
import-dialog.spec.ts:14:5 › Open import dialog by click root sidebar import button ────────────
import-dialog.spec.ts:26:5 › Open import dialog by click header menu import button ─────────────
import-dialog.spec.ts:39:5 › Open import dialog by @ menu import button ────────────────────────
journal.spec.ts:84:5 › Create a journal from sidebar ───────────────────────────────────────────
journal.spec.ts:91:5 › Create a page and turn it into a journal ────────────────────────────────
journal.spec.ts:97:5 › Should show duplicated tag when create journal on same day ──────────────
journal.spec.ts:106:5 › Resolve duplicated journal ─────────────────────────────────────────────
layout.spec.ts:6:5 › Collapse Sidebar ──────────────────────────────────────────────────────────
layout.spec.ts:16:5 › Expand Sidebar ───────────────────────────────────────────────────────────
1 passed (25.3m)
|
This job failed
Loading