refactor: migrating legacy tools #6607
test.yml
on: pull_request
Install Dependencies
1m 2s
Build & Test
0s
Annotations
63 errors, 14 warnings, and 20 notices
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block:
tests/utils/asserts.ts#L289
1) bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ───────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 4
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
- locator resolved to 4 elements
- unexpected value "4"
at utils/asserts.ts:289
287 | count: number
288 | ) {
> 289 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
290 | }
291 | export async function assertRowCount(page: Page, count: number) {
292 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:289:51)
at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:220:9
|
hotkey/hotkey.spec.ts:258:1 › should cut work single line:
tests/hotkey/hotkey.spec.ts#L267
1) hotkey/hotkey.spec.ts:258:1 › should cut work single line ─────────────────────────────────────
Error: Snapshot comparison failed:
{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,800,95]",
"background": "--affine-note-background-white",
"index": "a0",
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "2",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "hello"
}
]
}
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/hotkey.spec.ts/should-cut-work-single-line-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-hotkey-should-cut-work-single-line/should-cut-work-single-line-init-actual.json
265 | // cut
266 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 267 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
268 | `${testInfo.title}_init.json`
269 | );
270 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/hotkey.spec.ts:267:45
|
fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved:
tests/fragments/frame-panel.spec.ts#L223
1) fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved
Error: expect(received).toBeLessThan(expected)
Expected: < 670.208984375
Received: 754.203125
221 | expect(newNoteRect!.y).toBeGreaterThan(initialNoteRect!.y);
222 | } else {
> 223 | expect(newNoteRect!.x).toBeLessThan(initialNoteRect!.x);
| ^
224 | expect(newNoteRect!.y).toBeLessThan(initialNoteRect!.y);
225 | }
226 | }
at moveNoteAndCheck (/home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:223:34)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:236:7
|
fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved:
tests/fragments/frame-panel.spec.ts#L223
1) fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeLessThan(expected)
Expected: < 670.208984375
Received: 754.203125
221 | expect(newNoteRect!.y).toBeGreaterThan(initialNoteRect!.y);
222 | } else {
> 223 | expect(newNoteRect!.x).toBeLessThan(initialNoteRect!.x);
| ^
224 | expect(newNoteRect!.y).toBeLessThan(initialNoteRect!.y);
225 | }
226 | }
at moveNoteAndCheck (/home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:223:34)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:236:7
|
fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved:
tests/fragments/frame-panel.spec.ts#L223
1) fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeLessThan(expected)
Expected: < 670.208984375
Received: 754.203125
221 | expect(newNoteRect!.y).toBeGreaterThan(initialNoteRect!.y);
222 | } else {
> 223 | expect(newNoteRect!.x).toBeLessThan(initialNoteRect!.x);
| ^
224 | expect(newNoteRect!.y).toBeLessThan(initialNoteRect!.y);
225 | }
226 | }
at moveNoteAndCheck (/home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:223:34)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:236:7
|
fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved:
tests/fragments/frame-panel.spec.ts#L223
1) fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeLessThan(expected)
Expected: < 670.208984375
Received: 754.203125
221 | expect(newNoteRect!.y).toBeGreaterThan(initialNoteRect!.y);
222 | } else {
> 223 | expect(newNoteRect!.x).toBeLessThan(initialNoteRect!.x);
| ^
224 | expect(newNoteRect!.y).toBeLessThan(initialNoteRect!.y);
225 | }
226 | }
at moveNoteAndCheck (/home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:223:34)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:236:7
|
E2E Test (13)
Process completed with exit code 1.
|
edgeless/note/note.spec.ts:59:1 › can drag selected non-active note:
tests/utils/asserts.ts#L352
1) edgeless/note/note.spec.ts:59:1 › can drag selected non-active note ───────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 0
Received: 80
Expected precision: 2
Expected difference: < 0.005
Received difference: 80
at utils/asserts.ts:352
350 | return JSON.parse(note.xywh) as number[];
351 | });
> 352 | expect(actual[0]).toBeCloseTo(expected[0]);
| ^
353 | expect(actual[1]).toBeCloseTo(expected[1]);
354 | expect(actual[2]).toBeCloseTo(expected[2]);
355 | expect(actual[3]).toBeCloseTo(expected[3]);
at assertNoteXYWH (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:352:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:77:3
|
edgeless/note/note.spec.ts:59:1 › can drag selected non-active note:
tests/utils/asserts.ts#L352
1) edgeless/note/note.spec.ts:59:1 › can drag selected non-active note ───────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 0
Received: 80
Expected precision: 2
Expected difference: < 0.005
Received difference: 80
at utils/asserts.ts:352
350 | return JSON.parse(note.xywh) as number[];
351 | });
> 352 | expect(actual[0]).toBeCloseTo(expected[0]);
| ^
353 | expect(actual[1]).toBeCloseTo(expected[1]);
354 | expect(actual[2]).toBeCloseTo(expected[2]);
355 | expect(actual[3]).toBeCloseTo(expected[3]);
at assertNoteXYWH (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:352:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:77:3
|
edgeless/note/note.spec.ts:59:1 › can drag selected non-active note:
tests/utils/asserts.ts#L352
1) edgeless/note/note.spec.ts:59:1 › can drag selected non-active note ───────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 0
Received: 80
Expected precision: 2
Expected difference: < 0.005
Received difference: 80
at utils/asserts.ts:352
350 | return JSON.parse(note.xywh) as number[];
351 | });
> 352 | expect(actual[0]).toBeCloseTo(expected[0]);
| ^
353 | expect(actual[1]).toBeCloseTo(expected[1]);
354 | expect(actual[2]).toBeCloseTo(expected[2]);
355 | expect(actual[3]).toBeCloseTo(expected[3]);
at assertNoteXYWH (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:352:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:77:3
|
edgeless/note/note.spec.ts:59:1 › can drag selected non-active note:
tests/utils/asserts.ts#L352
1) edgeless/note/note.spec.ts:59:1 › can drag selected non-active note ───────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 0
Received: 80
Expected precision: 2
Expected difference: < 0.005
Received difference: 80
at utils/asserts.ts:352
350 | return JSON.parse(note.xywh) as number[];
351 | });
> 352 | expect(actual[0]).toBeCloseTo(expected[0]);
| ^
353 | expect(actual[1]).toBeCloseTo(expected[1]);
354 | expect(actual[2]).toBeCloseTo(expected[2]);
355 | expect(actual[3]).toBeCloseTo(expected[3]);
at assertNoteXYWH (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:352:21)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:77:3
|
edgeless/note/note.spec.ts:169:1 › dragging un-selected note:
tests/utils/asserts.ts#L921
2) edgeless/note/note.spec.ts:169:1 › dragging un-selected note ──────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 80
Received: 160
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:197:3
|
edgeless/note/note.spec.ts:169:1 › dragging un-selected note:
tests/utils/asserts.ts#L921
2) edgeless/note/note.spec.ts:169:1 › dragging un-selected note ──────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 80
Received: 160
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:197:3
|
edgeless/note/note.spec.ts:169:1 › dragging un-selected note:
tests/utils/asserts.ts#L921
2) edgeless/note/note.spec.ts:169:1 › dragging un-selected note ──────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 80
Received: 160
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:197:3
|
edgeless/note/note.spec.ts:169:1 › dragging un-selected note:
tests/utils/asserts.ts#L921
2) edgeless/note/note.spec.ts:169:1 › dragging un-selected note ──────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 80
Received: 160
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:197:3
|
edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly:
tests/edgeless/note/note.spec.ts#L271
3) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 446.51165771484375
Received: 481.8604621887207
Expected precision: 2
Expected difference: < 0.005
Received difference: 35.34880447387695
269 | const firstNoteBox = await firstNote.boundingBox();
270 | const secondNoteBox = await secondNote.boundingBox();
> 271 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
272 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
273 | });
274 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:271:31
|
E2E Test (9)
Process completed with exit code 1.
|
edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element:
tests/utils/asserts.ts#L1187
1) edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element ──────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 100
Received: 180
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:221:3
|
edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element:
tests/utils/asserts.ts#L1187
1) edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 100
Received: 180
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:221:3
|
edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element:
tests/utils/asserts.ts#L1187
1) edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 100
Received: 180
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:221:3
|
edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element:
tests/utils/asserts.ts#L1187
1) edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element ──────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 100
Received: 180
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:221:3
|
E2E Test (6)
Process completed with exit code 1.
|
edgeless/snap.spec.ts:13:3 › snap › snap:
tests/utils/asserts.ts#L1187
1) edgeless/snap.spec.ts:13:3 › snap › snap ──────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 300
Received: 380
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:22:5
|
edgeless/snap.spec.ts:13:3 › snap › snap:
tests/utils/asserts.ts#L1187
1) edgeless/snap.spec.ts:13:3 › snap › snap ──────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 300
Received: 380
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:22:5
|
edgeless/snap.spec.ts:13:3 › snap › snap:
tests/utils/asserts.ts#L1187
1) edgeless/snap.spec.ts:13:3 › snap › snap ──────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 300
Received: 380
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:22:5
|
edgeless/snap.spec.ts:13:3 › snap › snap:
tests/utils/asserts.ts#L1187
1) edgeless/snap.spec.ts:13:3 › snap › snap ──────────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 300
Received: 380
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:22:5
|
edgeless/snap.spec.ts:29:3 › snap › snapDistribute:
tests/utils/asserts.ts#L1187
2) edgeless/snap.spec.ts:29:3 › snap › snapDistribute ────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 150
Received: 227
Expected precision: 0
Expected difference: < 0.5
Received difference: 77
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:42:5
|
edgeless/snap.spec.ts:29:3 › snap › snapDistribute:
tests/utils/asserts.ts#L1187
2) edgeless/snap.spec.ts:29:3 › snap › snapDistribute ────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 150
Received: 227
Expected precision: 0
Expected difference: < 0.5
Received difference: 77
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:42:5
|
edgeless/snap.spec.ts:29:3 › snap › snapDistribute:
tests/utils/asserts.ts#L1187
2) edgeless/snap.spec.ts:29:3 › snap › snapDistribute ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 150
Received: 227
Expected precision: 0
Expected difference: < 0.5
Received difference: 77
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:42:5
|
edgeless/snap.spec.ts:29:3 › snap › snapDistribute:
tests/utils/asserts.ts#L1187
2) edgeless/snap.spec.ts:29:3 › snap › snapDistribute ────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 150
Received: 227
Expected precision: 0
Expected difference: < 0.5
Received difference: 77
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/snap.spec.ts:42:5
|
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing:
tests/utils/actions/edgeless.ts#L357
3) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at utils/actions/edgeless.ts:357
355 | .locator('edgeless-slide-menu edgeless-tool-icon-button')
356 | .filter({ hasText: shape });
> 357 | await squareShapeButton.click();
| ^
358 | break;
359 | }
360 | }
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:31)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
|
format-bar.spec.ts:237:1 › should format quick bar be able to change background color:
tests/format-bar.spec.ts#L275
4) format-bar.spec.ts:237:1 › should format quick bar be able to change background color ─────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="affine-page-root-block-container">…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
273 |
274 | await expect(highlight.defaultColorBtn).toBeVisible();
> 275 | await highlight.defaultColorBtn.click();
| ^
276 |
277 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
278 | `${testInfo.title}_default_color.json`
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:275:35
|
edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x:
tests/utils/asserts.ts#L921
1) edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 100
Expected precision: 0
Expected difference: < 0.5
Received difference: 190
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:49:5
|
edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x:
tests/utils/asserts.ts#L921
1) edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 100
Expected precision: 0
Expected difference: < 0.5
Received difference: 190
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:49:5
|
edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x:
tests/utils/asserts.ts#L921
1) edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 100
Expected precision: 0
Expected difference: < 0.5
Received difference: 190
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:49:5
|
edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x:
tests/utils/asserts.ts#L921
1) edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 100
Expected precision: 0
Expected difference: < 0.5
Received difference: 190
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:49:5
|
edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y:
tests/utils/asserts.ts#L922
2) edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 692.5
Expected precision: 0
Expected difference: < 0.5
Received difference: 402.5
at utils/asserts.ts:922
920 |
921 | expect(box.x).toBeCloseTo(x, 0);
> 922 | expect(box.y).toBeCloseTo(y, 0);
| ^
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
925 | }
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:922:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:71:5
|
edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y:
tests/utils/asserts.ts#L922
2) edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 692.5
Expected precision: 0
Expected difference: < 0.5
Received difference: 402.5
at utils/asserts.ts:922
920 |
921 | expect(box.x).toBeCloseTo(x, 0);
> 922 | expect(box.y).toBeCloseTo(y, 0);
| ^
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
925 | }
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:922:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:71:5
|
edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y:
tests/utils/asserts.ts#L922
2) edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 692.5
Expected precision: 0
Expected difference: < 0.5
Received difference: 402.5
at utils/asserts.ts:922
920 |
921 | expect(box.x).toBeCloseTo(x, 0);
> 922 | expect(box.y).toBeCloseTo(y, 0);
| ^
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
925 | }
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:922:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:71:5
|
edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y:
tests/utils/asserts.ts#L922
2) edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 290
Received: 692.5
Expected precision: 0
Expected difference: < 0.5
Received difference: 402.5
at utils/asserts.ts:922
920 |
921 | expect(box.x).toBeCloseTo(x, 0);
> 922 | expect(box.y).toBeCloseTo(y, 0);
| ^
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
925 | }
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:922:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/keyboard.spec.ts:71:5
|
edgeless/selection/selection.spec.ts:119:1 › select multiple shapes and translate:
tests/utils/asserts.ts#L921
3) edgeless/selection/selection.spec.ts:119:1 › select multiple shapes and translate ─────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 128
Received: 208
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:138:3
|
edgeless/selection/selection.spec.ts:119:1 › select multiple shapes and translate:
tests/utils/asserts.ts#L921
3) edgeless/selection/selection.spec.ts:119:1 › select multiple shapes and translate ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 128
Received: 208
Expected precision: 0
Expected difference: < 0.5
Received difference: 80
at utils/asserts.ts:921
919 | if (!box) throw new Error('Missing edgeless selected rect');
920 |
> 921 | expect(box.x).toBeCloseTo(x, 0);
| ^
922 | expect(box.y).toBeCloseTo(y, 0);
923 | expect(box.width).toBeCloseTo(w, 0);
924 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:921:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:138:3
|
edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element:
tests/eval at evaluate (:234:30)#L5
1) edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element ───────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'absolutePath')
at eval (eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1558:15)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1102:28)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/elbow.spec.ts:120:9
|
edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element:
tests/eval at evaluate (:234:30)#L5
1) edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'absolutePath')
at eval (eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1558:15)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1102:28)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/elbow.spec.ts:120:9
|
edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element:
tests/eval at evaluate (:234:30)#L5
1) edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element ───────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'absolutePath')
at eval (eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1558:15)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1102:28)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/elbow.spec.ts:120:9
|
edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element:
tests/eval at evaluate (:234:30)#L5
1) edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element ───────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'absolutePath')
at eval (eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1558:15)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1102:28)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/elbow.spec.ts:120:9
|
edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path:
tests/utils/asserts.ts#L763
2) edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path
Error: expected: 210, but actual: 280
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 70
at utils/asserts.ts:763
761 | Math.abs(actual - expected),
762 | `expected: ${expected}, but actual: ${actual}`
> 763 | ).toBeLessThan(precision);
| ^
764 | }
765 |
766 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:763:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:168:5
|
edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path:
tests/utils/asserts.ts#L763
2) edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 210, but actual: 280
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 70
at utils/asserts.ts:763
761 | Math.abs(actual - expected),
762 | `expected: ${expected}, but actual: ${actual}`
> 763 | ).toBeLessThan(precision);
| ^
764 | }
765 |
766 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:763:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:168:5
|
edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path:
tests/utils/asserts.ts#L763
2) edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 210, but actual: 280
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 70
at utils/asserts.ts:763
761 | Math.abs(actual - expected),
762 | `expected: ${expected}, but actual: ${actual}`
> 763 | ).toBeLessThan(precision);
| ^
764 | }
765 |
766 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:763:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:168:5
|
edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path:
tests/utils/asserts.ts#L763
2) edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expected: 210, but actual: 280
expect(received).toBeLessThan(expected)
Expected: < 0.001
Received: 70
at utils/asserts.ts:763
761 | Math.abs(actual - expected),
762 | `expected: ${expected}, but actual: ${actual}`
> 763 | ).toBeLessThan(precision);
| ^
764 | }
765 |
766 | export function assertPointAlmostEqual(
at assertAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:763:5)
at assertPointAlmostEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:168:5
|
edgeless/connector/label.spec.ts:232:3 › connector label with straight shape › should automatically adjust position via offset distance:
tests/edgeless/connector/label.spec.ts#L30
3) edgeless/connector/label.spec.ts:232:3 › connector label with straight shape › should automatically adjust position via offset distance
TimeoutError: locator.boundingBox: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-connector-label-editor rich-text')
28 | const bounds = await page
29 | .locator('edgeless-connector-label-editor rich-text')
> 30 | .boundingBox();
| ^
31 | assertExists(bounds);
32 | const cx = bounds.x + bounds.width / 2;
33 | const cy = bounds.y + bounds.height / 2;
at getEditorCenter (/home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:30:8)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:288:22
|
edgeless/connector/label.spec.ts:232:3 › connector label with straight shape › should automatically adjust position via offset distance:
tests/edgeless/connector/label.spec.ts#L30
3) edgeless/connector/label.spec.ts:232:3 › connector label with straight shape › should automatically adjust position via offset distance
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.boundingBox: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-connector-label-editor rich-text')
28 | const bounds = await page
29 | .locator('edgeless-connector-label-editor rich-text')
> 30 | .boundingBox();
| ^
31 | assertExists(bounds);
32 | const cx = bounds.x + bounds.width / 2;
33 | const cy = bounds.y + bounds.height / 2;
at getEditorCenter (/home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:30:8)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:288:22
|
edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F:
tests/utils/asserts.ts#L1187
1) edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 366.9791413082016
Expected precision: 0
Expected difference: < 0.5
Received difference: 316.9791413082016
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:69:5
|
edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F:
tests/utils/asserts.ts#L1187
1) edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 366.9791413082016
Expected precision: 0
Expected difference: < 0.5
Received difference: 316.9791413082016
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:69:5
|
edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F:
tests/utils/asserts.ts#L1187
1) edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 366.9791413082016
Expected precision: 0
Expected difference: < 0.5
Received difference: 316.9791413082016
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:69:5
|
edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F:
tests/utils/asserts.ts#L1187
1) edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 366.9791413082016
Expected precision: 0
Expected difference: < 0.5
Received difference: 316.9791413082016
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:69:5
|
edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar:
tests/utils/asserts.ts#L1187
2) edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 0
Expected precision: 0
Expected difference: < 0.5
Received difference: 50
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:79:5
|
edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar:
tests/utils/asserts.ts#L1187
2) edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 0
Expected precision: 0
Expected difference: < 0.5
Received difference: 50
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:79:5
|
edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar:
tests/utils/asserts.ts#L1187
2) edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 0
Expected precision: 0
Expected difference: < 0.5
Received difference: 50
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:79:5
|
edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar:
tests/utils/asserts.ts#L1187
2) edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 0
Expected precision: 0
Expected difference: < 0.5
Received difference: 50
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:79:5
|
edgeless/frame/frame.spec.ts:82:3 › add a frame then drag to move › multi select and add frame by more option create frame:
tests/utils/asserts.ts#L1187
3) edgeless/frame/frame.spec.ts:82:3 › add a frame then drag to move › multi select and add frame by more option create frame
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 0
Expected precision: 0
Expected difference: < 0.5
Received difference: 50
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:91:5
|
edgeless/frame/frame.spec.ts:82:3 › add a frame then drag to move › multi select and add frame by more option create frame:
tests/utils/asserts.ts#L1187
3) edgeless/frame/frame.spec.ts:82:3 › add a frame then drag to move › multi select and add frame by more option create frame
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 0
Expected precision: 0
Expected difference: < 0.5
Received difference: 50
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at assertFrameHasTwoShapeChildren (/home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:56:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame.spec.ts:91:5
|
Build & Test
Process completed with exit code 1.
|
E2E Test (2)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (3)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (20)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (16)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (17)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (15)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (19)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (1)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (18)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (14)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (4)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (10)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (5)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Slow Test:
tests/edgeless/text.spec.ts#L1
tests/edgeless/text.spec.ts took 22.0s
|
🎭 Playwright Run Summary
1 skipped
45 passed (43.1s)
|
🎭 Playwright Run Summary
4 skipped
42 passed (44.6s)
|
🎭 Playwright Run Summary
3 skipped
42 passed (39.1s)
|
🎭 Playwright Run Summary
45 passed (48.6s)
|
🎭 Playwright Run Summary
45 passed (49.1s)
|
🎭 Playwright Run Summary
2 skipped
43 passed (52.5s)
|
🎭 Playwright Run Summary
45 passed (51.7s)
|
🎭 Playwright Run Summary
1 flaky
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ────────
45 passed (56.6s)
|
🎭 Playwright Run Summary
45 passed (51.7s)
|
🎭 Playwright Run Summary
1 flaky
hotkey/hotkey.spec.ts:258:1 › should cut work single line ──────────────────────────────────────
44 passed (54.5s)
|
🎭 Playwright Run Summary
46 passed (55.3s)
|
🎭 Playwright Run Summary
1 failed
fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved
44 passed (1.3m)
|
🎭 Playwright Run Summary
46 passed (1.3m)
|
🎭 Playwright Run Summary
46 passed (1.1m)
|
🎭 Playwright Run Summary
2 failed
edgeless/note/note.spec.ts:59:1 › can drag selected non-active note ────────────────────────────
edgeless/note/note.spec.ts:169:1 › dragging un-selected note ───────────────────────────────────
1 flaky
edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ────────────────────────
10 skipped
33 passed (1.3m)
|
🎭 Playwright Run Summary
1 failed
edgeless/basic.spec.ts:210:1 › option/alt mouse drag duplicate a new element ───────────────────
45 passed (1.6m)
|
🎭 Playwright Run Summary
2 failed
edgeless/snap.spec.ts:13:3 › snap › snap ───────────────────────────────────────────────────────
edgeless/snap.spec.ts:29:3 › snap › snapDistribute ─────────────────────────────────────────────
2 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
format-bar.spec.ts:237:1 › should format quick bar be able to change background color ──────────
2 skipped
39 passed (1.7m)
|
🎭 Playwright Run Summary
7 failed
edgeless/selection/keyboard.spec.ts:30:3 › translation should constrain to cur axis when dragged with shift key › constrain-x
edgeless/selection/keyboard.spec.ts:52:3 › translation should constrain to cur axis when dragged with shift key › constrain-y
edgeless/selection/selection.spec.ts:119:1 › select multiple shapes and translate ──────────────
edgeless/selection/selection.spec.ts:147:1 › selection box of shape element sync on fast dragging
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges
edgeless/shape.spec.ts:93:3 › add shape › with holding space bar ───────────────────────────────
edgeless/shape.spec.ts:116:3 › add shape › with holding space bar + shift ──────────────────────
1 skipped
38 passed (2.5m)
|
🎭 Playwright Run Summary
11 failed
edgeless/connector/elbow.spec.ts:69:1 › elbow connector both side attatched element ────────────
edgeless/connector/label.spec.ts:128:3 › connector label with straight shape › should move alone the path
edgeless/connector/label.spec.ts:232:3 › connector label with straight shape › should automatically adjust position via offset distance
edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements
edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements
edgeless/frame/clipboard.spec.ts:133:3 › frame copy and paste › copy of element by alt/option dragging in frame should belong to frame
edgeless/frame/clipboard.spec.ts:160:3 › frame copy and paste › copy of element by alt/option dragging out of frame should not belong to frame
edgeless/frame/frame-mindmap.spec.ts:34:1 › drag root node of mindmap into frame partially, move frame, then drag root node of mindmap out.
edgeless/frame/frame-mindmap.spec.ts:109:1 › drag root node of mindmap into frame fully, move frame, then drag root node of mindmap out.
edgeless/frame/frame-mindmap.spec.ts:184:1 › drag whole mindmap into frame, move frame, then drag root node of mindmap out.
edgeless/frame/frame-mindmap.spec.ts:325:1 › add mindmap out of frame and add new node in frame then drag frame
1 skipped
34 passed (3.8m)
|
🎭 Playwright Run Summary
16 failed
edgeless/frame/frame.spec.ts:62:3 › add a frame then drag to move › multi select and add frame by shortcut F
edgeless/frame/frame.spec.ts:72:3 › add a frame then drag to move › multi select and add frame by component toolbar
edgeless/frame/frame.spec.ts:82:3 › add a frame then drag to move › multi select and add frame by more option create frame
edgeless/frame/frame.spec.ts:94:3 › add a frame then drag to move › multi select add frame by edgeless toolbar
edgeless/frame/frame.spec.ts:113:3 › add a frame then drag to move › add frame by dragging with shortcut F
edgeless/frame/frame.spec.ts:129:5 › add element to frame and then move frame › add single element › element should be moved since it is created in frame
edgeless/frame/frame.spec.ts:147:5 › add element to frame and then move frame › add single element › element should be not moved since it is created not in frame
edgeless/frame/frame.spec.ts:171:5 › add element to frame and then move frame › add group › group should be moved since it is fully contained in frame
edgeless/frame/frame.spec.ts:191:5 › add element to frame and then move frame › add group › group should be moved since its center is in frame
edgeless/frame/frame.spec.ts:213:5 › add element to frame and then move frame › add group › group should not be moved since its center is not in frame
edgeless/frame/frame.spec.ts:236:5 › add element to frame and then move frame › add inner frame › the inner frame and its children should be moved since it is fully contained in frame
edgeless/frame/frame.spec.ts:255:5 › add element to frame and then move frame › add inner frame › the inner frame and its children should be moved since its center is in frame
edgeless/frame/frame.spec.ts:274:5 › add element to frame and then move frame › add inner frame › the inner frame and its children should also be moved even though its center is not in frame
edgeless/frame/frame.spec.ts:296:3 › resize frame then move › resize frame to warp shape ──────
edgeless/frame/frame.spec.ts:311:3 › resize frame then move › resize frame to unwrap shape ────
edgeless/group/group.spec.ts:123:5 › group › drag group › drag group to move ───────────────────
30 passed (5.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results-e2e-11
Expired
|
37.3 MB |
|
test-results-e2e-12
Expired
|
23.7 MB |
|
test-results-e2e-13
Expired
|
5.7 MB |
|
test-results-e2e-6
Expired
|
5.57 MB |
|
test-results-e2e-7
Expired
|
87.5 MB |
|
test-results-e2e-8
Expired
|
140 MB |
|
test-results-e2e-9
Expired
|
11.8 MB |
|