refactor: support multiple-editors #15037
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/edgeless/shortcut.spec.ts#L111
1) edgeless/shortcut.spec.ts:102:3 › zooming › zoom out ──────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 75
Received: 100
109 |
110 | let zoom = await getZoomLevel(page);
> 111 | expect(zoom).toBe(75);
| ^
112 |
113 | await zoomOutByKeyboard(page);
114 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:111:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L111
1) edgeless/shortcut.spec.ts:102:3 › zooming › zoom out ──────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 75
Received: 100
109 |
110 | let zoom = await getZoomLevel(page);
> 111 | expect(zoom).toBe(75);
| ^
112 |
113 | await zoomOutByKeyboard(page);
114 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:111:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L111
1) edgeless/shortcut.spec.ts:102:3 › zooming › zoom out ──────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 75
Received: 100
109 |
110 | let zoom = await getZoomLevel(page);
> 111 | expect(zoom).toBe(75);
| ^
112 |
113 | await zoomOutByKeyboard(page);
114 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:111:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L111
1) edgeless/shortcut.spec.ts:102:3 › zooming › zoom out ──────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 75
Received: 100
109 |
110 | let zoom = await getZoomLevel(page);
> 111 | expect(zoom).toBe(75);
| ^
112 |
113 | await zoomOutByKeyboard(page);
114 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:111:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L145
2) edgeless/shortcut.spec.ts:136:3 › zooming › zoom in ───────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 125
Received: 100
143 |
144 | let zoom = await getZoomLevel(page);
> 145 | expect(zoom).toBe(125);
| ^
146 |
147 | await zoomInByKeyboard(page);
148 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:145:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L145
2) edgeless/shortcut.spec.ts:136:3 › zooming › zoom in ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 125
Received: 100
143 |
144 | let zoom = await getZoomLevel(page);
> 145 | expect(zoom).toBe(125);
| ^
146 |
147 | await zoomInByKeyboard(page);
148 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:145:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L145
2) edgeless/shortcut.spec.ts:136:3 › zooming › zoom in ───────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 125
Received: 100
143 |
144 | let zoom = await getZoomLevel(page);
> 145 | expect(zoom).toBe(125);
| ^
146 |
147 | await zoomInByKeyboard(page);
148 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:145:18
|
Run playwright test:
tests/edgeless/shortcut.spec.ts#L145
2) edgeless/shortcut.spec.ts:136:3 › zooming › zoom in ───────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 125
Received: 100
143 |
144 | let zoom = await getZoomLevel(page);
> 145 | expect(zoom).toBe(125);
| ^
146 |
147 | await zoomInByKeyboard(page);
148 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:145:18
|
Run playwright test:
tests/utils/asserts.ts#L805
3) edgeless/shortcut.spec.ts:154:1 › cmd + A should select all elements by default ───────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 200
Received: 800
Expected precision: 0
Expected difference: < 0.5
Received difference: 600
at utils/asserts.ts:805
803 | expect(box[0]).toBeCloseTo(x, 0);
804 | expect(box[1]).toBeCloseTo(y, 0);
> 805 | expect(box[2]).toBeCloseTo(w, 0);
| ^
806 | expect(box[3]).toBeCloseTo(h, 0);
807 | }
808 |
at assertEdgelessSelectedRectModel (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:805:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:159:3
|
Run playwright test:
tests/utils/asserts.ts#L805
3) edgeless/shortcut.spec.ts:154:1 › cmd + A should select all elements by default ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 200
Received: 800
Expected precision: 0
Expected difference: < 0.5
Received difference: 600
at utils/asserts.ts:805
803 | expect(box[0]).toBeCloseTo(x, 0);
804 | expect(box[1]).toBeCloseTo(y, 0);
> 805 | expect(box[2]).toBeCloseTo(w, 0);
| ^
806 | expect(box[3]).toBeCloseTo(h, 0);
807 | }
808 |
at assertEdgelessSelectedRectModel (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:805:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:159: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
3 failed
edgeless/shortcut.spec.ts:102:3 › zooming › zoom out ───────────────────────────────────────────
edgeless/shortcut.spec.ts:136:3 › zooming › zoom in ────────────────────────────────────────────
edgeless/shortcut.spec.ts:154:1 › cmd + A should select all elements by default ────────────────
4 flaky
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ───────────────────────────────
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ────────────────────────────────
edgeless/shape.spec.ts:131:1 › change shape stroke color ───────────────────────────────────────
format-bar.spec.ts:309:1 › should format quick bar be able to change background color ──────────
1 skipped
56 passed (4.3m)
|
The logs for this run have expired and are no longer available.
Loading