refactor: support multiple-editors #15030
Annotations
6 errors and 1 notice
Run playwright test:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ───────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/misc.ts#L289
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ───────────────────────────────────────────────
Error: page.waitForTimeout: Test timeout of 30000ms exceeded.
at utils/actions/misc.ts:289
287 | frameTimeout = NEXT_FRAME_TIMEOUT
288 | ) {
> 289 | await page.waitForTimeout(frameTimeout);
| ^
290 | }
291 |
292 | export async function waitForPageReady(page: Page) {
at waitNextFrame (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:289:14)
at getZoomLevel (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:641:9)
at assertZoomLevel (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:893:13)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:82:3
|
Run playwright test:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:97:1 › zoom by mouse ───────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/asserts.ts#L787
2) edgeless/basic.spec.ts:97:1 › zoom by mouse ───────────────────────────────────────────────────
Error: locator.boundingBox: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-editor-container').first().locator('edgeless-selected-rect').locator('.affine-edgeless-selected-rect')
at utils/asserts.ts:787
785 | .locator('edgeless-selected-rect')
786 | .locator('.affine-edgeless-selected-rect');
> 787 | const box = await selectedRect.boundingBox();
| ^
788 | if (!box) throw new Error('Missing edgeless selected rect');
789 |
790 | expect(box.x).toBeCloseTo(x, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:787:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:115:9
|
Run playwright test:
tests/edgeless/basic.spec.ts#L1
3) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/drag.ts#L21
3) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:127:3
|
Run playwright test
3 flaky
edgeless/basic.spec.ts:67:1 › can zoom viewport ────────────────────────────────────────────────
edgeless/basic.spec.ts:97:1 › zoom by mouse ────────────────────────────────────────────────────
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ───────────────────
3 skipped
58 passed (4.5m)
|
The logs for this run have expired and are no longer available.
Loading