Copilot Cron Test #78
Annotations
10 errors and 1 notice
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L190
1) copilot.spec.ts:179:7 › chat panel › basic chat ───────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
188 | expect(history[1].name).toBe('AFFiNE AI');
189 | await clearChat(page);
> 190 | expect((await collectChat(page)).length).toBe(0);
| ^
191 | });
192 |
193 | test('chat actions', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:190:46
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L190
1) copilot.spec.ts:179:7 › chat panel › basic chat ───────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
188 | expect(history[1].name).toBe('AFFiNE AI');
189 | await clearChat(page);
> 190 | expect((await collectChat(page)).length).toBe(0);
| ^
191 | });
192 |
193 | test('chat actions', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:190:46
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L190
1) copilot.spec.ts:179:7 › chat panel › basic chat ───────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
188 | expect(history[1].name).toBe('AFFiNE AI');
189 | await clearChat(page);
> 190 | expect((await collectChat(page)).length).toBe(0);
| ^
191 | });
192 |
193 | test('chat actions', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:190:46
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L190
1) copilot.spec.ts:179:7 › chat panel › basic chat ───────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
188 | expect(history[1].name).toBe('AFFiNE AI');
189 | await clearChat(page);
> 190 | expect((await collectChat(page)).length).toBe(0);
| ^
191 | });
192 |
193 | test('chat actions', async ({ page }) => {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:190:46
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L201
2) copilot.spec.ts:193:7 › chat panel › chat actions ─────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('action-copy-button')
199 | await makeChat(page, 'hello');
200 | const content = (await collectChat(page))[1].content;
> 201 | await page.getByTestId('action-copy-button').click();
| ^
202 | await page.waitForTimeout(500);
203 | expect(await page.evaluate(() => navigator.clipboard.readText())).toBe(
204 | content
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:201:50
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L201
2) copilot.spec.ts:193:7 › chat panel › chat actions ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('action-copy-button')
199 | await makeChat(page, 'hello');
200 | const content = (await collectChat(page))[1].content;
> 201 | await page.getByTestId('action-copy-button').click();
| ^
202 | await page.waitForTimeout(500);
203 | expect(await page.evaluate(() => navigator.clipboard.readText())).toBe(
204 | content
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:201:50
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L201
2) copilot.spec.ts:193:7 › chat panel › chat actions ─────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('action-copy-button')
199 | await makeChat(page, 'hello');
200 | const content = (await collectChat(page))[1].content;
> 201 | await page.getByTestId('action-copy-button').click();
| ^
202 | await page.waitForTimeout(500);
203 | expect(await page.evaluate(() => navigator.clipboard.readText())).toBe(
204 | content
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:201:50
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L201
2) copilot.spec.ts:193:7 › chat panel › chat actions ─────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('action-copy-button')
199 | await makeChat(page, 'hello');
200 | const content = (await collectChat(page))[1].content;
> 201 | await page.getByTestId('action-copy-button').click();
| ^
202 | await page.waitForTimeout(500);
203 | expect(await page.evaluate(() => navigator.clipboard.readText())).toBe(
204 | content
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:201:50
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L220
3) copilot.spec.ts:210:7 › chat panel › can be insert below ──────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('action-insert-below')
218 | await focusToEditor(page);
219 | // insert below
> 220 | await page.getByTestId('action-insert-below').click();
| ^
221 | await page.waitForSelector('affine-format-bar-widget editor-toolbar');
222 | const editorContent = await getEditorContent(page);
223 | expect(editorContent).toBe(content);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:220:51
|
tests/affine-cloud-copilot/e2e/copilot.spec.ts#L220
3) copilot.spec.ts:210:7 › chat panel › can be insert below ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByTestId('action-insert-below')
218 | await focusToEditor(page);
219 | // insert below
> 220 | await page.getByTestId('action-insert-below').click();
| ^
221 | await page.waitForSelector('affine-format-bar-widget editor-toolbar');
222 | const editorContent = await getEditorContent(page);
223 | expect(editorContent).toBe(content);
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-cloud-copilot/e2e/copilot.spec.ts:220:51
|
10 failed
copilot.spec.ts:179:7 › chat panel › basic chat ────────────────────────────────────────────────
copilot.spec.ts:193:7 › chat panel › chat actions ──────────────────────────────────────────────
copilot.spec.ts:210:7 › chat panel › can be insert below ───────────────────────────────────────
copilot.spec.ts:226:7 › chat panel › can be add to edgeless as node ────────────────────────────
copilot.spec.ts:244:7 › chat panel › can be create as a doc ────────────────────────────────────
copilot.spec.ts:280:7 › chat panel › can be chat and insert below in page mode ─────────────────
copilot.spec.ts:303:7 › chat panel › can be retry or discard chat in page mode ─────────────────
copilot.spec.ts:458:11 › chat with block › chat with text › Fix spelling ───────────────────────
copilot.spec.ts:458:11 › chat with block › chat with text › Fix Grammar ────────────────────────
copilot.spec.ts:458:11 › chat with block › chat with text › Explain selection ──────────────────
1 skipped
3 passed (12.5m)
|
This job failed
Loading