Skip to content

feat(core): show login modal if not logged in when using ai #8044

feat(core): show login modal if not logged in when using ai

feat(core): show login modal if not logged in when using ai #8044

Triggered via pull request April 22, 2024 03:26
Status Success
Total duration 9m 44s
Artifacts 6

build-test.yml

on: pull_request
Matrix: build-native
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
2m 41s
Build @affine/web
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 14 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
🎭 Playwright Run Summary
4 passed (1.3m)
🎭 Playwright Run Summary
25 passed (2.8m)
🎭 Playwright Run Summary
3 skipped 22 passed (2.9m)
🎭 Playwright Run Summary
1 flaky local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ───────── 24 passed (3.0m)
🎭 Playwright Run Summary
26 passed (3.1m)
🎭 Playwright Run Summary
26 passed (3.0m)
🎭 Playwright Run Summary
1 passed (1.0m)
🎭 Playwright Run Summary
4 passed (2.1m)
🎭 Playwright Run Summary
1 skipped 3 passed (2.1m)
🎭 Playwright Run Summary
6 passed (5.0m)
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.1m
Slow Test: tests/affine-local/local-first-collections-items.spec.ts#L1
tests/affine-local/local-first-collections-items.spec.ts took 34.8s
Slow Test: tests/affine-local/local-first-workspace.spec.ts#L1
tests/affine-local/local-first-workspace.spec.ts took 34.8s
Slow Test: tests/affine-local/open-affine.spec.ts#L1
tests/affine-local/open-affine.spec.ts took 30.3s
Slow Test: tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 35.2s
Slow Test: tests/affine-local/exception-page.spec.ts#L1
tests/affine-local/exception-page.spec.ts took 29.7s
Slow Test: tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 17.9s
Slow Test: tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 42.4s
Slow Test: tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.7m
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.3m
Slow Test: tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 29.0s
Slow Test: tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 4.6m

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