feat(component): shortcut style for tooltip (#7721) #12605
build-test.yml
on: push
Matrix: build-native
Build Server native
1m 51s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
3m 24s
Lint
4m 40s
Check yarn binary
5s
E2E Migration Test
3m 18s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
9 errors, 11 warnings, and 9 notices
local-first-collections-items.spec.ts:64:5 › Show collections items in sidebar:
tests/affine-local/e2e/local-first-collections-items.spec.ts#L1
1) local-first-collections-items.spec.ts:64:5 › Show collections items in sidebar ────────────────
Test timeout of 50000ms exceeded.
|
local-first-collections-items.spec.ts:64:5 › Show collections items in sidebar:
tests/kit/utils/page-logic.ts#L26
1) local-first-collections-items.spec.ts:64:5 › Show collections items in sidebar ────────────────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('sidebar-new-page-button')
- locator resolved to <button data-size="custom" data-icon-size="20" data-stat…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at ../../kit/utils/page-logic.ts:26
24 | }
25 | // fixme(himself65): if too fast, the page will crash
> 26 | await page.getByTestId('sidebar-new-page-button').click({
| ^
27 | delay: 100,
28 | });
29 | await waitForEmptyEditor(page);
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:26:53)
at createAndPinCollection (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:37:3)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:91:3
|
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
|
basic.spec.ts:28:5 › new page:
tests/kit/electron.ts#L73
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
at ../../kit/electron.ts:73
71 | return electronApp.windows().length > 1;
72 | })
> 73 | .toBeTruthy();
| ^
74 |
75 | const page = await getActivePage(electronApp.windows());
76 |
at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/electron.ts:73:8)
|
basic.spec.ts:28:5 › new page:
tests/affine-desktop-cloud/e2e/basic.spec.ts#L1
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Tearing down "electronApp" exceeded the test timeout of 50000ms.
|
basic.spec.ts:28:5 › new page:
tests/kit/electron.ts#L78
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: No active page found
at ../../kit/electron.ts:78
76 |
77 | if (!page) {
> 78 | throw new Error('No active page found');
| ^
79 | }
80 |
81 | // wait for blocksuite to be loaded
at Object.page (/home/runner/work/AFFiNE/AFFiNE/tests/kit/electron.ts:78:13)
|
basic.spec.ts:28:5 › new page:
tests/kit/utils/cloud.ts#L200
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForTimeout: Target page, context or browser has been closed
at ../../kit/utils/cloud.ts:200
198 | await page.getByTestId('confirm-enable-affine-cloud-button').click();
199 | // wait for upload and delete local workspace
> 200 | await page.waitForTimeout(2000);
| ^
201 | await waitForAllPagesLoad(page);
202 | await clickNewPageButton(page);
203 | }
at enableCloudWorkspace (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:200:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:37:3
|
Server E2E Test 3/3
Unable to download artifact(s): Failed to ListArtifacts: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts
|
3, 2, 1 Launch
Process completed with exit code 1.
|
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.4m
|
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-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 18.5s
|
Slow Test:
tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 45.5s
|
Slow Test:
tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 26.6s
|
Slow Test:
tests/affine-local/navigation.spec.ts#L1
tests/affine-local/navigation.spec.ts took 44.4s
|
Slow Test:
tests/affine-local/local-first-workspace.spec.ts#L1
tests/affine-local/local-first-workspace.spec.ts took 42.4s
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.6m
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 3.4m
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.9m
|
🎭 Playwright Run Summary
4 passed (1.5m)
|
🎭 Playwright Run Summary
29 passed (4.0m)
|
🎭 Playwright Run Summary
30 passed (3.7m)
|
🎭 Playwright Run Summary
1 flaky
local-first-collections-items.spec.ts:64:5 › Show collections items in sidebar ─────────────────
4 skipped
24 passed (4.2m)
|
🎭 Playwright Run Summary
1 flaky
quick-search.spec.ts:511:5 › can paste a doc link to create link reference ─────────────────────
28 passed (3.8m)
|
🎭 Playwright Run Summary
1 skipped
28 passed (3.6m)
|
🎭 Playwright Run Summary
1 skipped
2 passed (2.0m)
|
🎭 Playwright Run Summary
1 flaky
basic.spec.ts:28:5 › new page ──────────────────────────────────────────────────────────────────
|
🎭 Playwright Run Summary
1 skipped
7 passed (5.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
Expired
|
1.45 MB |
|
affine.darwin-x64.node
Expired
|
1.55 MB |
|
affine.linux-x64-gnu.node
Expired
|
1.57 MB |
|
affine.win32-x64-msvc.node
Expired
|
1.64 MB |
|
server-native.node
Expired
|
4.21 MB |
|
web
Expired
|
59.4 MB |
|