Skip to content

feat(core): new worker workspace engine #21569

feat(core): new worker workspace engine

feat(core): new worker workspace engine #21569

Triggered via pull request December 31, 2024 05:25
Status Cancelled
Total duration 23m 32s
Artifacts 11

build-test.yml

on: pull_request
Optimize CI
8s
Optimize CI
Matrix: build-native
Build Server native
53s
Build Server native
Build @affine/electron renderer
1m 37s
Build @affine/electron renderer
test-build-mobile-app  /  output-env
2s
test-build-mobile-app / output-env
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Lint
9s
Lint
Check yarn binary
5s
Check yarn binary
Run native tests
1m 58s
Run native tests
Matrix: Unit Test
Matrix: Server Copilot E2E Test
Matrix: server-e2e-test
Server Test
1m 15s
Server Test
Server Copilot Api Test
27s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  build-android-web
1m 55s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
1m 41s
test-build-mobile-app / build-ios-web
test-build-mobile-app  /  android
0s
test-build-mobile-app / android
test-build-mobile-app  /  ios
0s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

115 errors, 18 warnings, and 16 notices
Lint
Process completed with exit code 1.
Build @affine/electron renderer
Process completed with exit code 1.
Build @affine/electron renderer
Process completed with exit code 1.
test-build-mobile-app / build-ios-web
Process completed with exit code 1.
test-build-mobile-app / build-ios-web
Process completed with exit code 1.
test-build-mobile-app / build-android-web
Process completed with exit code 1.
test-build-mobile-app / build-android-web
Process completed with exit code 1.
Server Test
Process completed with exit code 1.
Server Test
Process completed with exit code 1.
Legacy Blocksuite E2E Test (1)
Process completed with exit code 1.
attachment.spec.ts:705:1 › cancel file picker with input element resolves: blocksuite/tests-legacy/attachment.spec.ts#L725
1) attachment.spec.ts:705:1 › cancel file picker with input element resolves ───────────────────── TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser" =========================== logs =========================== waiting for event "filechooser" ============================================================ 723 | await expect(slashMenu).toBeVisible(); 724 | > 725 | const fileChooser = page.waitForEvent('filechooser'); | ^ 726 | await pressEnter(page); 727 | const inputFile = page.locator("input[type='file']"); 728 | await expect(inputFile).toHaveCount(1); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:725:28
attachment.spec.ts:739:1 › indent attachment block to paragraph: blocksuite/tests-legacy/attachment.spec.ts#L69
2) attachment.spec.ts:739:1 › indent attachment block to paragraph ─────────────────────────────── TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser" =========================== logs =========================== waiting for event "filechooser" ============================================================ 67 | await expect(slashMenu).toBeVisible(); 68 | > 69 | const fileChooser = page.waitForEvent('filechooser'); | ^ 70 | await pressEnter(page); 71 | await sleep(100); 72 | await (await fileChooser).setFiles(FILE_PATH); at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:69:30) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:746:3
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block: blocksuite/tests-legacy/utils/asserts.ts#L294
3) bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ─────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('affine-paragraph') Expected: 1 Received: 4 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('affine-paragraph') 9 × locator resolved to 4 elements - unexpected value "4" at utils/asserts.ts:294 292 | count: number 293 | ) { > 294 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count); | ^ 295 | } 296 | export async function assertRowCount(page: Page, count: number) { 297 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count); at assertBlockCount (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:294:51) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/bookmark.spec.ts:220:9
Legacy Blocksuite E2E Test (7)
Process completed with exit code 1.
Legacy Blocksuite E2E Test (10)
Process completed with exit code 1.
selection/native.spec.ts:266:1 › cursor move to up and down with children block: blocksuite/tests-legacy/selection/native.spec.ts#L295
1) selection/native.spec.ts:266:1 › cursor move to up and down with children block ─────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 12 Received: -1 293 | const textTwo = await getInlineSelectionText(page); 294 | expect(textTwo).toBe('arrow down test 1'); > 295 | expect(indexTwo).toBeGreaterThanOrEqual(12); | ^ 296 | expect(indexTwo).toBeLessThanOrEqual(17); 297 | await page.keyboard.press('ArrowDown'); 298 | const textThree = await getInlineSelectionText(page); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/selection/native.spec.ts:295:20
Legacy Blocksuite E2E Test (2)
Process completed with exit code 1.
Legacy Blocksuite E2E Test (9)
Process completed with exit code 1.
Legacy Blocksuite E2E Test (8)
Process completed with exit code 1.
Legacy Blocksuite E2E Test (6)
Process completed with exit code 1.
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing: blocksuite/tests-legacy/utils/actions/edgeless.ts#L368
1) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ───────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' }) - locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting 20ms - waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting 100ms - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying at utils/actions/edgeless.ts:368 366 | .locator('edgeless-slide-menu edgeless-tool-icon-button') 367 | .filter({ hasText: shape }); > 368 | await squareShapeButton.click(); | ^ 369 | break; 370 | } 371 | } at setEdgelessTool (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/edgeless.ts:368:31) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/shortcut.spec.ts:137:3
Legacy Blocksuite E2E Test (5)
Process completed with exit code 1.
Server Desktop E2E Test
Process completed with exit code 1.
Server Desktop E2E Test
Process completed with exit code 1.
Server E2E Test 2/3
Process completed with exit code 1.
Server E2E Test 2/3
Process completed with exit code 1.
Server E2E Test 1/3
Process completed with exit code 1.
Server E2E Test 1/3
Process completed with exit code 1.
Legacy Blocksuite E2E Test (3)
Process completed with exit code 1.
Server E2E Test 3/3
Process completed with exit code 1.
Server E2E Test 3/3
Process completed with exit code 1.
Legacy Blocksuite E2E Test (4)
Process completed with exit code 1.
Unit Test (3)
Process completed with exit code 1.
Unit Test (3)
Process completed with exit code 1.
Unit Test (4)
Process completed with exit code 1.
Unit Test (1)
Process completed with exit code 1.
Unit Test (2)
Process completed with exit code 1.
packages/common/nbstore/src/__tests__/frontend.spec.ts > doc: packages/common/nbstore/src/frontend/doc.ts#L137
TypeError: Cannot read properties of null (reading 'state$') ❯ new DocFrontend packages/common/nbstore/src/frontend/doc.ts:137:7 ❯ packages/common/nbstore/src/__tests__/frontend.spec.ts:30:21
Unit Test (2)
Process completed with exit code 1.
Unit Test (5)
Process completed with exit code 1.
E2E Mobile Test (3)
Process completed with exit code 1.
[Mobile Safari] › home.spec.ts:44:5 › all tab: tests/affine-mobile/e2e/home.spec.ts#L1
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ───────────────────────────────────────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Safari] › home.spec.ts:44:5 › all tab: tests/kit/mobile.ts#L18
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ───────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › home.spec.ts:44:5 › all tab: tests/kit/mobile.ts#L18
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ───────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › home.spec.ts:44:5 › all tab: tests/kit/mobile.ts#L18
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ───────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › home.spec.ts:44:5 › all tab: tests/kit/mobile.ts#L18
1) [Mobile Safari] › home.spec.ts:44:5 › all tab ───────────────────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › settings.spec.ts:10:5 › can open settings: tests/affine-mobile/e2e/settings.spec.ts#L1
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ─────────────────────────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Safari] › settings.spec.ts:10:5 › can open settings: tests/kit/mobile.ts#L18
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ─────────────────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › settings.spec.ts:10:5 › can open settings: tests/kit/mobile.ts#L18
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ─────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › settings.spec.ts:10:5 › can open settings: tests/kit/mobile.ts#L18
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ─────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › settings.spec.ts:10:5 › can open settings: tests/kit/mobile.ts#L18
2) [Mobile Safari] › settings.spec.ts:10:5 › can open settings ─────────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
E2E Mobile Test (1)
Process completed with exit code 1.
[Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back: tests/affine-mobile/e2e/back-button-visibility.spec.ts#L1
1) [Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back Test timeout of 60000ms exceeded while setting up "page".
[Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back: tests/kit/mobile.ts#L18
1) [Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back: tests/kit/mobile.ts#L18
1) [Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back: tests/kit/mobile.ts#L18
1) [Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back: tests/kit/mobile.ts#L18
1) [Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L12
2) [Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu ────────────────────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 10 | }; 11 | > 12 | test.beforeEach(async ({ page }) => { | ^ 13 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' }); 14 | await expect(docsTab).toBeVisible(); 15 | await docsTab.click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:12:6
[Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu: tests/kit/mobile.ts#L18
2) [Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu ────────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu: tests/kit/mobile.ts#L18
2) [Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu: tests/kit/mobile.ts#L18
2) [Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu: tests/kit/mobile.ts#L18
2) [Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu ────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
E2E Mobile Test (4)
Process completed with exit code 1.
[Mobile Chrome] › detail.spec.ts:39:5 › can add text property: tests/affine-mobile/e2e/detail.spec.ts#L12
1) [Mobile Chrome] › detail.spec.ts:39:5 › can add text property ───────────────────────────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 10 | }; 11 | > 12 | test.beforeEach(async ({ page }) => { | ^ 13 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' }); 14 | await expect(docsTab).toBeVisible(); 15 | await docsTab.click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:12:6
[Mobile Chrome] › detail.spec.ts:39:5 › can add text property: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › detail.spec.ts:39:5 › can add text property ───────────────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › detail.spec.ts:39:5 › can add text property: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › detail.spec.ts:39:5 › can add text property ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › detail.spec.ts:39:5 › can add text property: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › detail.spec.ts:39:5 › can add text property ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › detail.spec.ts:39:5 › can add text property: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › detail.spec.ts:39:5 › can add text property ───────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites: tests/affine-mobile/e2e/explorer-favorite.spec.ts#L1
2) [Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ───────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ───────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ───────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
E2E Mobile Test (2)
Process completed with exit code 1.
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it: tests/affine-mobile/e2e/explorer-folder.spec.ts#L1
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ──────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it: tests/kit/mobile.ts#L18
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ──────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it: tests/kit/mobile.ts#L18
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it: tests/kit/mobile.ts#L18
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it: tests/kit/mobile.ts#L18
1) [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ──────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer: tests/affine-mobile/e2e/explorer-tag.spec.ts#L1
2) [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ────────────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer: tests/kit/mobile.ts#L18
2) [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer: tests/kit/mobile.ts#L18
2) [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer: tests/kit/mobile.ts#L18
2) [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer: tests/kit/mobile.ts#L18
2) [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
E2E Mobile Test (5)
Process completed with exit code 1.
[Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer: tests/affine-mobile/e2e/explorer-tag.spec.ts#L1
1) [Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer ────────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer ────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer ────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer ────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer: tests/kit/mobile.ts#L18
1) [Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer ────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › home.spec.ts:6:5 › after loaded: tests/affine-mobile/e2e/home.spec.ts#L1
2) [Mobile Chrome] › home.spec.ts:6:5 › after loaded, will land on the home page ───────────────── Test timeout of 60000ms exceeded while setting up "page".
[Mobile Chrome] › home.spec.ts:6:5 › after loaded: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › home.spec.ts:6:5 › after loaded, will land on the home page ───────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › home.spec.ts:6:5 › after loaded: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › home.spec.ts:6:5 › after loaded, will land on the home page ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › home.spec.ts:6:5 › after loaded: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › home.spec.ts:6:5 › after loaded, will land on the home page ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
[Mobile Chrome] › home.spec.ts:6:5 › after loaded: tests/kit/mobile.ts#L18
2) [Mobile Chrome] › home.spec.ts:6:5 › after loaded, will land on the home page ───────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-page-viewport[data-mode="edgeless"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 30000ms - waiting for locator('.affine-page-viewport[data-mode="edgeless"]') at ../../kit/mobile.ts:18 16 | await expect( 17 | page.locator('.affine-page-viewport[data-mode="edgeless"]') > 18 | ).toBeVisible({ | ^ 19 | timeout: 30 * 1000, 20 | }); 21 | await page.goto('/'); at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/mobile.ts:18:7)
E2E Test (4)
Process completed with exit code 1.
local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L1
1) local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar ───────────────── Test timeout of 50000ms exceeded.
local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar: tests/kit/utils/page-logic.ts#L23
1) local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar ───────────────── Error: page.waitForSelector: Test timeout of 50000ms 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/local-first-favorites-items.spec.ts:147:26
local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar: tests/kit/utils/page-logic.ts#L23
1) local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar ───────────────── 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/local-first-favorites-items.spec.ts:147:26
local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar: tests/kit/utils/page-logic.ts#L23
1) local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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/local-first-favorites-items.spec.ts:147:26
local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar: tests/kit/utils/page-logic.ts#L23
1) local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar ───────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── 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/local-first-favorites-items.spec.ts:147:26
local-first-new-page.spec.ts:11:5 › click btn new page: tests/affine-local/e2e/local-first-new-page.spec.ts#L1
2) local-first-new-page.spec.ts:11:5 › click btn new page ──────────────────────────────────────── Test timeout of 50000ms exceeded.
local-first-new-page.spec.ts:11:5 › click btn new page: tests/kit/utils/page-logic.ts#L23
2) local-first-new-page.spec.ts:11:5 › click btn new 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: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/local-first-new-page.spec.ts:13:26
local-first-new-page.spec.ts:11:5 › click btn new page: tests/kit/utils/page-logic.ts#L23
2) local-first-new-page.spec.ts:11:5 › click btn new 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: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/local-first-new-page.spec.ts:13:26
local-first-new-page.spec.ts:11:5 › click btn new page: tests/kit/utils/page-logic.ts#L23
2) local-first-new-page.spec.ts:11:5 › click btn new 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: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/local-first-new-page.spec.ts:13:26
local-first-new-page.spec.ts:11:5 › click btn new page: tests/kit/utils/page-logic.ts#L23
2) local-first-new-page.spec.ts:11:5 › click btn new 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: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/local-first-new-page.spec.ts:13:26
E2E Test (5)
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9257/merge' exists
E2E Test (5)
The operation was canceled.
E2E Test (3)
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9257/merge' exists
E2E Test (3)
The operation was canceled.
E2E Test (2)
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9257/merge' exists
E2E Test (2)
The operation was canceled.
E2E Test (1)
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9257/merge' exists
E2E Test (1)
The operation was canceled.
3, 2, 1 Launch
Process completed with exit code 1.
Optimize CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-build-mobile-app / output-env
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check yarn binary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build AFFiNE native (x86_64-unknown-linux-gnu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Server native
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot E2E Test (2, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot Api Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot E2E Test (1, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Copilot E2E Test (3, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run native tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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 (javascript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
Analyze (typescript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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'.
Analyze (typescript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
3, 2, 1 Launch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
3 flaky attachment.spec.ts:705:1 › cancel file picker with input element resolves ────────────────────── attachment.spec.ts:739:1 › indent attachment block to paragraph ──────────────────────────────── bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ──────── 3 skipped 93 passed (1.4m)
🎭 Playwright Run Summary
1 skipped 97 passed (1.7m)
🎭 Playwright Run Summary
1 flaky selection/native.spec.ts:266:1 › cursor move to up and down with children block ──────────────── 3 skipped 94 passed (1.3m)
🎭 Playwright Run Summary
4 skipped 95 passed (1.5m)
🎭 Playwright Run Summary
98 passed (1.5m)
🎭 Playwright Run Summary
3 skipped 95 passed (1.4m)
🎭 Playwright Run Summary
1 flaky edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ────────────────────────── 4 skipped 93 passed (2.3m)
🎭 Playwright Run Summary
12 skipped 87 passed (2.1m)
🎭 Playwright Run Summary
6 skipped 93 passed (2.5m)
🎭 Playwright Run Summary
1 skipped 98 passed (2.8m)
🎭 Playwright Run Summary
7 failed [Mobile Safari] › home.spec.ts:44:5 › all tab ────────────────────────────────────────────────── [Mobile Safari] › settings.spec.ts:10:5 › can open settings ──────────────────────────────────── [Mobile Safari] › settings.spec.ts:14:5 › can change theme ───────────────────────────────────── [Mobile Chrome] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back [Mobile Chrome] › detail.spec.ts:20:5 › can open page view more menu ─────────────────────────── [Mobile Chrome] › detail.spec.ts:25:5 › switch to page mode ──────────────────────────────────── [Mobile Chrome] › detail.spec.ts:33:5 › can show doc info ──────────────────────────────────────
🎭 Playwright Run Summary
8 failed [Mobile Safari] › back-button-visibility.spec.ts:8:5 › new doc via app tab should not show back [Mobile Safari] › detail.spec.ts:20:5 › can open page view more menu ─────────────────────────── [Mobile Safari] › detail.spec.ts:25:5 › switch to page mode ──────────────────────────────────── [Mobile Safari] › detail.spec.ts:33:5 › can show doc info ────────────────────────────────────── [Mobile Safari] › detail.spec.ts:39:5 › can add text property ────────────────────────────────── [Mobile Safari] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ────────────────── [Mobile Safari] › explorer-folder.spec.ts:49:5 › create a folder ─────────────────────────────── [Mobile Safari] › explorer-folder.spec.ts:54:5 › create a sub folder ───────────────────────────
🎭 Playwright Run Summary
7 failed [Mobile Chrome] › detail.spec.ts:39:5 › can add text property ────────────────────────────────── [Mobile Chrome] › explorer-favorite.spec.ts:8:5 › Create new doc in favorites ────────────────── [Mobile Chrome] › explorer-folder.spec.ts:49:5 › create a folder ─────────────────────────────── [Mobile Chrome] › explorer-folder.spec.ts:54:5 › create a sub folder ─────────────────────────── [Mobile Chrome] › explorer-folder.spec.ts:62:5 › create a folder and rename it ───────────────── [Mobile Chrome] › explorer-tag.spec.ts:55:5 › create a tag from explorer ─────────────────────── [Mobile Chrome] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ───────────────────────
🎭 Playwright Run Summary
7 failed [Mobile Safari] › explorer-folder.spec.ts:62:5 › create a folder and rename it ───────────────── [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ─────────────────────── [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ─────────────────────── [Mobile Safari] › explorer-tag.spec.ts:75:5 › change tag color from explorer ─────────────────── [Mobile Safari] › home.spec.ts:6:5 › after loaded, will land on the home page ────────────────── [Mobile Safari] › home.spec.ts:10:5 › app tabs is visible ────────────────────────────────────── [Mobile Safari] › home.spec.ts:20:5 › recent docs ──────────────────────────────────────────────
🎭 Playwright Run Summary
7 failed [Mobile Chrome] › explorer-tag.spec.ts:75:5 › change tag color from explorer ─────────────────── [Mobile Chrome] › home.spec.ts:6:5 › after loaded, will land on the home page ────────────────── [Mobile Chrome] › home.spec.ts:10:5 › app tabs is visible ────────────────────────────────────── [Mobile Chrome] › home.spec.ts:20:5 › recent docs ────────────────────────────────────────────── [Mobile Chrome] › home.spec.ts:44:5 › all tab ────────────────────────────────────────────────── [Mobile Chrome] › settings.spec.ts:10:5 › can open settings ──────────────────────────────────── [Mobile Chrome] › settings.spec.ts:14:5 › can change theme ─────────────────────────────────────
🎭 Playwright Run Summary
35 failed local-first-favorites-items.spec.ts:145:5 › Add new favorite page via sidebar ────────────────── local-first-new-page.spec.ts:11:5 › click btn new page ───────────────────────────────────────── local-first-new-page.spec.ts:23:5 › click btn bew page and find it in all pages ──────────────── local-first-openpage-newtab.spec.ts:12:5 › click btn new page and open in tab ────────────────── local-first-openpage-newtab.spec.ts:36:5 › switch between new page and all page ──────────────── local-first-openpage-newtab.spec.ts:55:5 › ctrl click all page and open in new tab ───────────── local-first-openpage-newtab.spec.ts:71:5 › mid click all page and open in new tab ────────────── local-first-openpage-newtab.spec.ts:87:5 › ctrl click embedded doc link and open in new tab ──── local-first-restore-page.spec.ts:12:5 › New a page , then delete it in all pages, restore it ─── local-first-show-delete-modal.spec.ts:13:5 › New a page ,then open it and show delete modal ──── local-first-show-delete-modal.spec.ts:39:5 › New a page ,then go to all pages and show delete modal local-first-trash-page.spec.ts:12: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 ────────────────────────────────────── 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:39:5 › allow create tag ──────────────────────────────────────────────── page-properties.spec.ts:52:5 › allow using keyboard to navigate tags ─────────────────────────── page-properties.spec.ts:70:5 › allow create tag on journals page ─────────────────────────────── page-properties.spec.ts:87:5 › add custom property ───────────────────────────────────────────── page-properties.spec.ts:96:5 › add custom property & edit ────────────────────────────────────── page-properties.spec.ts:107:5 › property table reordering ────────────────────────────────────── page-properties.spec.ts:150:5 › page info show more will not should by default when there is no properties page-properties.spec.ts:157:5 › page info show more will show all properties ─────────────────── page-properties.spec.ts:195:5 › change page properties visibility ────────────────────────────── page-properties.spec.ts:220:5 › check if added property is also in workspace settings ────────── page-properties.spec.ts:233:5 › edit property name ───────────────────────────────────────────── page-properties.spec.ts:259:5 › delete property via property popup ───────────────────────────── page-properties.spec.ts:284:5 › workspace properties can be collapsed ────────────────────────── page-properties.spec.ts:293:5 › can show database backlink info ──────────────────────────────── peek-view.spec.ts:20:5 › can open peek view via link popover ─────────────────────────────────── peek-view.spec.ts:47:5 › can open peek view via shift+click link ─────────────────────────────── peek-view.spec.ts:62:5 › can open peek view via db+click link card ───────────────────────────── 1 skipped

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node
1.92 MB
affine.darwin-x64.node
2.04 MB
affine.linux-x64-gnu.node
2.08 MB
affine.win32-x64-msvc.node
2.43 MB
server-native.node
4.32 MB
test-results-e2e-4
24.3 MB
test-results-e2e-mobile-1
14.5 MB
test-results-e2e-mobile-2
12.7 MB
test-results-e2e-mobile-3
10.1 MB
test-results-e2e-mobile-4
8.02 MB
test-results-e2e-mobile-5
8.03 MB