refactor: support multiple-editors #15037
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/edgeless/group.spec.ts#L233
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
231 |
232 | test.describe('release from group', () => {
> 233 | test.beforeEach(async ({ page }) => {
| ^
234 | await init(page);
235 | await createShapeElement(page, [200, 0], [300, 100], Shape.Square);
236 | await selectAllByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:233:10
|
Run playwright test:
tests/utils/actions/drag.ts#L21
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
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 init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:234:7
|
Run playwright test:
tests/utils/asserts.ts#L937
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"q5DwevZAAs",
+ "2",
"zUJd1Rnu80",
]
at utils/asserts.ts:937
935 | ) {
936 | const ids = await getGroupChildrenIds(page, index);
> 937 | expect(ids).toEqual(expected);
| ^
938 | }
939 |
940 | export async function assertCanvasElementsCount(page: Page, expected: number) {
at assertGroupChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:937:15)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:284:7
|
Run playwright test:
tests/utils/asserts.ts#L937
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"ssPOkrclWe",
+ "2",
"_XnJGMjnUy",
]
at utils/asserts.ts:937
935 | ) {
936 | const ids = await getGroupChildrenIds(page, index);
> 937 | expect(ids).toEqual(expected);
| ^
938 | }
939 |
940 | export async function assertCanvasElementsCount(page: Page, expected: number) {
at assertGroupChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:937:15)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:284:7
|
Run playwright test:
tests/utils/asserts.ts#L937
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ──────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"ohrnkj2Gql",
+ "2",
"AudO27Ldg2",
]
at utils/asserts.ts:937
935 | ) {
936 | const ids = await getGroupChildrenIds(page, index);
> 937 | expect(ids).toEqual(expected);
| ^
938 | }
939 |
940 | export async function assertCanvasElementsCount(page: Page, expected: number) {
at assertGroupChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:937:15)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:284:7
|
Run playwright test:
tests/edgeless/group.spec.ts#L323
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
321 |
322 | test.describe('delete', () => {
> 323 | test.beforeEach(async ({ page }) => {
| ^
324 | await init(page);
325 | });
326 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:323:10
|
Run playwright test:
tests/utils/actions/drag.ts#L21
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
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 init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:324:7
|
Run playwright test:
tests/utils/asserts.ts#L937
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"auG9mtnDo7",
"yDFgJAJ3u-",
+ "2",
]
at utils/asserts.ts:937
935 | ) {
936 | const ids = await getGroupChildrenIds(page, index);
> 937 | expect(ids).toEqual(expected);
| ^
938 | }
939 |
940 | export async function assertCanvasElementsCount(page: Page, expected: number) {
at assertGroupChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:937:15)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:338:7
|
Run playwright test:
tests/utils/asserts.ts#L937
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"bxcTKndoGj",
"Bfj_AH75mn",
+ "2",
]
at utils/asserts.ts:937
935 | ) {
936 | const ids = await getGroupChildrenIds(page, index);
> 937 | expect(ids).toEqual(expected);
| ^
938 | }
939 |
940 | export async function assertCanvasElementsCount(page: Page, expected: number) {
at assertGroupChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:937:15)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:338:7
|
Run playwright test:
tests/utils/asserts.ts#L937
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ─────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"o-2cglNRF2",
"mjMr0lFI69",
+ "2",
]
at utils/asserts.ts:937
935 | ) {
936 | const ids = await getGroupChildrenIds(page, index);
> 937 | expect(ids).toEqual(expected);
| ^
938 | }
939 |
940 | export async function assertCanvasElementsCount(page: Page, expected: number) {
at assertGroupChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:937:15)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:338:7
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run playwright test
5 failed
edgeless/group.spec.ts:270:5 › group › release from group › release group from group ───────────
edgeless/group.spec.ts:327:5 › group › delete › delete root group ──────────────────────────────
edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ────────────────────
edgeless/group.spec.ts:366:5 › group › delete › delete group in group ──────────────────────────
edgeless/group.spec.ts:452:5 › group › clipboard › copy and paste group ────────────────────────
1 flaky
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ───────────────────────
58 passed (5.5m)
|
The logs for this run have expired and are no longer available.
Loading