feat(core): open in app for self-hosted #20485
build-test.yml
on: pull_request
Matrix: build-native
Build Server native
1m 3s
Build @affine/electron renderer
2m 22s
test-build-mobile-app
/
output-env
2s
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: Unit Test
Matrix: server-e2e-test
Matrix: Server Copilot E2E Test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
19 errors, 64 warnings, and 24 notices
Lint:
packages/frontend/core/src/components/sign-in/index.tsx#L1
Run autofix to sort these imports!
|
Lint:
packages/frontend/core/src/components/sign-in/sign-in-with-email.tsx#L1
Run autofix to sort these imports!
|
Lint:
packages/frontend/core/src/components/sign-in/sign-in-with-password.tsx#L1
Run autofix to sort these imports!
|
Lint:
packages/frontend/core/src/components/sign-in/sign-in.tsx#L1
Run autofix to sort these imports!
|
Lint:
packages/frontend/core/src/desktop/pages/auth/sign-in.tsx#L1
Run autofix to sort these imports!
|
Lint:
packages/frontend/core/src/desktop/pages/workspace/index.tsx#L1
Run autofix to sort these imports!
|
Lint:
packages/frontend/core/src/mobile/components/sign-in/index.tsx#L1
Run autofix to sort these imports!
|
Lint
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
|
slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow:
blocksuite/tests-legacy/slash-menu.spec.ts#L401
2) slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
9 × locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
399 | await type(page, '/');
400 | await pressArrowDown(page, 4);
> 401 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true');
| ^
402 | await expect(slashItems.nth(4).locator('.text')).toHaveText([
403 | 'Other Headings',
404 | ]);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/slash-menu.spec.ts:401:37
|
format-bar.spec.ts:238:1 › should format quick bar be able to change background color:
blocksuite/tests-legacy/format-bar.spec.ts#L275
1) format-bar.spec.ts:238:1 › should format quick bar be able to change background color ─────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget').getByTestId('unset')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
9 × locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
273 | );
274 |
> 275 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
276 | await highlight.defaultColorBtn.click();
277 |
278 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/format-bar.spec.ts:275:43
|
[Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer:
tests/affine-mobile/e2e/explorer-tag.spec.ts#L41
1) [Mobile Safari] › explorer-tag.spec.ts:55:5 › create a tag from explorer ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "rename-input"
Received: null
39 | // input name
40 | const focusedTestid = await getAttrOfActiveElement(page);
> 41 | expect(focusedTestid).toEqual('rename-input');
| ^
42 | await page.keyboard.type(name);
43 | // set color
44 | await changeTagColor(dialog, color);
at createRootTag (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:41:25)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:56:3
|
[Mobile Safari] › explorer-tag.spec.ts:59:5 › rename a tag from explorer:
tests/affine-mobile/e2e/explorer-tag.spec.ts#L67
2) [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
|
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
|
test-build-mobile-app / ios
Process completed with exit code 1.
|
links.spec.ts:249:5 › allow switching to embed view when linking to the other document with mode:
tests/affine-local/e2e/links.spec.ts#L286
1) links.spec.ts:249:5 › allow switching to embed view when linking to the other document with mode
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-embed-linked-doc-block')
- locator resolved to <affine-embed-linked-doc-block contenteditable="false" data-block-id="xPRrPHIQqJtwSUMthdg0q">…</affine-embed-linked-doc-block>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
284 |
285 | await expect(cardLink).toBeVisible();
> 286 | await cardLink.click();
| ^
287 |
288 | // refocus
289 | await cardLink.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:286:18
|
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#L132
1) doc-info-modal.spec.ts:123:5 › add custom property ────────────────────────────────────────────
Error: locator.isVisible: Test timeout of 50000ms exceeded.
Call log:
- checking visibility of getByTestId('edit-property-menu-item')
at ../../kit/utils/properties.ts:132
130 | )
131 | .click();
> 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 | }
at addCustomProperty (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/properties.ts:132:57)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:132:3
|
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 (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
|
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
|
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 (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.2s
|
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
|
Legacy Blocksuite E2E Test (1)
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
|
Legacy Blocksuite E2E Test (10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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 50.6s
|
Legacy Blocksuite E2E 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 53.7s
|
Legacy Blocksuite E2E Test (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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
|
Legacy Blocksuite E2E Test (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (8)
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
|
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 (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 43.1s
|
Legacy Blocksuite E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (4)
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
|
Slow Test:
tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 15.8s
|
E2E Test (5)
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
|
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
|
Server Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (5)
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.4m
|
Unit Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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
|
Unit Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server 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
|
Slow Test:
tests/affine-cloud/share-page.spec.ts#L1
tests/affine-cloud/share-page.spec.ts took 3.3m
|
Slow Test:
tests/affine-cloud/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 53.9s
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 48.5s
|
Server 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
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 2.5m
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.3m
|
Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true)
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
7 passed (1.3m)
|
🎭 Playwright Run Summary
3 skipped
95 passed (1.3m)
|
🎭 Playwright Run Summary
2 flaky
selection/native.spec.ts:266:1 › cursor move to up and down with children block ────────────────
slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
93 passed (1.4m)
|
🎭 Playwright Run Summary
4 skipped
94 passed (1.4m)
|
🎭 Playwright Run Summary
1 flaky
format-bar.spec.ts:238:1 › should format quick bar be able to change background color ──────────
1 skipped
96 passed (1.8m)
|
🎭 Playwright Run Summary
8 passed (1.9m)
|
🎭 Playwright Run Summary
12 skipped
86 passed (2.1m)
|
🎭 Playwright Run Summary
2 flaky
[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 ───────────────────────
6 passed (2.1m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
4 skipped
93 passed (2.4m)
|
🎭 Playwright Run Summary
8 passed (1.7m)
|
🎭 Playwright Run Summary
98 passed (1.4m)
|
🎭 Playwright Run Summary
3 skipped
95 passed (1.4m)
|
🎭 Playwright Run Summary
1 skipped
35 passed (3.4m)
|
🎭 Playwright Run Summary
1 skipped
35 passed (3.5m)
|
🎭 Playwright Run Summary
6 skipped
92 passed (2.4m)
|
🎭 Playwright Run Summary
1 skipped
97 passed (2.8m)
|
🎭 Playwright Run Summary
1 flaky
links.spec.ts:249:5 › allow switching to embed view when linking to the other document with mode
2 skipped
33 passed (4.1m)
|
🎭 Playwright Run Summary
1 skipped
35 passed (3.5m)
|
🎭 Playwright Run Summary
1 flaky
doc-info-modal.spec.ts:123:5 › add custom property ─────────────────────────────────────────────
35 passed (4.1m)
|
🎭 Playwright Run Summary
2 passed (1.7m)
|
🎭 Playwright Run Summary
1 passed (1.3m)
|
🎭 Playwright Run Summary
1 skipped
10 passed (5.5m)
|
🎭 Playwright Run Summary
1 skipped
7 passed (4.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
|
60.7 MB |
|
ios
|
60.7 MB |
|
server-native.node
|
4.32 MB |
|
web
|
62.7 MB |
|