chore: bump up react-router-dom version to v7 #20847
build-test.yml
on: pull_request
Matrix: build-native
Build Server native
1m 13s
Build @affine/electron renderer
2m 8s
test-build-mobile-app
/
output-env
2s
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: Unit Test
Matrix: server-e2e-test
Matrix: Server Copilot E2E Test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
19 errors, 52 warnings, and 10 notices
attachment.spec.ts:694:1 › indent attachment block to paragraph:
blocksuite/tests-legacy/attachment.spec.ts#L69
1) attachment.spec.ts:694:1 › indent attachment block to paragraph ───────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
67 | await expect(slashMenu).toBeVisible();
68 |
> 69 | const fileChooser = page.waitForEvent('filechooser');
| ^
70 | await pressEnter(page);
71 | await sleep(100);
72 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:69:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:701:3
|
Lint:
packages/frontend/admin/src/modules/setup/form.tsx#L205
Promise-returning function provided to attribute where a void return was expected
|
Lint:
packages/frontend/component/src/components/auth-components/onboarding-page.tsx#L269
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/commands/affine-navigation.tsx#L37
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/commands/affine-navigation.tsx#L53
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/commands/affine-navigation.tsx#L69
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/commands/affine-navigation.tsx#L132
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/components/affine/ai-onboarding/local.dialog.tsx#L56
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/components/affine/empty/collections.tsx#L44
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint:
packages/frontend/core/src/components/cloud/share-header-right-item/import-template.tsx#L17
Promise-returning function provided to attribute where a void return was expected
|
Lint:
packages/frontend/core/src/components/doc-properties/tags-inline-editor.tsx#L115
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
selection/native.spec.ts:266:1 › cursor move to up and down with children block:
blocksuite/tests-legacy/selection/native.spec.ts#L295
1) selection/native.spec.ts:266:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
293 | const textTwo = await getInlineSelectionText(page);
294 | expect(textTwo).toBe('arrow down test 1');
> 295 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
296 | expect(indexTwo).toBeLessThanOrEqual(17);
297 | await page.keyboard.press('ArrowDown');
298 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/selection/native.spec.ts:295:20
|
slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow:
blocksuite/tests-legacy/slash-menu.spec.ts#L401
2) slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
9 × locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
399 | await type(page, '/');
400 | await pressArrowDown(page, 4);
> 401 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true');
| ^
402 | await expect(slashItems.nth(4).locator('.text')).toHaveText([
403 | 'Other Headings',
404 | ]);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/slash-menu.spec.ts:401:37
|
format-bar.spec.ts:238:1 › should format quick bar be able to change background color:
blocksuite/tests-legacy/format-bar.spec.ts#L276
1) format-bar.spec.ts:238:1 › should format quick bar be able to change background color ─────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
274 |
275 | await expect(highlight.defaultColorBtn).toBeVisible();
> 276 | await highlight.defaultColorBtn.click();
| ^
277 |
278 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
279 | `${testInfo.title}_default_color.json`
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/format-bar.spec.ts:276:35
|
format-bar.spec.ts:238:1 › should format quick bar be able to change background color:
blocksuite/tests-legacy/format-bar.spec.ts#L275
1) format-bar.spec.ts:238:1 › should format quick bar be able to change background color ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget').getByTestId('unset')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
9 × locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- unexpected value "hidden"
273 | );
274 |
> 275 | await expect(highlight.defaultColorBtn).toBeVisible();
| ^
276 | await highlight.defaultColorBtn.click();
277 |
278 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/format-bar.spec.ts:275:43
|
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size:
blocksuite/tests-legacy/utils/asserts.ts#L888
1) edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ───────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 192
Received: 92
Expected precision: 0
Expected difference: < 0.5
Received difference: 100
at utils/asserts.ts:888
886 | expect(a.y).toBeCloseTo(b.y, 0);
887 | expect(a.w).toBeCloseTo(b.w, 0);
> 888 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
889 | }
890 |
891 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:888:15)
at assertNoteRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:881:3)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/note/resize.spec.ts:188:3
|
edgeless/presentation.spec.ts:137:3 › presentation › should be able to adjust order of presentation in frame panel:
blocksuite/tests-legacy/edgeless/presentation.spec.ts#L216
1) edgeless/presentation.spec.ts:137:3 › presentation › should be able to adjust order of presentation in frame panel
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.edgeless-frame-navigator-title')
- Expected string - 1
+ Received string + 3
- Frame 2
+
+ Frame 4
+
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.edgeless-frame-navigator-title')
9 × locator resolved to <span class="edgeless-frame-navigator-title">…</span>
- unexpected value "
Frame 4
"
214 | await expect(currentFrame).toHaveText('Frame 1');
215 | await nextButton.click();
> 216 | await expect(currentFrame).toHaveText('Frame 2');
| ^
217 | });
218 |
219 | test('duplicate frames should keep the presentation orders', async ({
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/presentation.spec.ts:216:32
|
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing:
blocksuite/tests-legacy/utils/actions/edgeless.ts#L368
2) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at utils/actions/edgeless.ts:368
366 | .locator('edgeless-slide-menu edgeless-tool-icon-button')
367 | .filter({ hasText: shape });
> 368 | await squareShapeButton.click();
| ^
369 | break;
370 | }
371 | }
at setEdgelessTool (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/edgeless.ts:368:31)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/shortcut.spec.ts:137:3
|
3, 2, 1 Launch
Process completed with exit code 1.
|
test-build-mobile-app / output-env
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check yarn binary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build Server native
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Mobile Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Mobile Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server Copilot Api Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server Copilot E2E Test (1, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server Copilot E2E Test (3, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Mobile Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server Copilot E2E Test (2, 3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run native tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build @affine/electron renderer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Mobile Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-build-mobile-app / build-android-web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build AFFiNE native (x86_64-unknown-linux-gnu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-build-mobile-app / build-ios-web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
E2E Mobile Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-build-mobile-app / android
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Legacy Blocksuite E2E Test (6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze (typescript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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 (typescript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Server E2E Test 3/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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 (javascript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Server E2E Test 1/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server Desktop E2E Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Test (5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Server E2E Test 2/3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Desktop Test (ubuntu-latest, linux, x64, x86_64-unknown-linux-gnu, true)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
3, 2, 1 Launch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
1 flaky
attachment.spec.ts:694:1 › indent attachment block to paragraph ────────────────────────────────
3 skipped
95 passed (1.3m)
|
🎭 Playwright Run Summary
3 skipped
95 passed (1.4m)
|
🎭 Playwright Run Summary
2 flaky
selection/native.spec.ts:266:1 › cursor move to up and down with children block ────────────────
slash-menu.spec.ts:378:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
93 passed (1.4m)
|
🎭 Playwright Run Summary
4 skipped
95 passed (1.5m)
|
🎭 Playwright Run Summary
98 passed (1.5m)
|
🎭 Playwright Run Summary
1 flaky
format-bar.spec.ts:238:1 › should format quick bar be able to change background color ──────────
1 skipped
96 passed (1.8m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ────────────────
12 skipped
86 passed (2.2m)
|
🎭 Playwright Run Summary
6 skipped
93 passed (2.5m)
|
🎭 Playwright Run Summary
1 skipped
98 passed (2.9m)
|
🎭 Playwright Run Summary
2 flaky
edgeless/presentation.spec.ts:137:3 › presentation › should be able to adjust order of presentation in frame panel
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
4 skipped
92 passed (2.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
Expired
|
1.92 MB |
|
affine.darwin-x64.node
Expired
|
2.04 MB |
|
affine.linux-x64-gnu.node
Expired
|
2.08 MB |
|
affine.win32-x64-msvc.node
Expired
|
2.43 MB |
|
android
Expired
|
60.6 MB |
|
ios
Expired
|
60.7 MB |
|
server-native.node
Expired
|
4.32 MB |
|
web
Expired
|
33.9 MB |
|