Skip to content

chore: bump up react-day-picker version to v9 #14586

chore: bump up react-day-picker version to v9

chore: bump up react-day-picker version to v9 #14586

Triggered via pull request September 3, 2024 10:28
Status Success
Total duration 14m 32s
Artifacts 6

build-test.yml

on: pull_request
Matrix: build-native
Build Server native
1m 40s
Build Server native
Matrix: Analyze
Matrix: E2E Mobile Test
Matrix: E2E Test
Build @affine/web
3m 54s
Build @affine/web
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

19 errors, 15 warnings, and 15 notices
[Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L1
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ────────────────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L13
1) [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ────────────────────────── Error: page.click: Test timeout of 60000ms exceeded. Call log: - waiting for locator('[data-testid="detail-page-header-more-button"]') - locator resolved to <button data-size="custom" data-icon-size="24" data-variant="custom" data-icon-variant="plain" data-testid="detail-page-header-more-button" class="button_button__4mphx6e button_iconButton__4mphx6h page-header-more-button_iconButton__m2qhsa0">…</button> - attempting click action - waiting for element to be visible, enabled and stable 11 | 12 | test('can open page view more menu', async ({ page }) => { > 13 | await page.click('[data-testid="detail-page-header-more-button"]'); | ^ 14 | await expect(page.getByRole('dialog')).toBeVisible(); 15 | }); 16 | at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:13:14
[Mobile Safari] › detail.spec.ts:17:5 › switch to page mode: tests/affine-mobile/e2e/detail.spec.ts#L1
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ─────────────────────────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › detail.spec.ts:17:5 › switch to page mode: tests/affine-mobile/e2e/detail.spec.ts#L18
2) [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ─────────────────────────────────── Error: page.click: Test timeout of 60000ms exceeded. Call log: - waiting for locator('[data-testid="detail-page-header-more-button"]') - locator resolved to <button data-size="custom" data-icon-size="24" data-variant="custom" data-icon-variant="plain" data-testid="detail-page-header-more-button" class="button_button__4mphx6e button_iconButton__4mphx6h page-header-more-button_iconButton__m2qhsa0">…</button> - attempting click action - waiting for element to be visible, enabled and stable 16 | 17 | test('switch to page mode', async ({ page }) => { > 18 | await page.click('[data-testid="detail-page-header-more-button"]'); | ^ 19 | await expect(page.getByRole('dialog')).toBeVisible(); 20 | 21 | await page.getByRole('menuitem', { name: 'convert to page' }).click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:18:14
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/affine-local/e2e/quick-search.spec.ts#L189
1) quick-search.spec.ts:168:5 › Create a new page and search this page ─────────────────────────── Error: page.reload: Test timeout of 50000ms exceeded. Call log: - waiting for navigation until "load" - navigated to "http://localhost:8080/workspace/LuAcCx4Vt5JaLzhBl7Gxv/0HHBP5uqSeiiEoJ7TceSq" 187 | await assertTitle(page, 'test123456'); 188 | > 189 | await page.reload(); | ^ 190 | await waitForEditorLoad(page); 191 | await openQuickSearchByShortcut(page); 192 | await insertInputText(page, 'test123456'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:189:14
quick-search.spec.ts:434:5 › disable quick search when the link-popup is visitable: tests/affine-local/e2e/quick-search.spec.ts#L452
2) quick-search.spec.ts:434:5 › disable quick search when the link-popup is visitable ──────────── Error: locator.dblclick: Error: strict mode violation: getByText('1234567890') resolved to 2 elements: 1) <div class="inline-edit_inlineEdit__1ejglp91">"test"1234567890</div> aka getByTestId('title-edit-button').getByText('"test"') 2) <span data-v-text="true">…</span> aka getByTestId('editor-GocbRH0mGoWd3O7m4Hz07').getByText('"test"') Call log: - waiting for getByText('1234567890') 450 | await page.keyboard.press('Enter', { delay: 10 }); 451 | await page.keyboard.insertText('1234567890'); > 452 | await page.getByText('1234567890').dblclick(); | ^ 453 | 454 | await withCtrlOrMeta(page, () => page.keyboard.press('k')); 455 | const linkPopup = page.locator('.affine-link-popover'); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:452:38
quick-search.spec.ts:548:5 › can use slash menu to insert a newly created doc card: tests/affine-local/e2e/quick-search.spec.ts#L564
3) quick-search.spec.ts:548: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') 562 | }); 563 | await page.keyboard.press('Enter'); > 564 | await expect(page.getByTestId('cmdk-quick-search')).toBeVisible(); | ^ 565 | 566 | const testTitle = 'test title'; 567 | await page.locator('[cmdk-input]').fill(testTitle); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/quick-search.spec.ts:564:55
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/affine-local/e2e/local-first-workspace-list.spec.ts#L51
1) local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list ────────── Error: page.waitForTimeout: Test timeout of 50000ms exceeded. 49 | await page.keyboard.press('Escape'); 50 | await clickSideBarAllPageButton(page); > 51 | await page.waitForTimeout(2000); | ^ 52 | const result = await getPagesCount(page); 53 | expect(result).toBe(1); 54 | await page.reload(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-workspace-list.spec.ts:51:14
navigation.spec.ts:19:5 › back and forward buttons: tests/kit/utils/page-logic.ts#L26
2) navigation.spec.ts:19:5 › back and forward buttons ──────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('sidebar-new-page-button') - locator resolved to <button data-size="custom" data-icon-size="20" data-state="closed" data-variant="custom" data-icon-variant="plain" data-testid="sidebar-new-page-button" class="button_button__158e9loe button_iconButton__158e9loh add-page-button_root__agilbw0">…</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 /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/navigation.spec.ts:25:3
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#L25
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it Error: locator.click: Test timeout of 50000ms exceeded. Call log: - waiting for getByTestId('settings-modal-trigger') - locator resolved to <span data-testid="settings-modal-trigger">Settings</span> - 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 - <html lang="en-US" data-theme="light">…</html> intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <html lang="en-US" data-theme="light">…</html> intercepts pointer events - retrying click action, attempt #2 - waiting 20ms 23 | await page.getByTestId('workspace-name').click(); 24 | await page.getByTestId('workspace-card').nth(1).click(); > 25 | await page.getByTestId('settings-modal-trigger').click(); | ^ 26 | await page.getByTestId('current-workspace-label').click(); 27 | await page 28 | .getByTestId('upload-avatar') at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-avatar.spec.ts:25:52
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/affine-local/e2e/local-first-collections-items.spec.ts#L85
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('confirm-modal-confirm') 83 | const deletePage = page.getByText('Move to trash'); 84 | await deletePage.click(); > 85 | await page.getByTestId('confirm-modal-confirm').click(); | ^ 86 | expect(await first.locator('[data-testid^="explorer-doc-"]').count()).toBe(0); 87 | // position is a workaround for the hover issue when empty collection status's height > 26px (will cause scroll) 88 | await first.hover({ position: { x: 10, y: 10 } }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:85:51
local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar: tests/kit/utils/page-logic.ts#L50
3) local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ───────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.linked-doc-popover') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.linked-doc-popover') at ../../kit/utils/page-logic.ts:50 48 | await page.keyboard.type('@', { delay: 50 }); 49 | const linkedPagePopover = page.locator('.linked-doc-popover'); > 50 | await expect(linkedPagePopover).toBeVisible(); | ^ 51 | await type(page, pageName || 'Untitled'); 52 | 53 | await page.keyboard.press('ArrowUp'); at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:50:35) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:52:3
local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar: tests/kit/utils/page-logic.ts#L50
4) local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.linked-doc-popover') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.linked-doc-popover') at ../../kit/utils/page-logic.ts:50 48 | await page.keyboard.type('@', { delay: 50 }); 49 | const linkedPagePopover = page.locator('.linked-doc-popover'); > 50 | await expect(linkedPagePopover).toBeVisible(); | ^ 51 | await type(page, pageName || 'Untitled'); 52 | 53 | await page.keyboard.press('ArrowUp'); at createLinkedPage (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/page-logic.ts:50:35) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorites-items.spec.ts:98:3
basic.spec.ts:28:5 › new page: tests/affine-desktop-cloud/e2e/basic.spec.ts#L22
1) basic.spec.ts:28:5 › new page ───────────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 20 | }); 21 | > 22 | test.beforeEach(async ({ page }) => { | ^ 23 | await loginUser(page, user.email, { 24 | isElectron: true, 25 | }); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:22:6
basic.spec.ts:28:5 › new page: tests/kit/utils/sidebar.ts#L12
1) basic.spec.ts:28:5 › new page ───────────────────────────────────────────────────────────────── Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('current-workspace-card') - locator resolved to <div tabindex="0" role="button" type="button" id="radix-:r12:" data-state="closed" aria-haspopup="menu" aria-expanded="false" class="styles_container__1x2z2gu0" data-testid="current-workspace-card">…</div> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed at ../../kit/utils/sidebar.ts:12 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { > 12 | return page.getByTestId('current-workspace-card').click(); | ^ 13 | } 14 | 15 | export async function clickSideBarUseAvatar(page: Page) { at clickSideBarCurrentWorkspaceBanner (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:12:53) at loginUser (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/cloud.ts:174:43) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-desktop-cloud/e2e/basic.spec.ts:23:18
Slow Test: tests/affine-mobile/[Mobile Chrome] › detail.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › detail.spec.ts took 59.3s
Slow Test: tests/affine-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 50.6s
Slow Test: tests/affine-mobile/[Mobile Chrome] › home.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › home.spec.ts took 56.8s
Slow Test: tests/affine-mobile/[Mobile Chrome] › detail.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › detail.spec.ts took 49.1s
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'.
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-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 21.7s
Slow Test: tests/affine-local/ai-land.spec.ts#L1
tests/affine-local/ai-land.spec.ts took 43.3s
Slow Test: tests/affine-local/router.spec.ts#L1
tests/affine-local/router.spec.ts took 24.4s
Slow Test: tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 1.5m
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.8m
🎭 Playwright Run Summary
3 passed (1.1m)
🎭 Playwright Run Summary
3 passed (1.3m)
🎭 Playwright Run Summary
3 passed (1.1m)
🎭 Playwright Run Summary
4 passed (1.5m)
🎭 Playwright Run Summary
3 passed (1.0m)
🎭 Playwright Run Summary
2 flaky [Mobile Safari] › detail.spec.ts:12:5 › can open page view more menu ─────────────────────────── [Mobile Safari] › detail.spec.ts:17:5 › switch to page mode ──────────────────────────────────── 2 passed (2.4m)
🎭 Playwright Run Summary
31 passed (3.6m)
🎭 Playwright Run Summary
31 passed (3.9m)
🎭 Playwright Run Summary
3 flaky quick-search.spec.ts:168:5 › Create a new page and search this page ──────────────────────────── quick-search.spec.ts:434:5 › disable quick search when the link-popup is visitable ───────────── quick-search.spec.ts:548:5 › can use slash menu to insert a newly created doc card ───────────── 27 passed (4.2m)
🎭 Playwright Run Summary
2 flaky local-first-workspace-list.spec.ts:31:5 › create one workspace in the workspace list ─────────── navigation.spec.ts:19:5 › back and forward buttons ───────────────────────────────────────────── 2 skipped 26 passed (3.9m)
🎭 Playwright Run Summary
4 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 ───────────────── local-first-favorites-items.spec.ts:42:5 › Show favorite reference in sidebar ────────────────── local-first-favorites-items.spec.ts:84:5 › Deleted page's reference will not be shown in sidebar 3 skipped 23 passed (4.9m)
🎭 Playwright Run Summary
1 skipped 2 passed (1.9m)
🎭 Playwright Run Summary
1 flaky basic.spec.ts:28:5 › new page ──────────────────────────────────────────────────────────────────
🎭 Playwright Run Summary
5 passed (4.0m)
🎭 Playwright Run Summary
1 skipped 7 passed (5.6m)

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node Expired
1.48 MB
affine.darwin-x64.node Expired
1.57 MB
affine.linux-x64-gnu.node Expired
1.61 MB
affine.win32-x64-msvc.node Expired
1.68 MB
server-native.node Expired
4.22 MB
web Expired
58.6 MB