Skip to content

Copilot Cron Test

Copilot Cron Test #15

Manually triggered November 2, 2024 08:04
Status Failure
Total duration 13m 5s
Artifacts 1

copilot-test.yml

on: workflow_dispatch
Build Server native
1m 23s
Build Server native
Matrix: Server Copilot E2E Test
Server Copilot Api Test
10m 49s
Server Copilot Api Test
Post test result message
29s
Post test result message
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 notices
copilot.spec.ts:486:11 › chat with block › chat with image block › page mode › generate a caption: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L1
1) copilot.spec.ts:486:11 › chat with block › chat with image block › page mode › generate a caption Test timeout of 120000ms exceeded.
copilot.spec.ts:237:7 › chat panel › can be create as a doc: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L251
1) copilot.spec.ts:237:7 › chat panel › can be create as a doc ─────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Hello! How can I assist you today with your AFFiNE tasks? Whether it's writing a document, creating a diagram, or planning something out, I'm here to help!" Received: "" 249 | await page.waitForSelector('page-editor'); 250 | const editorContent = await getEditorContent(page); > 251 | expect(editorContent).toBe(content); | ^ 252 | }); 253 | 254 | // feature not launched yet at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:251:27
copilot.spec.ts:237:7 › chat panel › can be create as a doc: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L248
1) copilot.spec.ts:237:7 › chat panel › can be create as a doc ─────────────────────────────────── Error: elementHandle.waitForElementState: Test ended. Call log: - attempting wait for hidden action - element is not hidden - retrying wait for hidden action, attempt #1 - element is not hidden - retrying wait for hidden action, attempt #2 - waiting 20ms - element is not hidden - retrying wait for hidden action, attempt #3 - waiting 100ms 246 | await page.getByTestId('action-create-as-a-doc').click(); 247 | // wait for new editor > 248 | editor.waitForElementState('hidden'); | ^ 249 | await page.waitForSelector('page-editor'); 250 | const editorContent = await getEditorContent(page); 251 | expect(editorContent).toBe(content); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:248:12
copilot.spec.ts:237:7 › chat panel › can be create as a doc: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L251
1) copilot.spec.ts:237:7 › chat panel › can be create as a doc ─────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Hello! How can I assist you today with AFFiNE? Whether it's writing docs, drawing diagrams, or planning something, I'm here to help!" Received: "" 249 | await page.waitForSelector('page-editor'); 250 | const editorContent = await getEditorContent(page); > 251 | expect(editorContent).toBe(content); | ^ 252 | }); 253 | 254 | // feature not launched yet at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:251:27
copilot.spec.ts:432:11 › chat with block › chat with text › Explain selection: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L1
1) copilot.spec.ts:432:11 › chat with block › chat with text › Explain selection ───────────────── Test timeout of 120000ms exceeded.
copilot.spec.ts:432:11 › chat with block › chat with text › Write an article about this: tests/kit/utils/sidebar.ts#L8
2) copilot.spec.ts:432:11 › chat with block › chat with text › Write an article about this ─────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByTestId('all-pages') - locator resolved to <span data-testid="all-pages">All docs</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 at ../../kit/utils/sidebar.ts:8 6 | 7 | export async function clickSideBarAllPageButton(page: Page) { > 8 | return page.getByTestId('all-pages').click(); | ^ 9 | } 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:394:38
copilot.spec.ts:432:11 › chat with block › chat with text › Write an article about this: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L402
2) copilot.spec.ts:432:11 › chat with block › chat with text › Write an article about this ─────── TimeoutError: elementHandle.click: Timeout 10000ms exceeded. Call log: - 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 - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree 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 - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling
copilot.spec.ts:432:11 › chat with block › chat with text › Write a tweet about this: tests/kit/utils/sidebar.ts#L8
3) copilot.spec.ts:432:11 › chat with block › chat with text › Write a tweet about this ────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByTestId('all-pages') - locator resolved to <span data-testid="all-pages">All docs</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 at ../../kit/utils/sidebar.ts:8 6 | 7 | export async function clickSideBarAllPageButton(page: Page) { > 8 | return page.getByTestId('all-pages').click(); | ^ 9 | } 10 | 11 | export async function clickSideBarCurrentWorkspaceBanner(page: Page) { at clickSideBarAllPageButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/utils/sidebar.ts:8:40) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:394:38
copilot.spec.ts:432:11 › chat with block › chat with text › Write a tweet about this: tests/affine-cloud-copilot/e2e/copilot.spec.ts#L402
3) copilot.spec.ts:432:11 › chat with block › chat with text › Write a tweet about this ────────── TimeoutError: elementHandle.click: Timeout 10000ms exceeded. Call log: - 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 - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree 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 - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="affine-note-mask"></div> from <edgeless-note-mask>…</edgeless-note-mask> subtree intercepts pointer events - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling
Server Copilot Api Test
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky copilot.spec.ts:486:11 › chat with block › chat with image block › page mode › generate a caption 7 skipped 4 passed (3.1m)
🎭 Playwright Run Summary
1 flaky copilot.spec.ts:237:7 › chat panel › can be create as a doc ──────────────────────────────────── 1 skipped 11 passed (5.3m)
🎭 Playwright Run Summary
3 flaky copilot.spec.ts:432:11 › chat with block › chat with text › Explain selection ────────────────── copilot.spec.ts:432:11 › chat with block › chat with text › Write an article about this ──────── copilot.spec.ts:432:11 › chat with block › chat with text › Write a tweet about this ─────────── 10 passed (6.8m)

Artifacts

Produced during runtime
Name Size
server-native.node Expired
4.31 MB