feat(core): show login modal if not logged in when using ai (#6632) #8046
build-test.yml
on: push
Matrix: build-native
Build Storage
1m 19s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
2m 25s
Lint
3m 20s
Check yarn binary
8s
E2E Migration Test
2m 29s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
3 errors, 13 warnings, and 10 notices
local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list:
tests/affine-local/e2e/local-first-workspace-list.spec.ts#L1
1) local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ────────
Test timeout of 50000ms exceeded.
|
local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list:
tests/affine-local/e2e/local-first-workspace-list.spec.ts#L94
1) local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ────────
Error: page.waitForTimeout: Test timeout of 50000ms exceeded.
92 |
93 | await openWorkspaceListModal(page);
> 94 | await page.waitForTimeout(1000);
| ^
95 | const sourceElement = page.getByTestId('draggable-item').nth(2);
96 | const targetElement = page.getByTestId('draggable-item').nth(1);
97 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:94:14
|
collaboration.spec.ts:301:5 › When the first sync is not completed:
tests/affine-cloud/e2e/collaboration.spec.ts#L362
1) collaboration.spec.ts:301:5 › When the first sync is not completed, should always show loading
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('page-list-item').getByText('TEST TITLE')
360 | (window as any).resolveSyncLag();
361 | }); // start syncing
> 362 | await page2.getByTestId('page-list-item').getByText('TEST TITLE').click(); // should be able to click page
| ^
363 | await waitForEditorLoad(page2);
364 |
365 | expect(await getBlockSuiteEditorTitle(page2).innerText()).toContain(
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:362:69
|
🎭 Playwright Run Summary
4 passed (1.3m)
|
🎭 Playwright Run Summary
3 skipped
22 passed (2.9m)
|
🎭 Playwright Run Summary
26 passed (3.1m)
|
🎭 Playwright Run Summary
25 passed (2.7m)
|
🎭 Playwright Run Summary
1 flaky
local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ─────────
24 passed (3.1m)
|
🎭 Playwright Run Summary
1 passed (56.5s)
|
🎭 Playwright Run Summary
26 passed (3.0m)
|
🎭 Playwright Run Summary
4 passed (2.2m)
|
🎭 Playwright Run Summary
1 skipped
3 passed (2.0m)
|
🎭 Playwright Run Summary
1 flaky
collaboration.spec.ts:301:5 › When the first sync is not completed, should always show loading ─
5 passed (6.2m)
|
Slow Test:
tests/affine-migration/basic.spec.ts#L1
tests/affine-migration/basic.spec.ts took 1.2m
|
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-local/local-first-collections-items.spec.ts#L1
tests/affine-local/local-first-collections-items.spec.ts took 36.6s
|
Slow Test:
tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 35.7s
|
Slow Test:
tests/affine-local/exception-page.spec.ts#L1
tests/affine-local/exception-page.spec.ts took 29.8s
|
Slow Test:
tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 16.9s
|
Slow Test:
tests/affine-local/local-first-workspace.spec.ts#L1
tests/affine-local/local-first-workspace.spec.ts took 35.9s
|
Slow Test:
tests/affine-local/open-affine.spec.ts#L1
tests/affine-local/open-affine.spec.ts took 31.6s
|
Slow Test:
tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 39.1s
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.8m
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.2m
|
Slow Test:
tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 28.9s
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
Expired
|
1.4 MB |
|
affine.darwin-x64.node
Expired
|
1.51 MB |
|
affine.linux-x64-gnu.node
Expired
|
1.54 MB |
|
affine.win32-x64-msvc.node
Expired
|
1.56 MB |
|
storage.node
Expired
|
491 KB |
|
web
Expired
|
46 MB |
|