Skip to content

feat(electron): multi tabs support #11283

feat(electron): multi tabs support

feat(electron): multi tabs support #11283

Triggered via pull request July 10, 2024 09:10
Status Failure
Total duration 3h 9m 16s
Artifacts 16

build-test.yml

on: pull_request
Matrix: build-native
Build Server native
1m 58s
Build Server native
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
3m 24s
Build @affine/web
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

103 errors, 2 warnings, and 10 notices
Lint
Process completed with exit code 1.
basic.spec.ts:33:5 › v1 to v4: tests/kit/utils/sidebar.ts#L8
1) basic.spec.ts:33:5 › v1 to v4 ───────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('all-pages') at ../../kit/utils/sidebar.ts:8 6 | 7 | export async function clickSideBarAllPageButton(page: Page) { > 8 | return page.getByTestId('all-pages').click(); | ^ 9 | } 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:37:34
basic.spec.ts:33:5 › v1 to v4: tests/kit/utils/sidebar.ts#L8
1) basic.spec.ts:33:5 › v1 to v4 ───────────────────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('all-pages') at ../../kit/utils/sidebar.ts:8 6 | 7 | export async function clickSideBarAllPageButton(page: Page) { > 8 | return page.getByTestId('all-pages').click(); | ^ 9 | } 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:37:34
basic.spec.ts:33:5 › v1 to v4: tests/kit/utils/sidebar.ts#L8
1) basic.spec.ts:33:5 › v1 to v4 ───────────────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('all-pages') at ../../kit/utils/sidebar.ts:8 6 | 7 | export async function clickSideBarAllPageButton(page: Page) { > 8 | return page.getByTestId('all-pages').click(); | ^ 9 | } 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:37:34
basic.spec.ts:33:5 › v1 to v4: tests/kit/utils/sidebar.ts#L8
1) basic.spec.ts:33:5 › v1 to v4 ───────────────────────────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('all-pages') at ../../kit/utils/sidebar.ts:8 6 | 7 | export async function clickSideBarAllPageButton(page: Page) { > 8 | return page.getByTestId('all-pages').click(); | ^ 9 | } 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:37:34
basic.spec.ts:52:5 › v2 to v4: tests/affine-migration/e2e/basic.spec.ts#L61
2) basic.spec.ts:52:5 › v2 to v4, database migration ───────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('upgrade-workspace-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('upgrade-workspace-button') 59 | await page.goto(detailPagePath); 60 | > 61 | await expect(page.getByTestId('upgrade-workspace-button')).toBeVisible(); | ^ 62 | await page.getByTestId('upgrade-workspace-button').click(); 63 | 64 | // check page mode is correct at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:61:62
basic.spec.ts:52:5 › v2 to v4: tests/affine-migration/e2e/basic.spec.ts#L61
2) basic.spec.ts:52:5 › v2 to v4, database migration ───────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('upgrade-workspace-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('upgrade-workspace-button') 59 | await page.goto(detailPagePath); 60 | > 61 | await expect(page.getByTestId('upgrade-workspace-button')).toBeVisible(); | ^ 62 | await page.getByTestId('upgrade-workspace-button').click(); 63 | 64 | // check page mode is correct at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:61:62
basic.spec.ts:52:5 › v2 to v4: tests/affine-migration/e2e/basic.spec.ts#L61
2) basic.spec.ts:52:5 › v2 to v4, database migration ───────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('upgrade-workspace-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('upgrade-workspace-button') 59 | await page.goto(detailPagePath); 60 | > 61 | await expect(page.getByTestId('upgrade-workspace-button')).toBeVisible(); | ^ 62 | await page.getByTestId('upgrade-workspace-button').click(); 63 | 64 | // check page mode is correct at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:61:62
basic.spec.ts:52:5 › v2 to v4: tests/affine-migration/e2e/basic.spec.ts#L61
2) basic.spec.ts:52:5 › v2 to v4, database migration ───────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('upgrade-workspace-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('upgrade-workspace-button') 59 | await page.goto(detailPagePath); 60 | > 61 | await expect(page.getByTestId('upgrade-workspace-button')).toBeVisible(); | ^ 62 | await page.getByTestId('upgrade-workspace-button').click(); 63 | 64 | // check page mode is correct at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:61:62
basic.spec.ts:73:5 › v3 to v4: tests/affine-migration/e2e/basic.spec.ts#L79
3) basic.spec.ts:73:5 › v3 to v4, surface migration ────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('upgrade-workspace-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('upgrade-workspace-button') 77 | await page.goto(detailPagePath); 78 | > 79 | await expect(page.getByTestId('upgrade-workspace-button')).toBeVisible(); | ^ 80 | await page.getByTestId('upgrade-workspace-button').click(); 81 | await waitForEditorLoad(page); 82 | at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:79:62
basic.spec.ts:73:5 › v3 to v4: tests/affine-migration/e2e/basic.spec.ts#L79
3) basic.spec.ts:73:5 › v3 to v4, surface migration ────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('upgrade-workspace-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('upgrade-workspace-button') 77 | await page.goto(detailPagePath); 78 | > 79 | await expect(page.getByTestId('upgrade-workspace-button')).toBeVisible(); | ^ 80 | await page.getByTestId('upgrade-workspace-button').click(); 81 | await waitForEditorLoad(page); 82 | at /home/runner/work/AFFiNE/AFFiNE/tests/affine-migration/e2e/basic.spec.ts:79:62
basic.spec.ts:28:5 › new page: tests/affine-desktop-cloud/e2e/basic.spec.ts#L22
1) basic.spec.ts:28:5 › new page ───────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 20 | }); 21 | > 22 | test.beforeEach(async ({ page }) => { | ^ 23 | await loginUser(page, user.email, { 24 | isElectron: true, 25 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:22:6
basic.spec.ts:28:5 › new page: tests/affine-desktop-cloud/e2e/basic.spec.ts#L22
1) basic.spec.ts:28:5 › new page ───────────────────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 20 | }); 21 | > 22 | test.beforeEach(async ({ page }) => { | ^ 23 | await loginUser(page, user.email, { 24 | isElectron: true, 25 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:22:6
basic.spec.ts:28:5 › new page: tests/affine-desktop-cloud/e2e/basic.spec.ts#L22
1) basic.spec.ts:28:5 › new page ───────────────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 20 | }); 21 | > 22 | test.beforeEach(async ({ page }) => { | ^ 23 | await loginUser(page, user.email, { 24 | isElectron: true, 25 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:22:6
basic.spec.ts:28:5 › new page: tests/affine-desktop-cloud/e2e/basic.spec.ts#L22
1) basic.spec.ts:28:5 › new page ───────────────────────────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 20 | }); 21 | > 22 | test.beforeEach(async ({ page }) => { | ^ 23 | await loginUser(page, user.email, { 24 | isElectron: true, 25 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:22:6
Server Desktop E2E Test
Process completed with exit code 1.
page-history.spec.ts:35:5 › newly created page shows empty history: tests/kit/utils/page-logic.ts#L5
1) page-history.spec.ts:35:5 › newly created page shows empty history ──────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:35:5 › newly created page shows empty history: tests/kit/utils/page-logic.ts#L5
1) page-history.spec.ts:35:5 › newly created page shows empty history ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:35:5 › newly created page shows empty history: tests/kit/utils/page-logic.ts#L5
1) page-history.spec.ts:35:5 › newly created page shows empty history ──────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:35:5 › newly created page shows empty history: tests/kit/utils/page-logic.ts#L5
1) page-history.spec.ts:35:5 › newly created page shows empty history ──────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:88:5 › can restore page to a history version: tests/kit/utils/page-logic.ts#L5
2) page-history.spec.ts:88:5 › can restore page to a history version ───────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:88:5 › can restore page to a history version: tests/kit/utils/page-logic.ts#L5
2) page-history.spec.ts:88:5 › can restore page to a history version ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:88:5 › can restore page to a history version: tests/kit/utils/page-logic.ts#L5
2) page-history.spec.ts:88:5 › can restore page to a history version ───────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
page-history.spec.ts:88:5 › can restore page to a history version: tests/kit/utils/page-logic.ts#L5
2) page-history.spec.ts:88:5 › can restore page to a history version ───────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/page-history.spec.ts:26:3
workspace.spec.ts:31:5 › should have pagination in member list: tests/kit/utils/page-logic.ts#L5
3) workspace.spec.ts:31:5 › should have pagination in member list ──────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/workspace.spec.ts:28:3
workspace.spec.ts:31:5 › should have pagination in member list: tests/kit/utils/page-logic.ts#L5
3) workspace.spec.ts:31:5 › should have pagination in member list ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/workspace.spec.ts:28:3
Server E2E Test 3/3
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
login.spec.ts:19:5 › can open login modal in workspace list: tests/kit/utils/page-logic.ts#L5
1) login.spec.ts:19:5 › can open login modal in workspace list ─────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:21:26
login.spec.ts:19:5 › can open login modal in workspace list: tests/kit/utils/page-logic.ts#L5
1) login.spec.ts:19:5 › can open login modal in workspace list ─────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:21:26
login.spec.ts:19:5 › can open login modal in workspace list: tests/kit/utils/page-logic.ts#L5
1) login.spec.ts:19:5 › can open login modal in workspace list ─────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:21:26
login.spec.ts:19:5 › can open login modal in workspace list: tests/kit/utils/page-logic.ts#L5
1) login.spec.ts:19:5 › can open login modal in workspace list ─────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:21:26
login.spec.ts:42:7 › login first › exit successfully and re-login: tests/kit/utils/page-logic.ts#L5
2) login.spec.ts:42:7 › login first › exit successfully and re-login ───────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:39:5
login.spec.ts:42:7 › login first › exit successfully and re-login: tests/kit/utils/page-logic.ts#L5
2) login.spec.ts:42:7 › login first › exit successfully and re-login ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:39:5
login.spec.ts:42:7 › login first › exit successfully and re-login: tests/kit/utils/page-logic.ts#L5
2) login.spec.ts:42:7 › login first › exit successfully and re-login ───────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:39:5
login.spec.ts:42:7 › login first › exit successfully and re-login: tests/kit/utils/page-logic.ts#L5
2) login.spec.ts:42:7 › login first › exit successfully and re-login ───────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:39:5
login.spec.ts:62:7 › login first › can sign out: tests/kit/utils/page-logic.ts#L5
3) login.spec.ts:62:7 › login first › can sign out ─────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:39:5
login.spec.ts:62:7 › login first › can sign out: tests/kit/utils/page-logic.ts#L5
3) login.spec.ts:62:7 › login first › can sign out ─────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/login.spec.ts:39:5
Server E2E Test 2/3
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
collaboration.spec.ts:40:5 › can enable share page: tests/kit/utils/page-logic.ts#L5
1) collaboration.spec.ts:40:5 › can enable share page ──────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:40:5 › can enable share page: tests/kit/utils/page-logic.ts#L5
1) collaboration.spec.ts:40:5 › can enable share page ──────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:40:5 › can enable share page: tests/kit/utils/page-logic.ts#L5
1) collaboration.spec.ts:40:5 › can enable share page ──────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:40:5 › can enable share page: tests/kit/utils/page-logic.ts#L5
1) collaboration.spec.ts:40:5 › can enable share page ──────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:78:5 › share page with default edgeless: tests/kit/utils/page-logic.ts#L5
2) collaboration.spec.ts:78:5 › share page with default edgeless ───────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:78:5 › share page with default edgeless: tests/kit/utils/page-logic.ts#L5
2) collaboration.spec.ts:78:5 › share page with default edgeless ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:78:5 › share page with default edgeless: tests/kit/utils/page-logic.ts#L5
2) collaboration.spec.ts:78:5 › share page with default edgeless ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:78:5 › share page with default edgeless: tests/kit/utils/page-logic.ts#L5
2) collaboration.spec.ts:78:5 › share page with default edgeless ───────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:193:5 › can sync collections between different browser: tests/kit/utils/page-logic.ts#L5
3) collaboration.spec.ts:193:5 › can sync collections between different browser ────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
collaboration.spec.ts:193:5 › can sync collections between different browser: tests/kit/utils/page-logic.ts#L5
3) collaboration.spec.ts:193:5 › can sync collections between different browser ────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:171:28) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:37:3
Server E2E Test 1/3
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
navigation.spec.ts:19:5 › back and forward buttons: tests/kit/utils/page-logic.ts#L26
1) navigation.spec.ts:19:5 › back and forward buttons ──────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('sidebar-new-page-button') 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 /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:25:3
navigation.spec.ts:19:5 › back and forward buttons: tests/kit/utils/page-logic.ts#L26
1) navigation.spec.ts:19:5 › back and forward buttons ──────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('sidebar-new-page-button') 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 /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:25:3
navigation.spec.ts:19:5 › back and forward buttons: tests/kit/utils/page-logic.ts#L26
1) navigation.spec.ts:19:5 › back and forward buttons ──────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('sidebar-new-page-button') 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 /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:25:3
navigation.spec.ts:19:5 › back and forward buttons: tests/kit/utils/page-logic.ts#L26
1) navigation.spec.ts:19:5 › back and forward buttons ──────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('sidebar-new-page-button') 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 /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:25:3
open-affine.spec.ts:7:5 › Open last workspace when back to affine: tests/affine-local/e2e/open-affine.spec.ts#L1
2) open-affine.spec.ts:7:5 › Open last workspace when back to affine ───────────────────────────── Test timeout of 50000ms exceeded.
open-affine.spec.ts:7:5 › Open last workspace when back to affine: tests/kit/utils/page-logic.ts#L5
2) open-affine.spec.ts:7:5 › Open last workspace when back to affine ───────────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:9:26
open-affine.spec.ts:7:5 › Open last workspace when back to affine: tests/kit/utils/page-logic.ts#L5
2) open-affine.spec.ts:7:5 › Open last workspace when back to affine ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:9:26
open-affine.spec.ts:7:5 › Open last workspace when back to affine: tests/kit/utils/page-logic.ts#L5
2) open-affine.spec.ts:7:5 › Open last workspace when back to affine ───────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:9:26
open-affine.spec.ts:7:5 › Open last workspace when back to affine: tests/kit/utils/page-logic.ts#L5
2) open-affine.spec.ts:7:5 › Open last workspace when back to affine ───────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:9:26
open-affine.spec.ts:28:5 › Download client tip: tests/affine-local/e2e/open-affine.spec.ts#L31
3) open-affine.spec.ts:28:5 › Download client tip ──────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=local-demo-tips]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('[data-testid=local-demo-tips]') 29 | await openHomePage(page); 30 | const localDemoTipsItem = page.locator('[data-testid=local-demo-tips]'); > 31 | await expect(localDemoTipsItem).toBeVisible(); | ^ 32 | const closeButton = page.locator( 33 | '[data-testid=local-demo-tips-close-button]' 34 | ); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:31:35
local-first-collections-items.spec.ts:104:5 › edit collection: tests/affine-local/e2e/local-first-collections-items.spec.ts#L26
1) local-first-collections-items.spec.ts:104:5 › edit collection ───────────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 24 | }; 25 | > 26 | test.beforeEach(async ({ page }) => { | ^ 27 | await openHomePage(page); 28 | await waitForEditorLoad(page); 29 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:26:6
local-first-collections-items.spec.ts:104:5 › edit collection: tests/kit/utils/page-logic.ts#L5
1) local-first-collections-items.spec.ts:104:5 › edit collection ───────────────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:104:5 › edit collection: tests/kit/utils/page-logic.ts#L5
1) local-first-collections-items.spec.ts:104:5 › edit collection ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:104:5 › edit collection: tests/kit/utils/page-logic.ts#L5
1) local-first-collections-items.spec.ts:104:5 › edit collection ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:104:5 › edit collection: tests/kit/utils/page-logic.ts#L5
1) local-first-collections-items.spec.ts:104:5 › edit collection ───────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:121:5 › edit collection and change filter date: tests/affine-local/e2e/local-first-collections-items.spec.ts#L26
2) local-first-collections-items.spec.ts:121:5 › edit collection and change filter date ────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 24 | }; 25 | > 26 | test.beforeEach(async ({ page }) => { | ^ 27 | await openHomePage(page); 28 | await waitForEditorLoad(page); 29 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:26:6
local-first-collections-items.spec.ts:121:5 › edit collection and change filter date: tests/kit/utils/page-logic.ts#L5
2) local-first-collections-items.spec.ts:121:5 › edit collection and change filter date ────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:121:5 › edit collection and change filter date: tests/kit/utils/page-logic.ts#L5
2) local-first-collections-items.spec.ts:121:5 › edit collection and change filter date ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:121:5 › edit collection and change filter date: tests/kit/utils/page-logic.ts#L5
2) local-first-collections-items.spec.ts:121:5 › edit collection and change filter date ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
local-first-collections-items.spec.ts:121:5 › edit collection and change filter date: tests/kit/utils/page-logic.ts#L5
2) local-first-collections-items.spec.ts:121:5 › edit collection and change filter date ────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:28:26
ai-land.spec.ts:9:5 › Click ai-land icon: tests/affine-local/e2e/ai-land.spec.ts#L1
1) ai-land.spec.ts:9:5 › Click ai-land icon ────────────────────────────────────────────────────── Test timeout of 50000ms exceeded.
ai-land.spec.ts:9:5 › Click ai-land icon: tests/kit/utils/page-logic.ts#L5
1) ai-land.spec.ts:9:5 › Click ai-land icon ────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/ai-land.spec.ts:11:26
ai-land.spec.ts:9:5 › Click ai-land icon: tests/kit/utils/page-logic.ts#L5
1) ai-land.spec.ts:9:5 › Click ai-land icon ────────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/ai-land.spec.ts:11:26
ai-land.spec.ts:9:5 › Click ai-land icon: tests/kit/utils/page-logic.ts#L5
1) ai-land.spec.ts:9:5 › Click ai-land icon ────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/ai-land.spec.ts:11:26
ai-land.spec.ts:9:5 › Click ai-land icon: tests/kit/utils/page-logic.ts#L5
1) ai-land.spec.ts:9:5 › Click ai-land icon ────────────────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/ai-land.spec.ts:11:26
all-page.spec.ts:45:5 › all page: tests/affine-local/e2e/all-page.spec.ts#L1
2) all-page.spec.ts:45:5 › all page ────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded.
all-page.spec.ts:45:5 › all page: tests/kit/utils/page-logic.ts#L5
2) all-page.spec.ts:45:5 › all page ────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:47:26
all-page.spec.ts:45:5 › all page: tests/kit/utils/page-logic.ts#L5
2) all-page.spec.ts:45:5 › all page ────────────────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:47:26
all-page.spec.ts:45:5 › all page: tests/kit/utils/page-logic.ts#L5
2) all-page.spec.ts:45:5 › all page ────────────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:47:26
all-page.spec.ts:45:5 › all page: tests/kit/utils/page-logic.ts#L5
2) all-page.spec.ts:45:5 › all page ────────────────────────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:47:26
quick-search.spec.ts:211:5 › Open quick search on local page: tests/affine-local/e2e/quick-search.spec.ts#L1
1) quick-search.spec.ts:211:5 › Open quick search on local page ────────────────────────────────── Test timeout of 50000ms exceeded.
quick-search.spec.ts:211:5 › Open quick search on local page: tests/kit/utils/page-logic.ts#L5
1) quick-search.spec.ts:211:5 › Open quick search on local page ────────────────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:213:26
quick-search.spec.ts:211:5 › Open quick search on local page: tests/kit/utils/page-logic.ts#L5
1) quick-search.spec.ts:211:5 › Open quick search on local page ────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:213:26
quick-search.spec.ts:211:5 › Open quick search on local page: tests/kit/utils/page-logic.ts#L5
1) quick-search.spec.ts:211:5 › Open quick search on local page ────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:213:26
quick-search.spec.ts:211:5 › Open quick search on local page: tests/kit/utils/page-logic.ts#L5
1) quick-search.spec.ts:211:5 › Open quick search on local page ────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:213:26
quick-search.spec.ts:220:5 › Autofocus input after opening quick search: tests/affine-local/e2e/quick-search.spec.ts#L1
2) quick-search.spec.ts:220:5 › Autofocus input after opening quick search ─────────────────────── Test timeout of 50000ms exceeded.
quick-search.spec.ts:220:5 › Autofocus input after opening quick search: tests/kit/utils/page-logic.ts#L5
2) quick-search.spec.ts:220:5 › Autofocus input after opening quick search ─────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:222:26
quick-search.spec.ts:220:5 › Autofocus input after opening quick search: tests/kit/utils/page-logic.ts#L5
2) quick-search.spec.ts:220:5 › Autofocus input after opening quick search ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:222:26
quick-search.spec.ts:220:5 › Autofocus input after opening quick search: tests/kit/utils/page-logic.ts#L5
2) quick-search.spec.ts:220:5 › Autofocus input after opening quick search ─────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:222:26
quick-search.spec.ts:220:5 › Autofocus input after opening quick search: tests/kit/utils/page-logic.ts#L5
2) quick-search.spec.ts:220:5 › Autofocus input after opening quick search ─────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:222:26
drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections: tests/affine-local/e2e/drag-page.spec.ts#L85
1) drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections, then drag to trash Test timeout of 50000ms exceeded while running "beforeEach" hook. 83 | }; 84 | > 85 | test.beforeEach(async ({ page }) => { | ^ 86 | await openHomePage(page); 87 | await waitForEditorLoad(page); 88 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:85:6
drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections: tests/kit/utils/page-logic.ts#L5
1) drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections, then drag to trash Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections: tests/kit/utils/page-logic.ts#L5
1) drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections, 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:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections: tests/kit/utils/page-logic.ts#L5
1) drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections, then drag to trash Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections: tests/kit/utils/page-logic.ts#L5
1) drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections, then drag to trash Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash: tests/affine-local/e2e/drag-page.spec.ts#L85
2) drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash ────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 83 | }; 84 | > 85 | test.beforeEach(async ({ page }) => { | ^ 86 | await openHomePage(page); 87 | await waitForEditorLoad(page); 88 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:85:6
drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash: tests/kit/utils/page-logic.ts#L5
2) drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash ────────────────────────── Error: page.waitForSelector: Test timeout of 50000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash: tests/kit/utils/page-logic.ts#L5
2) drag-page.spec.ts:126:5 › drag a page from "All pages" list 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:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash: tests/kit/utils/page-logic.ts#L5
2) drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash: tests/kit/utils/page-logic.ts#L5
2) drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash ────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('v-line') to be visible at ../../kit/utils/page-logic.ts:5 3 | 4 | export async function waitForEditorLoad(page: Page) { > 5 | await page.waitForSelector('v-line', { | ^ 6 | timeout: 20000, 7 | }); 8 | } at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/drag-page.spec.ts:87:26
Desktop Test (macos-14, macos, arm64, aarch64-apple-darwin, true)
Process completed with exit code 1.
Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true)
Process completed with exit code 1.
Desktop Test (windows-latest, windows, x64, x86_64-pc-windows-msvc, true)
Process completed with exit code 1.
3, 2, 1 Launch
Process completed with exit code 1.
Analyze (javascript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
Analyze (typescript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
🎭 Playwright Run Summary
4 failed basic.spec.ts:33:5 › v1 to v4 ────────────────────────────────────────────────────────────────── basic.spec.ts:52:5 › v2 to v4, database migration ────────────────────────────────────────────── basic.spec.ts:73:5 › v3 to v4, surface migration ─────────────────────────────────────────────── basic.spec.ts:91:5 › v0 to v4, subdoc migration ────────────────────────────────────────────────
🎭 Playwright Run Summary
1 failed basic.spec.ts:28:5 › new page ──────────────────────────────────────────────────────────────────
🎭 Playwright Run Summary
3 failed page-history.spec.ts:35:5 › newly created page shows empty history ───────────────────────────── page-history.spec.ts:88:5 › can restore page to a history version ────────────────────────────── workspace.spec.ts:31:5 › should have pagination in member list ───────────────────────────────── 1 skipped
🎭 Playwright Run Summary
4 failed login.spec.ts:19:5 › can open login modal in workspace list ──────────────────────────────────── login.spec.ts:42:7 › login first › exit successfully and re-login ────────────────────────────── login.spec.ts:62:7 › login first › can sign out ──────────────────────────────────────────────── login.spec.ts:83:7 › login first › can see and change email and password in setting panel ──────
🎭 Playwright Run Summary
5 failed collaboration.spec.ts:40:5 › can enable share page ───────────────────────────────────────────── collaboration.spec.ts:78:5 › share page with default edgeless ────────────────────────────────── collaboration.spec.ts:193:5 › can sync collections between different browser ─────────────────── collaboration.spec.ts:223:5 › can sync svg between different browsers ────────────────────────── collaboration.spec.ts:301:5 › When the first sync is not completed, should always show loading ─ 1 skipped
🎭 Playwright Run Summary
28 failed navigation.spec.ts:19:5 › back and forward buttons ───────────────────────────────────────────── open-affine.spec.ts:7:5 › Open last workspace when back to affine ────────────────────────────── open-affine.spec.ts:28:5 › Download client tip ───────────────────────────────────────────────── page-properties.spec.ts:35:5 › allow create tag ──────────────────────────────────────────────── page-properties.spec.ts:48:5 › allow using keyboard to navigate tags ─────────────────────────── page-properties.spec.ts:66:5 › allow create tag on journals page ─────────────────────────────── page-properties.spec.ts:83:5 › add custom property ───────────────────────────────────────────── page-properties.spec.ts:90:5 › add custom property & edit ────────────────────────────────────── page-properties.spec.ts:101:5 › property table reordering ────────────────────────────────────── page-properties.spec.ts:132:5 › page info show more will not should by default when there is no properties page-properties.spec.ts:139:5 › page info show more will show all properties ─────────────────── page-properties.spec.ts:169:5 › change page properties visibility ────────────────────────────── page-properties.spec.ts:193:5 › check if added property is also in workspace settings ────────── page-properties.spec.ts:203:5 › edit property name ───────────────────────────────────────────── page-properties.spec.ts:226:5 › delete property via property popup ───────────────────────────── page-properties.spec.ts:253:5 › create a required property ───────────────────────────────────── page-properties.spec.ts:289:5 › delete a required property ───────────────────────────────────── peek-view.spec.ts:20:5 › can open peek view via link popover ─────────────────────────────────── peek-view.spec.ts:46:5 › can open peek view via shift+click link ─────────────────────────────── peek-view.spec.ts:61:5 › can open peek view via db+click link card ───────────────────────────── peek-view.spec.ts:109:5 › can open peek view for embedded frames ─────────────────────────────── quick-search.spec.ts:110:5 › Click slider bar button ─────────────────────────────────────────── quick-search.spec.ts:122:5 › Press the shortcut key cmd+k and close with esc ─────────────────── quick-search.spec.ts:135:5 › Create a new page without keyword ───────────────────────────────── quick-search.spec.ts:146:5 › Create a new page with keyword ──────────────────────────────────── quick-search.spec.ts:160:5 › Enter a keyword to search for ───────────────────────────────────── quick-search.spec.ts:168:5 › Create a new page and search this page ──────────────────────────── quick-search.spec.ts:200:5 › Navigate to the 404 page and try to open quick search ───────────── 1 skipped
🎭 Playwright Run Summary
25 failed local-first-collections-items.spec.ts:104:5 › edit collection ────────────────────────────────── local-first-collections-items.spec.ts:121:5 › edit collection and change filter date ─────────── local-first-collections-items.spec.ts:140:5 › add collection from sidebar ────────────────────── local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ─── local-first-delete-page.spec.ts:47:5 › page delete -> create new page -> refresh page -> new page should be appear -> old page should be disappear local-first-delete-page.spec.ts:102:5 › delete multiple pages -> create multiple pages -> refresh local-first-delete-workspace.spec.ts:11:5 › Create new workspace, then delete it ─────────────── local-first-delete-workspace.spec.ts:57:5 › Delete last workspace ────────────────────────────── local-first-favorite-page.spec.ts:13:5 › New a page and open it ,then favorite it ────────────── local-first-favorite-page.spec.ts:37:5 › Export to html, markdown and png ────────────────────── local-first-favorite-page.spec.ts:82:5 › Cancel favorite ─────────────────────────────────────── local-first-favorites-items.spec.ts:15:5 › Show favorite items in sidebar ────────────────────── local-first-favorites-items.spec.ts:41:5 › Show favorite reference in sidebar ────────────────── local-first-favorites-items.spec.ts:81:5 › Deleted page's reference will not be shown in sidebar local-first-favorites-items.spec.ts:142:5 › Add new favorite page via sidebar ────────────────── local-first-new-page.spec.ts:10:5 › click btn new page ───────────────────────────────────────── local-first-new-page.spec.ts:22:5 › click btn bew page and find it in all pages ──────────────── local-first-openpage-newtab.spec.ts:11:5 › click btn bew page and open in tab ────────────────── local-first-restore-page.spec.ts:11:5 › New a page , then delete it in all pages, restore it ─── local-first-show-delete-modal.spec.ts:12:5 › New a page ,then open it and show delete modal ──── local-first-show-delete-modal.spec.ts:38:5 › New a page ,then go to all pages and show delete modal local-first-trash-page.spec.ts:11:5 › New a page , then delete it in all pages, finally find it in trash local-first-workspace-list.spec.ts:12:5 › just one item in the workspace list at first ───────── local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list ─────────── local-first-workspace.spec.ts:6:5 › preset workspace name ────────────────────────────────────── 4 skipped
🎭 Playwright Run Summary
29 failed ai-land.spec.ts:9:5 › Click ai-land icon ─────────────────────────────────────────────────────── all-page.spec.ts:45:5 › all page ─────────────────────────────────────────────────────────────── all-page.spec.ts:51:5 › all page can create new page ─────────────────────────────────────────── all-page.spec.ts:64:5 › all page can create new edgeless page ────────────────────────────────── all-page.spec.ts:73:5 › allow creation of filters by favorite ────────────────────────────────── all-page.spec.ts:88:5 › use monthpicker to modify the month of datepicker ────────────────────── all-page.spec.ts:111:5 › allow creation of filters by tags ───────────────────────────────────── all-page.spec.ts:140:5 › enable selection and use ESC to disable selection ───────────────────── all-page.spec.ts:187:5 › select two pages and delete ─────────────────────────────────────────── all-page.spec.ts:231:5 › select two pages and permanently delete ─────────────────────────────── all-page.spec.ts:291:5 › select a group of items by clicking "Select All" in group header ────── all-page.spec.ts:321:5 › click display button to group pages ─────────────────────────────────── all-page.spec.ts:349:5 › select display properties to hide bodyNotes ─────────────────────────── all-page.spec.ts:372:5 › select three pages with shiftKey and delete ─────────────────────────── blocksuite/editor.spec.ts:20:5 › database is useable ─────────────────────────────────────────── blocksuite/editor.spec.ts:45:5 › link page is useable ────────────────────────────────────────── change-page-mode.spec.ts:10:5 › Switch to edgeless by switch edgeless item ───────────────────── change-page-mode.spec.ts:58:5 › Convert to edgeless by editor header items ───────────────────── change-page-mode.spec.ts:69:5 › Able to insert the title of an untitled page ─────────────────── change-page-mode.spec.ts:80:5 › Able to edit the title of an existing page ───────────────────── change-page-mode.spec.ts:95:5 › Clearing out the title bar will remove the page title ────────── change-page-mode.spec.ts:112:5 › Rename by editor header items, save with shortcut ───────────── doc-info-modal.spec.ts:39:5 › New a page and open it ,then open info modal in the title bar ──── doc-info-modal.spec.ts:52:5 › New a page and open it ,then open info modal in the title bar more action button doc-info-modal.spec.ts:66:5 › New a page, then open info modal from all doc ──────────────────── doc-info-modal.spec.ts:83:5 › New a page and add to favourites, then open info modal from sidebar doc-info-modal.spec.ts:113:5 › allow create tag ──────────────────────────────────────────────── doc-info-modal.spec.ts:130:5 › add custom property ───────────────────────────────────────────── drag-page.spec.ts:90:5 › drag a page from "All pages" list to favourites, then drag to trash ───
🎭 Playwright Run Summary
28 failed quick-search.spec.ts:211:5 › Open quick search on local page ─────────────────────────────────── quick-search.spec.ts:220:5 › Autofocus input after opening quick search ──────────────────────── quick-search.spec.ts:229:5 › Autofocus input after select ────────────────────────────────────── quick-search.spec.ts:240:5 › Focus title after creating a new page ───────────────────────────── quick-search.spec.ts:250:5 › can use keyboard down to select goto setting ────────────────────── quick-search.spec.ts:259:5 › assert the recent browse pages are on the recent list ───────────── quick-search.spec.ts:339:5 › can use cmdk to export pdf ──────────────────────────────────────── quick-search.spec.ts:352:5 › can use cmdk to export png ──────────────────────────────────────── quick-search.spec.ts:366:5 › can use cmdk to delete page and restore it ──────────────────────── quick-search.spec.ts:386:5 › can use cmdk to search page content and scroll to it, then the block will be selected quick-search.spec.ts:425:5 › Create a new page with special characters in the title and search for this page quick-search.spec.ts:447:5 › disable quick search when the link-popup is visitable ───────────── quick-search.spec.ts:474:5 › can use @ to open quick search to search for doc and insert into canvas quick-search.spec.ts:511:5 › can paste a doc link to create link reference ───────────────────── quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card ───────────── router.spec.ts:6:5 › goto not found page ─────────────────────────────────────────────────────── router.spec.ts:17:5 › goto not found workspace ───────────────────────────────────────────────── settings.spec.ts:15:5 › Open settings modal ──────────────────────────────────────────────────── settings.spec.ts:24:5 › change language using keyboard ───────────────────────────────────────── settings.spec.ts:45:5 › Change theme ─────────────────────────────────────────────────────────── settings.spec.ts:61:5 › Change layout width ──────────────────────────────────────────────────── settings.spec.ts:74:5 › Open shortcuts panel ─────────────────────────────────────────────────── settings.spec.ts:83:5 › Open about panel ─────────────────────────────────────────────────────── settings.spec.ts:92:5 › Open experimental features panel ─────────────────────────────────────── settings.spec.ts:104:5 › Different workspace should have different name in the setting panel ─── subpage.spec.ts:6:5 › Create subpage ─────────────────────────────────────────────────────────── theme.spec.ts:13:5 › default white ───────────────────────────────────────────────────────────── undo-empty.spec.ts:10:5 › should be able to undo on empty page ─────────────────────────────────
🎭 Playwright Run Summary
29 failed drag-page.spec.ts:109:5 › drag a page from "All pages" list to collections, then drag to trash ─ drag-page.spec.ts:126:5 › drag a page from "All pages" list to trash ─────────────────────────── drag-page.spec.ts:140:5 › drag a page from favourites to collection ──────────────────────────── drag-page.spec.ts:159:5 › drag a collection to favourites ────────────────────────────────────── drag-page.spec.ts:169:5 › items in favourites can be reordered by dragging ───────────────────── duplicate-page.spec.ts:11:5 › Duplicate page should work ─────────────────────────────────────── exception-page.spec.ts:5:5 › visit 404 page ──────────────────────────────────────────────────── image-preview.spec.ts:45:5 › image preview should be shown ───────────────────────────────────── image-preview.spec.ts:60:5 › image go left and right ─────────────────────────────────────────── image-preview.spec.ts:110:5 › image able to zoom in and out with mouse scroll ────────────────── image-preview.spec.ts:164:5 › image able to zoom in and out with button click ────────────────── image-preview.spec.ts:211:5 › image should able to go left and right by buttons ──────────────── image-preview.spec.ts:264:5 › image able to fit to screen by button ──────────────────────────── image-preview.spec.ts:322:5 › image able to reset zoom to 100% ───────────────────────────────── image-preview.spec.ts:376:5 › image able to copy to clipboard ────────────────────────────────── image-preview.spec.ts:403:5 › image able to download ─────────────────────────────────────────── image-preview.spec.ts:432:5 › image should only able to move when image is larger than viewport image-preview.spec.ts:490:5 › image should able to delete and when delete, it will move to previous/next image image-preview.spec.ts:566:5 › tooltips for all buttons should be visible when hovering ───────── image-preview.spec.ts:674:5 › keypress esc should close the modal ────────────────────────────── image-preview.spec.ts:690:5 › when mouse moves outside, the modal should be closed ───────────── image-preview.spec.ts:710:5 › caption should be visible and different styles were applied if image zoomed larger than viewport layout.spec.ts:6:5 › Collapse Sidebar ────────────────────────────────────────────────────────── layout.spec.ts:16:5 › Expand Sidebar ─────────────────────────────────────────────────────────── layout.spec.ts:31:5 › Click resizer can close sidebar ────────────────────────────────────────── layout.spec.ts:44:5 › Drag resizer can resize sidebar ────────────────────────────────────────── layout.spec.ts:63:5 › Sidebar in between sm & md breakpoint ──────────────────────────────────── 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:64:5 › Show collections items in sidebar ─────────────────

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node Expired
1.45 MB
affine.darwin-x64.node Expired
1.54 MB
affine.linux-x64-gnu.node Expired
1.57 MB
affine.win32-x64-msvc.node Expired
1.64 MB
server-native.node Expired
4.22 MB
test-results-e2e-1 Expired
28.3 MB
test-results-e2e-2 Expired
37.7 MB
test-results-e2e-3 Expired
21.2 MB
test-results-e2e-4 Expired
19.3 MB
test-results-e2e-5 Expired
32.5 MB
test-results-e2e-macos-14-arm64 Expired
25.8 MB
test-results-e2e-migration Expired
4.88 MB
test-results-e2e-server Expired
11.2 MB
test-results-e2e-ubuntu-latest-x64 Expired
58.8 MB
test-results-e2e-windows-latest-x64 Expired
67.5 MB
web Expired
56.8 MB