chore: bump up undici version to v6.11.1 [SECURITY] (#6457) #6978
build-test.yml
on: push
Matrix: build-native
Build Storage
1m 28s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
6m 35s
Lint
3m 51s
Check yarn binary
10s
E2E Migration Test
3m 27s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
10 errors, 7 warnings, and 10 notices
quick-search.spec.ts:256:5 › assert the recent browse pages are on the recent list:
tests/affine-local/e2e/quick-search.spec.ts#L324
1) quick-search.spec.ts:256:5 › assert the recent browse pages are on the recent list ────────────
Error: Timed out 500ms waiting for expect(locator).toHaveText(expected)
Locator: locator('doc-title .inline-editor').first()
Expected string: "affine is the best"
Received string: "ine is the best"
Call log:
- expect.toHaveText with timeout 500ms
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "ine is the best"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "ine is the best"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "ine is the best"
- locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div>
- unexpected value "ine is the best"
322 | await page.waitForTimeout(200);
323 | await title.pressSequentially('affine is the best', { delay: 100 });
> 324 | await expect(title).toHaveText('affine is the best', { timeout: 500 });
| ^
325 | }
326 | await page.waitForTimeout(1000);
327 | await openQuickSearchByShortcut(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:324:25
|
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#L122
1) local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ────────
Error: page.reload: Test timeout of 50000ms exceeded.
Call log:
- waiting for navigation until "load"
- navigated to "http://localhost:8080/workspace/gY62-28j01iMOPgVmG86D/all"
120 | await page.mouse.up();
121 | await page.waitForTimeout(1000);
> 122 | await page.reload();
| ^
123 | await openWorkspaceListModal(page);
124 |
125 | await page.waitForTimeout(1000);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:122:14
|
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#L86
1) local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('draggable-item').nth(1)
84 | await page.reload();
85 | await openWorkspaceListModal(page);
> 86 | await page.getByTestId('draggable-item').nth(1).click();
| ^
87 | await page.waitForTimeout(500);
88 |
89 | const currentWorkspace = await workspace.current();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:86:51
|
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#L86
1) local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('draggable-item').nth(1)
84 | await page.reload();
85 | await openWorkspaceListModal(page);
> 86 | await page.getByTestId('draggable-item').nth(1).click();
| ^
87 | await page.waitForTimeout(500);
88 |
89 | const currentWorkspace = await workspace.current();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:86:51
|
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#L86
1) local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('draggable-item').nth(1)
84 | await page.reload();
85 | await openWorkspaceListModal(page);
> 86 | await page.getByTestId('draggable-item').nth(1).click();
| ^
87 | await page.waitForTimeout(500);
88 |
89 | const currentWorkspace = await workspace.current();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:86:51
|
E2E Test (4)
Process completed with exit code 1.
|
Build @affine/web
Failed to CreateArtifact: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
|
collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing:
tests/affine-cloud/e2e/collaboration.spec.ts#L164
1) collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Frankie_Brown37')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Frankie_Brown37')
- locator resolved to <div>…</div>
- unexpected value "hidden"
- locator resolved to <div>…</div>
- unexpected value "hidden"
- locator resolved to <div>…</div>
- unexpected value "hidden"
- locator resolved to <div>…</div>
- unexpected value "hidden"
- locator resolved to <div>…</div>
- unexpected value "hidden"
- locator resolved to <div>…</div>
- unexpected value "hidden"
- locator resolved to <div>…</div>
- unexpected value "hidden"
162 | })();
163 | // username should be visible when editing
> 164 | await expect(page2.getByText(user.name)).toBeVisible();
| ^
165 | await typingPromise;
166 | }
167 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:164:46
|
3, 2, 1 Launch
Process completed with exit code 1.
|
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.0m
|
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.2s
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 5.5m
|
🎭 Playwright Run Summary
4 passed (1.2m)
|
🎭 Playwright Run Summary
26 passed (2.9m)
|
🎭 Playwright Run Summary
3 skipped
22 passed (2.9m)
|
🎭 Playwright Run Summary
1 flaky
quick-search.spec.ts:256:5 › assert the recent browse pages are on the recent list ─────────────
24 passed (3.0m)
|
🎭 Playwright Run Summary
26 passed (3.1m)
|
🎭 Playwright Run Summary
1 failed
local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ─────────
24 passed (3.4m)
|
🎭 Playwright Run Summary
1 passed (55.1s)
|
🎭 Playwright Run Summary
4 passed (2.0m)
|
🎭 Playwright Run Summary
1 skipped
3 passed (2.0m)
|
🎭 Playwright Run Summary
1 flaky
collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing
5 passed (5.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
Expired
|
1.37 MB |
|
affine.darwin-x64.node
Expired
|
1.48 MB |
|
affine.linux-x64-gnu.node
Expired
|
1.5 MB |
|
affine.win32-x64-msvc.node
Expired
|
1.52 MB |
|
storage.node
Expired
|
490 KB |
|
test-results-e2e-4
Expired
|
10.7 MB |
|