refactor: support multiple-editors #15037
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/asserts.ts#L650
1) edgeless/clipboard.spec.ts:38:3 › connector clipboard › copy and paste connector whose both sides connect elements
Error: expected: 100, but actual: -150
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 250
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:51:5
|
Run playwright test:
tests/utils/asserts.ts#L650
1) edgeless/clipboard.spec.ts:38:3 › connector clipboard › copy and paste connector whose both sides connect elements
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 100, but actual: -150
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 250
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:51:5
|
Run playwright test:
tests/utils/asserts.ts#L650
1) edgeless/clipboard.spec.ts:38:3 › connector clipboard › copy and paste connector whose both sides connect elements
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 100, but actual: -150
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 250
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:51:5
|
Run playwright test:
tests/utils/asserts.ts#L650
1) edgeless/clipboard.spec.ts:38:3 › connector clipboard › copy and paste connector whose both sides connect elements
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 100, but actual: -150
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 250
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:51:5
|
Run playwright test:
tests/utils/asserts.ts#L650
2) edgeless/clipboard.spec.ts:83:3 › connector clipboard › copy and paste connector whose one side connects elements
Error: expected: 100, but actual: -300
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 400
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:95:5
|
Run playwright test:
tests/utils/asserts.ts#L650
2) edgeless/clipboard.spec.ts:83:3 › connector clipboard › copy and paste connector whose one side connects elements
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 100, but actual: -300
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 400
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:95:5
|
Run playwright test:
tests/utils/asserts.ts#L650
2) edgeless/clipboard.spec.ts:83:3 › connector clipboard › copy and paste connector whose one side connects elements
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 100, but actual: -300
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 400
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:95:5
|
Run playwright test:
tests/utils/asserts.ts#L650
2) edgeless/clipboard.spec.ts:83:3 › connector clipboard › copy and paste connector whose one side connects elements
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 100, but actual: -300
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 400
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:95:5
|
Run playwright test:
tests/utils/asserts.ts#L650
3) edgeless/connector.spec.ts:312:1 › connector connects rotated Square shape ────────────────────
Error: expected: 75, but actual: 121.89110481525097
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 46.89110481525097
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector.spec.ts:318:3
|
Run playwright test:
tests/utils/asserts.ts#L650
3) edgeless/connector.spec.ts:312:1 › connector connects rotated Square shape ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 75, but actual: 121.89110481525097
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 46.89110481525097
at utils/asserts.ts:650
648 | Math.abs(actual - expected),
649 | `expected: ${expected}, but actual: ${actual}`
> 650 | ).toBeLessThan(precision);
| ^
651 | }
652 |
653 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:650:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:658:3)
at every (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:30)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:903:14)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector.spec.ts:318:3
|
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
21 failed
edgeless/clipboard.spec.ts:38:3 › connector clipboard › copy and paste connector whose both sides connect elements
edgeless/clipboard.spec.ts:83:3 › connector clipboard › copy and paste connector whose one side connects elements
edgeless/connector.spec.ts:312:1 › connector connects rotated Square shape ─────────────────────
edgeless/frame.spec.ts:37:5 › frame › add frame › multi select add frame by component toolbar ──
edgeless/frame.spec.ts:42:5 › frame › add frame › add frame by shortcut F ──────────────────────
edgeless/frame.spec.ts:48:5 › frame › add frame › add frame by more option create frame ────────
edgeless/frame.spec.ts:54:5 › frame › add frame › add frame by edgeless toolbar ────────────────
edgeless/frame.spec.ts:75:3 › frame › edit frame title ─────────────────────────────────────────
edgeless/frame.spec.ts:87:3 › frame › blur unmount frame editor ────────────────────────────────
edgeless/frame.spec.ts:98:3 › frame › enter unmount frame editor ───────────────────────────────
edgeless/group.spec.ts:64:5 › group › group create › create group by component toolbar ─────────
edgeless/group.spec.ts:70:5 › group › group create › create group by shortcut mod + G ──────────
edgeless/group.spec.ts:76:5 › group › group create › create group and undo, redo ───────────────
edgeless/group.spec.ts:93:5 › group › ungroup › ungroup by component toolbar ───────────────────
edgeless/group.spec.ts:101:5 › group › ungroup › ungroup by shortcut mod + shift + G ───────────
edgeless/group.spec.ts:109:5 › group › ungroup › ungroup and undo, redo ────────────────────────
edgeless/group.spec.ts:128:5 › group › drag group › drag group to move ─────────────────────────
edgeless/group.spec.ts:143:5 › group › select › select group by click ──────────────────────────
edgeless/group.spec.ts:172:5 › group › group and ungroup in group › group in group ─────────────
edgeless/group.spec.ts:205:5 › group › group and ungroup in group › ungroup in group ───────────
edgeless/group.spec.ts:240:5 › group › release from group › release element from group ─────────
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
37 passed (10.3m)
|
The logs for this run have expired and are no longer available.
Loading