feat(edgeless): copilot selection widget #17038
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/edgeless/note.spec.ts#L1
1) edgeless/note.spec.ts:234:1 › edgeless arrow up/down ──────────────────────────────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
Run playwright test:
eval at evaluate (:226:30)#L90
2) edgeless/note.spec.ts:441:3 › note slicer › could enable and disenable note slicer ────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:442:5
|
Run playwright test:
eval at evaluate (:226:30)#L90
3) edgeless/note.spec.ts:458:3 › note slicer › note slicer will add new note ─────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:459:5
|
Run playwright test:
eval at evaluate (:226:30)#L90
4) edgeless/note.spec.ts:530:3 › note slicer › note slicer button should appears at right position when editor is not located at left top corner
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:533:5
|
Run playwright test:
eval at evaluate (:226:30)#L90
5) edgeless/note.spec.ts:672:1 › when editing text in edgeless, should hide component toolbar ────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:675:3
|
Run playwright test:
eval at evaluate (:226:30)#L90
6) edgeless/note.spec.ts:720:1 › double click toolbar zoom button, should not add text ───────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:723:3
|
Run playwright test:
eval at evaluate (:226:30)#L90
7) edgeless/note.spec.ts:755:1 › cursor for active and inactive state ────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:756:3
|
Run playwright test:
eval at evaluate (:226:30)#L90
8) edgeless/pan.spec.ts:24:1 › pan tool basic ────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/pan.spec.ts:25:3
|
Run playwright test:
eval at evaluate (:226:30)#L90
9) edgeless/pan.spec.ts:82:1 › pan tool shortcut should revert to the previous tool on keyup ─────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/pan.spec.ts:85:3
|
Run playwright test:
eval at evaluate (:226:30)#L90
10) edgeless/reordering.spec.ts:128:5 › reordering › reordering shapes › bring forward ───────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'createDoc')
at eval (eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:90:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at initEmptyEditor (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:73:14)
at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:301:9)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/reordering.spec.ts:92:7)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/reordering.spec.ts:129:7
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run playwright test
18 flaky
edgeless/note.spec.ts:234:1 › edgeless arrow up/down ───────────────────────────────────────────
edgeless/note.spec.ts:441:3 › note slicer › could enable and disenable note slicer ─────────────
edgeless/note.spec.ts:458:3 › note slicer › note slicer will add new note ──────────────────────
edgeless/note.spec.ts:530:3 › note slicer › note slicer button should appears at right position when editor is not located at left top corner
edgeless/note.spec.ts:672:1 › when editing text in edgeless, should hide component toolbar ─────
edgeless/note.spec.ts:720:1 › double click toolbar zoom button, should not add text ────────────
edgeless/note.spec.ts:755:1 › cursor for active and inactive state ─────────────────────────────
edgeless/pan.spec.ts:24:1 › pan tool basic ─────────────────────────────────────────────────────
edgeless/pan.spec.ts:82:1 › pan tool shortcut should revert to the previous tool on keyup ──────
edgeless/reordering.spec.ts:128:5 › reordering › reordering shapes › bring forward ─────────────
edgeless/reordering.spec.ts:192:5 › reordering › reordering shapes › undo and redo ─────────────
edgeless/reordering.spec.ts:272:5 › reordering › reordering notes › bring forward ──────────────
edgeless/reordering.spec.ts:293:5 › reordering › reordering notes › send backward ──────────────
edgeless/rotation.spec.ts:72:3 › rotation › single shape ───────────────────────────────────────
edgeless/selection.spec.ts:156:1 › when the selection is always a note, it should remain in an active state
edgeless/selection.spec.ts:329:1 › should also update dragging area when viewport changes ──────
edgeless/selection.spec.ts:376:1 › should move selection drag area when holding spaceBar ───────
edgeless/selection.spec.ts:564:1 › copilot selection rect should appears when drag with meta key pressed
50 passed (5.6m)
|
Loading