Repository navigation
feat(server): migrate legacy impl #49144
Annotations
10 errors, 1 warning, and 1 notice
|
tests/kit/src/utils/page-logic.ts#L41
3) e2e/chat-with/text.spec.ts:77:3 › AIChatWith/Text › should support replace selection ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
3) e2e/chat-with/text.spec.ts:77:3 › AIChatWith/Text › should support replace selection ──────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
2) e2e/chat-with/text.spec.ts:62:3 › AIChatWith/Text › should support insert above ───────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
2) e2e/chat-with/text.spec.ts:62:3 › AIChatWith/Text › should support insert above ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
2) e2e/chat-with/text.spec.ts:62:3 › AIChatWith/Text › should support insert above ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
2) e2e/chat-with/text.spec.ts:62:3 › AIChatWith/Text › should support insert above ───────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
1) e2e/chat-with/text.spec.ts:52:3 › AIChatWith/Text › should support insert below ───────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
1) e2e/chat-with/text.spec.ts:52:3 › AIChatWith/Text › should support insert below ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
1) e2e/chat-with/text.spec.ts:52:3 › AIChatWith/Text › should support insert below ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
tests/kit/src/utils/page-logic.ts#L41
1) e2e/chat-with/text.spec.ts:52:3 › AIChatWith/Text › should support insert below ───────────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('sidebar-new-page-button')
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByTestId('sidebar-new-page-button')
at ../../kit/src/utils/page-logic.ts:41
39 | export async function clickNewPageButton(page: Page, title?: string) ***
40 | const newPageButton = page.getByTestId('sidebar-new-page-button');
> 41 | await expect(newPageButton).toBeVisible(***
| ^
42 | timeout: 30000,
43 | ***);
44 | await newPageButton.click(***
at clickNewPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/page-logic.ts:41:31)
at TestUtils.createNewPage (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:57:11)
at TestUtils.setupTestEnvironment (/home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/utils/test-utils.ts:64:16)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/chat-with/text.spec.ts:8:5
|
|
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/download-artifact@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
22 failed
e2e/chat-with/text.spec.ts:52:3 › AIChatWith/Text › should support insert below ────────────────
e2e/chat-with/text.spec.ts:62:3 › AIChatWith/Text › should support insert above ────────────────
e2e/chat-with/text.spec.ts:77:3 › AIChatWith/Text › should support replace selection ───────────
e2e/chat-with/text.spec.ts:99:3 › AIChatWith/Text › should support continue in chat ────────────
e2e/chat-with/text.spec.ts:113:3 › AIChatWith/Text › should support regenerate ─────────────────
e2e/chat-with/text.spec.ts:122:3 › AIChatWith/Text › should show error when request failed ─────
e2e/chat-with/text.spec.ts:132:3 › AIChatWith/Text › should support retry when error ───────────
e2e/chat-with/text.spec.ts:147:3 › AIChatWith/Text › should support discard ────────────────────
e2e/chat-with/text.spec.ts:157:3 › AIChatWith/Text › should support discard when click outside ─
e2e/chat-with/text.spec.ts:171:3 › AIChatWith/Text › should focus on textarea ──────────────────
e2e/insertion/add-to-edgeless-as-note.spec.ts:11:3 › AIInsertion/AddToEdgelessAsNote › should only show option in edgeless mode
e2e/insertion/add-to-edgeless-as-note.spec.ts:39:3 › AIInsertion/AddToEdgelessAsNote › should add to edgeless as note in edgeless mode
e2e/insertion/insert.spec.ts:12:3 › AIInsertion/Insert › should insert content below selected block in page mode
e2e/insertion/insert.spec.ts:52:3 › AIInsertion/Insert › should insert content below selected block in edgeless mode
e2e/insertion/insert.spec.ts:91:3 › AIInsertion/Insert › should insert content at the end of the page when no block is selected
e2e/insertion/insert.spec.ts:131:3 › AIInsertion/Insert › should insert content at the end of the note when no block is selected in edgeless mode
e2e/insertion/insert.spec.ts:165:3 › AIInsertion/Insert › should create a new note when no block or note is selected in edgeless mode
e2e/insertion/save-as-block.spec.ts:11:3 › AIInsertion/SaveAsBlock › should save content as a chat block in page mode
e2e/insertion/save-as-block.spec.ts:40:3 › AIInsertion/SaveAsBlock › should save content as a chat block in edgeless mode
e2e/insertion/save-as-doc.spec.ts:11:3 › AIInsertion/SaveAsDoc › should save content as a doc in page mode
e2e/insertion/save-as-doc.spec.ts:41:3 › AIInsertion/SaveAsDoc › should save content as a doc in edgeless mode
e2e/settings/embedding.spec.ts:21:3 › AISettings/Embedding › should show workspace embedding enabled status
1 skipped
14 did not run
|
The logs for this run have expired and are no longer available.
Loading