Skip to content

refactor(core): move infra modules to core #20415

refactor(core): move infra modules to core

refactor(core): move infra modules to core #20415

Triggered via pull request December 20, 2024 08:05
Status Cancelled
Total duration 12m 25s
Artifacts 12

build-test.yml

on: pull_request
Matrix: build-native
Build Server native
1m 11s
Build Server native
Build @affine/electron renderer
2m 25s
Build @affine/electron renderer
test-build-mobile-app  /  output-env
2s
test-build-mobile-app / output-env
Matrix: Analyze
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: server-e2e-test
Matrix: Server Copilot E2E Test
Server Test
7m 15s
Server Test
Server Copilot Api Test
28s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  build-android-web
2m 32s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 35s
test-build-mobile-app / build-ios-web
test-build-mobile-app  /  android
2m 49s
test-build-mobile-app / android
test-build-mobile-app  /  ios
2m 53s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

44 errors, 43 warnings, and 12 notices
[Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer: tests/affine-mobile/e2e/explorer-tag.spec.ts#L67
1) [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "rename-input" Received: null 65 | await menu.getByTestId('rename-tag').tap(); 66 | const focusedTestid = await getAttrOfActiveElement(page); > 67 | expect(focusedTestid).toEqual('rename-input'); | ^ 68 | await page.keyboard.type(appendedName); 69 | await menu.getByTestId('rename-confirm').tap(); 70 | await expect(tag).not.toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:67:25
all-page.spec.ts:337:5 › select display properties to hide bodyNotes: tests/affine-local/e2e/all-page.spec.ts#L352
1) all-page.spec.ts:337:5 › select display properties to hide bodyNotes ────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') 350 | .getByTestId('page-list-item') 351 | .getByText('DRAGON BALL: Sparking! ZERO'); > 352 | await expect(cell).toBeVisible(); | ^ 353 | await page.locator('[data-testid="page-display-menu-button"]').click(); 354 | await page.locator('[data-testid="property-bodyNotes"]').click(); 355 | await expect(cell).not.toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:352:22
all-page.spec.ts:337:5 › select display properties to hide bodyNotes: tests/affine-local/e2e/all-page.spec.ts#L352
1) all-page.spec.ts:337:5 › select display properties to hide bodyNotes ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') 350 | .getByTestId('page-list-item') 351 | .getByText('DRAGON BALL: Sparking! ZERO'); > 352 | await expect(cell).toBeVisible(); | ^ 353 | await page.locator('[data-testid="page-display-menu-button"]').click(); 354 | await page.locator('[data-testid="property-bodyNotes"]').click(); 355 | await expect(cell).not.toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:352:22
all-page.spec.ts:337:5 › select display properties to hide bodyNotes: tests/affine-local/e2e/all-page.spec.ts#L352
1) all-page.spec.ts:337:5 › select display properties to hide bodyNotes ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') 350 | .getByTestId('page-list-item') 351 | .getByText('DRAGON BALL: Sparking! ZERO'); > 352 | await expect(cell).toBeVisible(); | ^ 353 | await page.locator('[data-testid="page-display-menu-button"]').click(); 354 | await page.locator('[data-testid="property-bodyNotes"]').click(); 355 | await expect(cell).not.toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:352:22
all-page.spec.ts:337:5 › select display properties to hide bodyNotes: tests/affine-local/e2e/all-page.spec.ts#L352
1) all-page.spec.ts:337:5 › select display properties to hide bodyNotes ────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('page-list-item').getByText('DRAGON BALL: Sparking! ZERO') 350 | .getByTestId('page-list-item') 351 | .getByText('DRAGON BALL: Sparking! ZERO'); > 352 | await expect(cell).toBeVisible(); | ^ 353 | await page.locator('[data-testid="page-display-menu-button"]').click(); 354 | await page.locator('[data-testid="property-bodyNotes"]').click(); 355 | await expect(cell).not.toBeVisible(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:352:22
E2E Test (1)
Process completed with exit code 1.
doc-info-modal.spec.ts:123:5 › add custom property: tests/affine-local/e2e/doc-info-modal.spec.ts#L1
1) doc-info-modal.spec.ts:123:5 › add custom property ──────────────────────────────────────────── Test timeout of 50000ms exceeded.
doc-info-modal.spec.ts:123:5 › add custom property: tests/kit/utils/properties.ts#L134
1) doc-info-modal.spec.ts:123:5 › add custom property ──────────────────────────────────────────── Error: keyboard.press: Test timeout of 50000ms exceeded. at ../../kit/utils/properties.ts:134 132 | if (await page.getByTestId('edit-property-menu-item').isVisible()) { 133 | // is edit property menu opened, close it > 134 | await page.keyboard.press('Escape'); | ^ 135 | } 136 | await page.waitForTimeout(500); 137 | }; at addCustomProperty (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/properties.ts:134:25) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:131:3
page-properties.spec.ts:293:5 › can show database backlink info: tests/affine-local/e2e/page-properties.spec.ts#L339
1) page-properties.spec.ts:293:5 › can show database backlink info ─────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) 337 | hasText: 'some database title', 338 | }); > 339 | await expect(linkedDatabaseSection).toBeVisible(); | ^ 340 | 341 | await expect( 342 | linkedDatabaseSection.getByTestId('property-collapsible-section-content') at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/page-properties.spec.ts:339:39
page-properties.spec.ts:293:5 › can show database backlink info: tests/affine-local/e2e/page-properties.spec.ts#L339
1) page-properties.spec.ts:293:5 › can show database backlink info ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) 337 | hasText: 'some database title', 338 | }); > 339 | await expect(linkedDatabaseSection).toBeVisible(); | ^ 340 | 341 | await expect( 342 | linkedDatabaseSection.getByTestId('property-collapsible-section-content') at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/page-properties.spec.ts:339:39
page-properties.spec.ts:293:5 › can show database backlink info: tests/affine-local/e2e/page-properties.spec.ts#L339
1) page-properties.spec.ts:293:5 › can show database backlink info ─────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) 337 | hasText: 'some database title', 338 | }); > 339 | await expect(linkedDatabaseSection).toBeVisible(); | ^ 340 | 341 | await expect( 342 | linkedDatabaseSection.getByTestId('property-collapsible-section-content') at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/page-properties.spec.ts:339:39
page-properties.spec.ts:293:5 › can show database backlink info: tests/affine-local/e2e/page-properties.spec.ts#L339
1) page-properties.spec.ts:293:5 › can show database backlink info ─────────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('property-collapsible-section').filter({ hasText: 'some database title' }) 337 | hasText: 'some database title', 338 | }); > 339 | await expect(linkedDatabaseSection).toBeVisible(); | ^ 340 | 341 | await expect( 342 | linkedDatabaseSection.getByTestId('property-collapsible-section-content') at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/page-properties.spec.ts:339:39
E2E Test (4)
Process completed with exit code 1.
links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section: tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ───────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByRole('button', { name: 'source page' }) 464 | .click(); 465 | > 466 | await page.getByRole('button', { name: 'source page' }).click(); | ^ 467 | 468 | await expect(page.locator('text-renderer')).toContainText( 469 | 'some inline content' at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section: tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByRole('button', { name: 'source page' }) 464 | .click(); 465 | > 466 | await page.getByRole('button', { name: 'source page' }).click(); | ^ 467 | 468 | await expect(page.locator('text-renderer')).toContainText( 469 | 'some inline content' at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section: tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByRole('button', { name: 'source page' }) 464 | .click(); 465 | > 466 | await page.getByRole('button', { name: 'source page' }).click(); | ^ 467 | 468 | await expect(page.locator('text-renderer')).toContainText( 469 | 'some inline content' at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section: tests/affine-local/e2e/links.spec.ts#L466
1) links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ───────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByRole('button', { name: 'source page' }) 464 | .click(); 465 | > 466 | await page.getByRole('button', { name: 'source page' }).click(); | ^ 467 | 468 | await expect(page.locator('text-renderer')).toContainText( 469 | 'some inline content' at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:466:59
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ───────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('explorer-doc-IKiQKed0RC8_RIZqvPGI2').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('explorer-doc-IKiQKed0RC8_RIZqvPGI2').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') 76 | '[data-testid^="explorer-doc-"]:has-text("Another page")' 77 | ) > 78 | ).toBeVisible(); | ^ 79 | const currentWorkspace = await workspace.current(); 80 | 81 | expect(currentWorkspace.meta.flavour).toContain('local'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('explorer-doc-CgXcgPnisMsZxR5ZbwndG').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('explorer-doc-CgXcgPnisMsZxR5ZbwndG').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') 76 | '[data-testid^="explorer-doc-"]:has-text("Another page")' 77 | ) > 78 | ).toBeVisible(); | ^ 79 | const currentWorkspace = await workspace.current(); 80 | 81 | expect(currentWorkspace.meta.flavour).toContain('local'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('explorer-doc-fe7Ofp2iEBW2sMqVKBnFj').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('explorer-doc-fe7Ofp2iEBW2sMqVKBnFj').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') 76 | '[data-testid^="explorer-doc-"]:has-text("Another page")' 77 | ) > 78 | ).toBeVisible(); | ^ 79 | const currentWorkspace = await workspace.current(); 80 | 81 | expect(currentWorkspace.meta.flavour).toContain('local'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L78
2) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ───────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('explorer-doc-qX5WaPmAcRlxbR9ptH5T-').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('explorer-doc-qX5WaPmAcRlxbR9ptH5T-').locator('[data-testid^="explorer-doc-"]:has-text("Another page")') 76 | '[data-testid^="explorer-doc-"]:has-text("Another page")' 77 | ) > 78 | ).toBeVisible(); | ^ 79 | const currentWorkspace = await workspace.current(); 80 | 81 | expect(currentWorkspace.meta.flavour).toContain('local'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:78:5
local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L129
3) local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('explorer-doc-0-szdnTWI1s6tNnvzqwRk').getByTestId('explorer-doc-WJgYv-uHL9exzzk_voAWU') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('explorer-doc-0-szdnTWI1s6tNnvzqwRk').getByTestId('explorer-doc-WJgYv-uHL9exzzk_voAWU') 127 | await expect( 128 | page.getByTestId(favItemTestId).getByTestId(favItemAnotherPageTestId) > 129 | ).toBeVisible(); | ^ 130 | 131 | // delete the page 132 | await clickPageMoreActions(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:129:5
local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar: tests/affine-local/e2e/local-first-favorites-items.spec.ts#L129
3) local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('explorer-doc-2wl4OCu2ajAFTKO6hUNcr').getByTestId('explorer-doc-cu97Opute0d8L3d9Kcf97') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('explorer-doc-2wl4OCu2ajAFTKO6hUNcr').getByTestId('explorer-doc-cu97Opute0d8L3d9Kcf97') 127 | await expect( 128 | page.getByTestId(favItemTestId).getByTestId(favItemAnotherPageTestId) > 129 | ).toBeVisible(); | ^ 130 | 131 | // delete the page 132 | await clickPageMoreActions(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:129:5
packages/frontend/core/src/modules/editor-setting/__test__/editor-setting.spec.ts: packages/frontend/component/src/lit-react/create-component.ts#L2023
ReferenceError: HTMLElement is not defined ❯ createComponent packages/frontend/component/src/lit-react/create-component.ts:2023:108 ❯ packages/frontend/component/src/lit-react/to-react-node.ts:7034:67 ❯ packages/frontend/component/src/lit-react/index.ts:3:1
Unit Test
Process completed with exit code 1.
quick-search.spec.ts:171:5 › Create a new page and search this page: tests/affine-local/e2e/quick-search.spec.ts#L101
1) quick-search.spec.ts:171:5 › Create a new page and search this page ─────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "test123456" Received: "New \"test123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:187:9
quick-search.spec.ts:171:5 › Create a new page and search this page: tests/affine-local/e2e/quick-search.spec.ts#L101
1) quick-search.spec.ts:171:5 › Create a new page and search this page ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "test123456" Received: "New \"test123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:187:9
quick-search.spec.ts:171:5 › Create a new page and search this page: tests/affine-local/e2e/quick-search.spec.ts#L101
1) quick-search.spec.ts:171:5 › Create a new page and search this page ─────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "test123456" Received: "New \"test123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:187:9
quick-search.spec.ts:171:5 › Create a new page and search this page: tests/affine-local/e2e/quick-search.spec.ts#L101
1) quick-search.spec.ts:171:5 › Create a new page and search this page ─────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "test123456" Received: "New \"test123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:187:9
quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it: tests/affine-local/e2e/quick-search.spec.ts#L101
2) quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it, then the block will be selected Error: expect(received).toEqual(expected) // deep equality Expected: "this is a new page to search for content" Received: "New \"123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:397:9
quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it: tests/affine-local/e2e/quick-search.spec.ts#L101
2) quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it, then the block will be selected Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "this is a new page to search for content" Received: "New \"123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:397:9
quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it: tests/affine-local/e2e/quick-search.spec.ts#L101
2) quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it, then the block will be selected Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "this is a new page to search for content" Received: "New \"123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:397:9
quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it: tests/affine-local/e2e/quick-search.spec.ts#L101
2) quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it, then the block will be selected Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "this is a new page to search for content" Received: "New \"123456\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:397:9
quick-search.spec.ts:414:5 › Create a new page with special characters in the title and search for this page: tests/affine-local/e2e/quick-search.spec.ts#L101
3) quick-search.spec.ts:414:5 › Create a new page with special characters in the title and search for this page Error: expect(received).toEqual(expected) // deep equality Expected: "\"test123456\"" Received: "New \"\"test123456\"\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:430:9
quick-search.spec.ts:414:5 › Create a new page with special characters in the title and search for this page: tests/affine-local/e2e/quick-search.spec.ts#L101
3) quick-search.spec.ts:414:5 › Create a new page with special characters in the title and search for this page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "\"test123456\"" Received: "New \"\"test123456\"\" page" Call Log: - Test timeout of 50000ms exceeded 99 | expect(actualSplit[1]).toEqual(texts[1]); 100 | } > 101 | }).toPass(); | ^ 102 | } 103 | 104 | async function titleIsFocused(page: Page) { at assertResultList (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:101:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:430:9
Desktop Test (windows-latest, windows, x64, x86_64-pc-windows-msvc, true)
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9207/merge' exists
Server E2E Test 2/3
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9207/merge' exists
Server E2E Test 2/3
The operation was canceled.
Server E2E Test 1/3
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9207/merge' exists
Server E2E Test 1/3
The operation was canceled.
Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true)
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/9207/merge' exists
3, 2, 1 Launch
Process completed with exit code 1.
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
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 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 (3, 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 (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 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
Run native tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build @affine/electron renderer
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
test-build-mobile-app / build-android-web
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 / build-ios-web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Mobile Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Mobile Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Safari] › explorer-folder.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-folder.spec.ts took 52.7s
E2E Mobile Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts took 52.6s
E2E Mobile Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts took 45.9s
E2E Mobile Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-local/attachment-preview.spec.ts#L1
tests/affine-local/attachment-preview.spec.ts took 20.7s
test-build-mobile-app / android
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-local/local-first-favorites-items.spec.ts#L1
tests/affine-local/local-first-favorites-items.spec.ts took 44.0s
Slow Test: tests/affine-local/peek-view.spec.ts#L1
tests/affine-local/peek-view.spec.ts took 27.5s
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
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
Unit Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Server 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
Slow Test: tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 1.3m
Server Desktop E2E Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 1.0m
E2E Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
7 passed (1.4m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer ─────────────────────── 7 passed (1.9m)
🎭 Playwright Run Summary
8 passed (2.0m)
🎭 Playwright Run Summary
7 passed (1.4m)
🎭 Playwright Run Summary
8 passed (1.7m)
🎭 Playwright Run Summary
1 failed all-page.spec.ts:337:5 › select display properties to hide bodyNotes ─────────────────────────── 1 skipped 34 passed (3.7m)
🎭 Playwright Run Summary
1 flaky doc-info-modal.spec.ts:123:5 › add custom property ───────────────────────────────────────────── 35 passed (3.9m)
🎭 Playwright Run Summary
1 failed page-properties.spec.ts:293:5 › can show database backlink info ──────────────────────────────── 1 skipped 34 passed (4.1m)
🎭 Playwright Run Summary
3 failed links.spec.ts:446:5 › linked doc should show markdown preview in the backlink section ────────── local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ────────────────── local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar 1 flaky links.spec.ts:249:5 › allow switching to embed view when linking to the other document with mode 2 skipped 30 passed (5.4m)
🎭 Playwright Run Summary
2 passed (1.6m)
🎭 Playwright Run Summary
1 passed (1.3m)
🎭 Playwright Run Summary
4 failed quick-search.spec.ts:171:5 › Create a new page and search this page ──────────────────────────── quick-search.spec.ts:375:5 › can use cmdk to search page content and scroll to it, then the block will be selected quick-search.spec.ts:414:5 › Create a new page with special characters in the title and search for this page quick-search.spec.ts:463:5 › can use @ to open quick search to search for doc and insert into canvas 1 skipped 31 passed (8.3m)

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node
1.91 MB
affine.darwin-x64.node
2.04 MB
affine.linux-x64-gnu.node
2.08 MB
affine.win32-x64-msvc.node
2.43 MB
android
64.3 MB
ios
64.4 MB
server-native.node
4.32 MB
test-results-e2e-1
9.11 MB
test-results-e2e-3
40.5 MB
test-results-e2e-4
9.27 MB
test-results-e2e-5
79.3 MB
web
66.3 MB