chore: bump up oxlint version to v0.3.0 (#6636) #41
build-test.yml
on: push
Matrix: build-native
Build Storage
1m 23s
Matrix: Analyze
Matrix: E2E Test
Build @affine/web
3m 41s
Lint
4m 11s
Check yarn binary
8s
E2E Migration Test
3m 34s
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
9 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#L135
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/KowsWIZD0TOwNeUXHXOb7/all"
133 | );
134 |
> 135 | await page.reload();
| ^
136 | await openWorkspaceListModal(page);
137 |
138 | await page.waitForTimeout(1000);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:135:14
|
navigation.spec.ts:19:5 › back and forward buttons:
tests/affine-local/e2e/navigation.spec.ts#L1
2) navigation.spec.ts:19:5 › back and forward buttons ────────────────────────────────────────────
Test timeout of 50000ms exceeded.
|
navigation.spec.ts:19:5 › back and forward buttons:
tests/affine-local/e2e/navigation.spec.ts#L40
2) navigation.spec.ts:19:5 › back and forward buttons ────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 50000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
38 | await page.waitForURL(url => url.pathname.endsWith('collection'));
39 | await page.goBack();
> 40 | await page.waitForURL(url => url.pathname.endsWith('all'));
| ^
41 | await historyShortcut(page, 'goBack');
42 |
43 | await waitForEditorLoad(page);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:40:14
|
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('Toni_Rice95')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Toni_Rice95')
- 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
|
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Ernesto.Gerlach54')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Ernesto.Gerlach54')
- 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
|
collaboration.spec.ts:222:5 › can sync svg between different browsers:
tests/affine-cloud/e2e/collaboration.spec.ts#L252
2) collaboration.spec.ts:222:5 › can sync svg between different browsers ─────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
250 | await page.waitForTimeout(100);
251 | await page.keyboard.type('/', { delay: 50 });
> 252 | await expect(slashMenu).toBeVisible();
| ^
253 | await page.keyboard.type('image', { delay: 100 });
254 | await expect(slashMenu).toBeVisible();
255 | await page.keyboard.press('Enter', { delay: 50 });
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:252:27
|
collaboration.spec.ts:222:5 › can sync svg between different browsers:
tests/affine-cloud/e2e/collaboration.spec.ts#L252
2) collaboration.spec.ts:222:5 › can sync svg between different browsers ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
250 | await page.waitForTimeout(100);
251 | await page.keyboard.type('/', { delay: 50 });
> 252 | await expect(slashMenu).toBeVisible();
| ^
253 | await page.keyboard.type('image', { delay: 100 });
254 | await expect(slashMenu).toBeVisible();
255 | await page.keyboard.press('Enter', { delay: 50 });
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:252:27
|
collaboration.spec.ts:222:5 › can sync svg between different browsers:
tests/affine-cloud/e2e/collaboration.spec.ts#L252
2) collaboration.spec.ts:222:5 › can sync svg between different browsers ─────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
250 | await page.waitForTimeout(100);
251 | await page.keyboard.type('/', { delay: 50 });
> 252 | await expect(slashMenu).toBeVisible();
| ^
253 | await page.keyboard.type('image', { delay: 100 });
254 | await expect(slashMenu).toBeVisible();
255 | await page.keyboard.press('Enter', { delay: 50 });
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud/e2e/collaboration.spec.ts:252:27
|
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
|
Unit Test
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Slow Test:
tests/affine-local/local-first-collections-items.spec.ts#L1
tests/affine-local/local-first-collections-items.spec.ts took 36.0s
|
Slow Test:
tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 34.3s
|
Slow Test:
tests/affine-local/exception-page.spec.ts#L1
tests/affine-local/exception-page.spec.ts took 28.8s
|
Slow Test:
tests/affine-local/local-first-avatar.spec.ts#L1
tests/affine-local/local-first-avatar.spec.ts took 17.3s
|
Slow Test:
tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 43.4s
|
Slow Test:
tests/affine-local/local-first-workspace.spec.ts#L1
tests/affine-local/local-first-workspace.spec.ts took 31.8s
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.8m
|
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.7s
|
Server Test
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
🎭 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
26 passed (2.9m)
|
🎭 Playwright Run Summary
26 passed (3.2m)
|
🎭 Playwright Run Summary
1 passed (1.0m)
|
🎭 Playwright Run Summary
2 flaky
local-first-workspace-list.spec.ts:63:5 › create multi workspace in the workspace list ─────────
navigation.spec.ts:19:5 › back and forward buttons ─────────────────────────────────────────────
23 passed (3.4m)
|
🎭 Playwright Run Summary
4 passed (2.2m)
|
🎭 Playwright Run Summary
1 skipped
3 passed (2.1m)
|
🎭 Playwright Run Summary
2 flaky
collaboration.spec.ts:123:5 › can collaborate with other user and name should display when editing
collaboration.spec.ts:222:5 › can sync svg between different browsers ──────────────────────────
4 passed (9.8m)
|
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 |
|