feat: adapt workflow for ppt & minimap #11287
build-test.yml
on: pull_request
Matrix: build-native
Build Server native
1m 50s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
4m 2s
Lint
4m 36s
Check yarn binary
7s
E2E Migration Test
3m 31s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
2 errors, 12 warnings, and 10 notices
quick-search.spec.ts:511:5 › can paste a doc link to create link reference:
tests/affine-local/e2e/quick-search.spec.ts#L545
1) quick-search.spec.ts:511:5 › can paste a doc link to create link reference ────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference:has-text("Write, Draw, Plan all at Once.")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference:has-text("Write, Draw, Plan all at Once.")')
543 | await expect(
544 | page.locator('affine-reference:has-text("Write, Draw, Plan all at Once.")')
> 545 | ).toBeVisible();
| ^
546 |
547 | // can ctrl-z to revert to normal link
548 | await page.keyboard.press('ControlOrMeta+z');
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:545:5
|
quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card:
tests/affine-local/e2e/quick-search.spec.ts#L569
2) quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card ────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('cmdk-quick-search')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('cmdk-quick-search')
567 | });
568 | await page.keyboard.press('Enter');
> 569 | await expect(page.getByTestId('cmdk-quick-search')).toBeVisible();
| ^
570 |
571 | const testTitle = 'test title';
572 | await page.locator('[cmdk-input]').fill(testTitle);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:569:55
|
🎭 Playwright Run Summary
4 passed (1.5m)
|
🎭 Playwright Run Summary
29 passed (3.4m)
|
🎭 Playwright Run Summary
1 skipped
28 passed (3.4m)
|
🎭 Playwright Run Summary
4 skipped
25 passed (3.5m)
|
🎭 Playwright Run Summary
2 flaky
quick-search.spec.ts:511:5 › can paste a doc link to create link reference ─────────────────────
quick-search.spec.ts:555:5 › can use slash menu to insert a newly created doc card ─────────────
26 passed (3.6m)
|
🎭 Playwright Run Summary
29 passed (3.8m)
|
🎭 Playwright Run Summary
1 passed (1.1m)
|
🎭 Playwright Run Summary
4 passed (2.4m)
|
🎭 Playwright Run Summary
1 skipped
3 passed (2.3m)
|
🎭 Playwright Run Summary
1 skipped
5 passed (4.7m)
|
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 (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'.
|
Slow Test:
tests/affine-migration/basic.spec.ts#L1
tests/affine-migration/basic.spec.ts took 1.3m
|
Slow Test:
tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 44.6s
|
Slow Test:
tests/affine-local/navigation.spec.ts#L1
tests/affine-local/navigation.spec.ts took 44.0s
|
Slow Test:
tests/affine-local/local-first-collections-items.spec.ts#L1
tests/affine-local/local-first-collections-items.spec.ts took 18.3s
|
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-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 46.3s
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 2.0m
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.4m
|
Slow Test:
tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 31.7s
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 4.3m
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
Expired
|
1.45 MB |
|
affine.darwin-x64.node
Expired
|
1.54 MB |
|
affine.linux-x64-gnu.node
Expired
|
1.57 MB |
|
affine.win32-x64-msvc.node
Expired
|
1.64 MB |
|
server-native.node
Expired
|
4.22 MB |
|
web
Expired
|
56.8 MB |
|