feat(server): online copilot api test #22382
Annotations
2 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/attachment.spec.ts#L71
1) attachment.spec.ts:432:1 › attachment can be dragged from note to surface top level block ─────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
69 | await expect(slashMenu).toBeVisible();
70 |
> 71 | const fileChooser = page.waitForEvent('filechooser');
| ^
72 | await pressEnter(page);
73 | await sleep(100);
74 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:71:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:440:3
|
Run playwright tests:
blocksuite/tests-legacy/code/copy-paste.spec.ts#L79
2) code/copy-paste.spec.ts:66:1 › drag copy paste ────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "useuse"
Received: "123use"
77 |
78 | const content = await getInlineSelectionText(page);
> 79 | expect(content).toBe('useuse');
| ^
80 |
81 | await assertRichTextInlineRange(page, 0, 3, 0);
82 | });
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/code/copy-paste.spec.ts:79:19
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
2 flaky
attachment.spec.ts:432:1 › attachment can be dragged from note to surface top level block ──────
code/copy-paste.spec.ts:66:1 › drag copy paste ─────────────────────────────────────────────────
2 skipped
95 passed (1.5m)
|
Loading