refactor: support multiple-editors #15050
Annotations
3 errors and 1 notice
Run playwright test:
tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L139
1) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: keyboard.press: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:139
137 |
138 | export async function copyByKeyboard(page: Page) {
> 139 | await page.keyboard.press(`${SHORT_KEY}+c`, { delay: 50 });
| ^
140 | }
141 |
142 | export async function cutByKeyboard(page: Page) {
at copyByKeyboard (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:139:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1024:9
|
Run playwright test:
tests/code.spec.ts#L603
2) code.spec.ts:596:1 › press backspace inside should select code block ──────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-block-selection')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-block-selection')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
601 | const selectedRects = page.locator('affine-block-selection');
602 | await page.keyboard.press('Backspace');
> 603 | await expect(selectedRects).toHaveCount(1);
| ^
604 | await expect(codeBlock).toBeVisible();
605 | await page.keyboard.press('Backspace');
606 | await expect(selectedRects).toHaveCount(0);
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:603:31
|
Run playwright test
2 flaky
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ──────────────────
code.spec.ts:596:1 › press backspace inside should select code block ───────────────────────────
7 skipped
55 passed (3.0m)
|
The logs for this run have expired and are no longer available.
Loading