fix(core): optimize request chat cards fn (#7331) #10832
build-test.yml
on: push
Matrix: build-native
Build Server native
1m 53s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
2m 58s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
6 errors, 13 warnings, and 10 notices
local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear:
tests/affine-local/e2e/local-first-delete-page.spec.ts#L1
1) local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ──
Test timeout of 50000ms exceeded.
|
local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear:
tests/affine-local/e2e/local-first-delete-page.spec.ts#L37
1) local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ──
Error: page.reload: Test timeout of 50000ms exceeded.
Call log:
- waiting for navigation until "load"
- navigated to "http://localhost:8080/workspace/fheFan3kxXF1yMazdF07y/trash"
35 | await page.getByText('Delete permanently?').dblclick();
36 | await page.getByRole('button', { name: 'Delete' }).click();
> 37 | await page.reload();
| ^
38 | expect(page.getByText("There's no page here yet")).not.toBeUndefined();
39 | await page.getByTestId('all-pages').click();
40 | await page.reload();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-delete-page.spec.ts:37:14
|
open-affine.spec.ts:7:5 › Open last workspace when back to affine:
tests/affine-local/e2e/open-affine.spec.ts#L1
1) open-affine.spec.ts:7:5 › Open last workspace when back to affine ─────────────────────────────
Test timeout of 50000ms exceeded.
|
open-affine.spec.ts:7:5 › Open last workspace when back to affine:
tests/kit/utils/load-page.ts#L7
1) open-affine.spec.ts:7:5 › Open last workspace when back to affine ─────────────────────────────
Error: page.goto: Test timeout of 50000ms exceeded.
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
at ../../kit/utils/load-page.ts:7
5 |
6 | export async function openHomePage(page: Page) {
> 7 | await page.goto(coreUrl);
| ^
8 | }
9 |
10 | export async function open404Page(page: Page) {
at openHomePage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/load-page.ts:7:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:19:21
|
basic.spec.ts:28:5 › new page:
tests/affine-desktop-cloud/e2e/basic.spec.ts#L1
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Test timeout of 50000ms exceeded.
|
basic.spec.ts:28:5 › new page:
tests/kit/utils/page-logic.ts#L33
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('.doc-title-container-empty')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.doc-title-container-empty')
at ../../kit/utils/page-logic.ts:33
31 |
32 | export async function waitForEmptyEditor(page: Page) {
> 33 | await expect(page.locator('.doc-title-container-empty')).toBeVisible();
| ^
34 | }
35 |
36 | export function getBlockSuiteEditorTitle(page: Page) {
at waitForEmptyEditor (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:33:60)
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:29:9)
at enableCloudWorkspace (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:202:3)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:37:3
|
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 (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'.
|
Slow Test:
tests/affine-migration/basic.spec.ts#L1
tests/affine-migration/basic.spec.ts took 1.5m
|
Slow Test:
tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 43.5s
|
Slow Test:
tests/affine-local/local-first-collections-items.spec.ts#L1
tests/affine-local/local-first-collections-items.spec.ts took 45.9s
|
Slow Test:
tests/affine-local/navigation.spec.ts#L1
tests/affine-local/navigation.spec.ts took 46.9s
|
Slow Test:
tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 49.8s
|
Slow Test:
tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 45.3s
|
Slow Test:
tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 17.7s
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.5m
|
Slow Test:
tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 33.1s
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 2.0m
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 4.7m
|
🎭 Playwright Run Summary
4 passed (1.6m)
|
🎭 Playwright Run Summary
27 passed (3.4m)
|
🎭 Playwright Run Summary
27 passed (3.3m)
|
🎭 Playwright Run Summary
1 flaky
local-first-delete-page.spec.ts:12:5 › page delete -> refresh page -> it should be disappear ───
4 skipped
22 passed (3.7m)
|
🎭 Playwright Run Summary
1 flaky
open-affine.spec.ts:7:5 › Open last workspace when back to affine ──────────────────────────────
1 skipped
25 passed (3.7m)
|
🎭 Playwright Run Summary
27 passed (3.8m)
|
🎭 Playwright Run Summary
1 flaky
basic.spec.ts:28:5 › new page ──────────────────────────────────────────────────────────────────
|
🎭 Playwright Run Summary
1 skipped
3 passed (2.4m)
|
🎭 Playwright Run Summary
4 passed (2.4m)
|
🎭 Playwright Run Summary
1 skipped
5 passed (5.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
Expired
|
1.44 MB |
|
affine.darwin-x64.node
Expired
|
1.53 MB |
|
affine.linux-x64-gnu.node
Expired
|
1.56 MB |
|
affine.win32-x64-msvc.node
Expired
|
1.63 MB |
|
server-native.node
Expired
|
4.22 MB |
|
web
Expired
|
62 MB |
|