feat: update throttler #13813
build-test.yml
on: pull_request
Matrix: build-native
Build Server native
1m 33s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
3m 38s
Lint
4m 56s
Check yarn binary
6s
E2E Migration Test
3m 31s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
11 errors, 12 warnings, and 10 notices
local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list:
tests/affine-local/e2e/local-first-workspace-list.spec.ts#L1
1) local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list ──────────
Test timeout of 50000ms exceeded.
|
local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list:
tests/kit/utils/page-logic.ts#L5
1) local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list ──────────
Error: page.waitForSelector: Test timeout of 50000ms exceeded.
Call log:
- waiting for locator('v-line') to be visible
- locator resolved to 42 elements. Proceeding with the first one: <v-line>…</v-line>
at ../../kit/utils/page-logic.ts:5
3 |
4 | export async function waitForEditorLoad(page: Page) {
> 5 | await page.waitForSelector('v-line', {
| ^
6 | timeout: 20000,
7 | });
8 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14)
at createLocalWorkspace (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/workspace.ts:41:26)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:38:3
|
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#L5
1) basic.spec.ts:28:5 › new page ─────────────────────────────────────────────────────────────────
Error: page.waitForSelector: Target page, context or browser has been closed
Call log:
- waiting for locator('v-line') to be visible
- locator resolved to 39 elements. Proceeding with the first one: <v-line>…</v-line>
at ../../kit/utils/page-logic.ts:5
3 |
4 | export async function waitForEditorLoad(page: Page) {
> 5 | await page.waitForSelector('v-line', {
| ^
6 | timeout: 20000,
7 | });
8 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:30:26
|
quick-search.spec.ts:168:5 › Create a new page and search this page:
tests/affine-local/e2e/quick-search.spec.ts#L1
1) quick-search.spec.ts:168:5 › Create a new page and search this page ───────────────────────────
Test timeout of 50000ms exceeded.
|
quick-search.spec.ts:168:5 › Create a new page and search this page:
tests/kit/utils/page-logic.ts#L5
1) quick-search.spec.ts:168:5 › Create a new page and search this page ───────────────────────────
Error: page.waitForSelector: Test timeout of 50000ms exceeded.
Call log:
- waiting for locator('v-line') to be visible
at ../../kit/utils/page-logic.ts:5
3 |
4 | export async function waitForEditorLoad(page: Page) {
> 5 | await page.waitForSelector('v-line', {
| ^
6 | timeout: 20000,
7 | });
8 | }
at waitForEditorLoad (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:5:14)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:190:26
|
quick-search.spec.ts:542:5 › can use slash menu to insert a newly created doc card:
tests/affine-local/e2e/quick-search.spec.ts#L558
2) quick-search.spec.ts:542: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')
556 | });
557 | await page.keyboard.press('Enter');
> 558 | await expect(page.getByTestId('cmdk-quick-search')).toBeVisible();
| ^
559 |
560 | const testTitle = 'test title';
561 | await page.locator('[cmdk-input]').fill(testTitle);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:558:55
|
local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it:
tests/affine-local/e2e/local-first-avatar.spec.ts#L1
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it
Test timeout of 50000ms exceeded.
|
local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it:
tests/affine-local/e2e/local-first-avatar.spec.ts#L59
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it
Error: page.waitForTimeout: Test timeout of 50000ms exceeded.
57 | await page.getByTestId('workspace-setting-remove-avatar-button').click();
58 | await page.mouse.click(0, 0);
> 59 | await page.waitForTimeout(1000);
| ^
60 | await page.getByTestId('workspace-name').click();
61 | await page.getByTestId('workspace-card').nth(1).click();
62 | const removedAvatarImage = await page
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-avatar.spec.ts:59:14
|
local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar:
tests/affine-local/e2e/local-first-collections-items.spec.ts#L1
2) local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ────────────────
Test timeout of 50000ms exceeded.
|
local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar:
tests/kit/utils/sidebar.ts#L8
2) local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ────────────────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('all-pages')
at ../../kit/utils/sidebar.ts:8
6 |
7 | export async function clickSideBarAllPageButton(page: Page) {
> 8 | return page.getByTestId('all-pages').click();
| ^
9 | }
10 |
11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) {
at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:96:34
|
🎭 Playwright Run Summary
4 passed (1.4m)
|
🎭 Playwright Run Summary
31 passed (3.6m)
|
🎭 Playwright Run Summary
1 flaky
local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list ───────────
2 skipped
27 passed (3.6m)
|
🎭 Playwright Run Summary
31 passed (3.7m)
|
🎭 Playwright Run Summary
1 flaky
basic.spec.ts:28:5 › new page ──────────────────────────────────────────────────────────────────
|
🎭 Playwright Run Summary
2 flaky
quick-search.spec.ts:168:5 › Create a new page and search this page ────────────────────────────
quick-search.spec.ts:542:5 › can use slash menu to insert a newly created doc card ─────────────
28 passed (3.9m)
|
🎭 Playwright Run Summary
1 skipped
2 passed (1.9m)
|
🎭 Playwright Run Summary
2 flaky
local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it ─
local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ─────────────────
3 skipped
25 passed (4.3m)
|
🎭 Playwright Run Summary
5 passed (3.9m)
|
🎭 Playwright Run Summary
1 skipped
7 passed (5.5m)
|
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.3m
|
Slow Test:
tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 45.0s
|
Slow Test:
tests/affine-local/open-affine.spec.ts#L1
tests/affine-local/open-affine.spec.ts took 30.9s
|
Slow Test:
tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 24.0s
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.5m
|
Slow Test:
tests/affine-local/local-first-show-delete-modal.spec.ts#L1
tests/affine-local/local-first-show-delete-modal.spec.ts took 20.4s
|
Slow Test:
tests/affine-cloud/share-page.spec.ts#L1
tests/affine-cloud/share-page.spec.ts took 2.4m
|
Slow Test:
tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 1.1m
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 3.2m
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.9m
|
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.21 MB |
|
web
Expired
|
58.5 MB |
|