fix(edgeless): cmd a will select element inner frame #6603
test.yml
on: pull_request
Install Dependencies
50s
Build & Test
0s
Annotations
26 errors, 18 warnings, and 20 notices
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
|
attachment.spec.ts:725:1 › attachment can be dragged from note to surface top level block:
tests/attachment.spec.ts#L69
1) attachment.spec.ts:725:1 › attachment can be dragged from note to surface top level block ─────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
67 | await expect(slashMenu).toBeVisible();
68 |
> 69 | const fileChooser = page.waitForEvent('filechooser');
| ^
70 | await pressEnter(page);
71 | await sleep(100);
72 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:69:30)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:733:3
|
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block:
tests/utils/asserts.ts#L289
2) 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
|
selection/native.spec.ts:289:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L318
1) selection/native.spec.ts:289:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
316 | const textTwo = await getInlineSelectionText(page);
317 | expect(textTwo).toBe('arrow down test 1');
> 318 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
319 | expect(indexTwo).toBeLessThanOrEqual(17);
320 | await page.keyboard.press('ArrowDown');
321 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:318:20
|
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing:
tests/utils/actions/edgeless.ts#L357
1) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('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-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
|
edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements:
tests/utils/asserts.ts#L1187
1) edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 200
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:55:5
|
edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements:
tests/utils/asserts.ts#L1187
1) edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 200
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:55:5
|
edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements:
tests/utils/asserts.ts#L1187
1) edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 200
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:55:5
|
edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements:
tests/utils/asserts.ts#L1187
1) edgeless/frame/clipboard.spec.ts:41:3 › frame copy and paste › copy of frame should keep relationship of child elements
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 200
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:55:5
|
edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements:
tests/utils/asserts.ts#L1187
2) edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 600
Received: 450
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:101:5
|
edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements:
tests/utils/asserts.ts#L1187
2) edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 600
Received: 450
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:101:5
|
edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements:
tests/utils/asserts.ts#L1187
2) edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 600
Received: 450
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:101:5
|
edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements:
tests/utils/asserts.ts#L1187
2) edgeless/frame/clipboard.spec.ts:74:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 600
Received: 450
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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/frame/clipboard.spec.ts:101:5
|
edgeless/frame/clipboard.spec.ts:114:3 › frame copy and paste › duplicate element in frame:
tests/utils/asserts.ts#L1187
3) edgeless/frame/clipboard.spec.ts:114:3 › frame copy and paste › duplicate element in frame ────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 510
Received: 460
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 /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/clipboard.spec.ts:129:5
|
edgeless/frame/clipboard.spec.ts:114:3 › frame copy and paste › duplicate element in frame:
tests/utils/asserts.ts#L1187
3) edgeless/frame/clipboard.spec.ts:114:3 › frame copy and paste › duplicate element in frame ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 510
Received: 460
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 /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/clipboard.spec.ts:129: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
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 50
Received: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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: 200
Expected precision: 0
Expected difference: < 0.5
Received difference: 150
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (9)
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 (13)
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 (12)
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
|
E2E Test (6)
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 (11)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
🎭 Playwright Run Summary
3 skipped
42 passed (41.2s)
|
🎭 Playwright Run Summary
45 passed (47.5s)
|
🎭 Playwright Run Summary
4 skipped
42 passed (44.8s)
|
🎭 Playwright Run Summary
1 flaky
hotkey/hotkey.spec.ts:258:1 › should cut work single line ──────────────────────────────────────
45 passed (51.8s)
|
🎭 Playwright Run Summary
46 passed (55.9s)
|
🎭 Playwright Run Summary
1 skipped
45 passed (45.7s)
|
🎭 Playwright Run Summary
2 flaky
attachment.spec.ts:725:1 › attachment can be dragged from note to surface top level block ──────
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ────────
44 passed (1.1m)
|
🎭 Playwright Run Summary
45 passed (50.9s)
|
🎭 Playwright Run Summary
2 skipped
44 passed (54.7s)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:289:1 › cursor move to up and down with children block ────────────────
44 passed (56.6s)
|
🎭 Playwright Run Summary
45 passed (53.4s)
|
🎭 Playwright Run Summary
10 skipped
36 passed (1.1m)
|
🎭 Playwright Run Summary
46 passed (1.2m)
|
🎭 Playwright Run Summary
46 passed (1.2m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
2 skipped
43 passed (1.1m)
|
🎭 Playwright Run Summary
46 passed (1.1m)
|
🎭 Playwright Run Summary
46 passed (1.4m)
|
🎭 Playwright Run Summary
1 skipped
45 passed (1.5m)
|
🎭 Playwright Run Summary
8 failed
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:114:3 › frame copy and paste › duplicate element in frame ─────
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.
1 skipped
37 passed (2.9m)
|
🎭 Playwright Run Summary
12 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: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: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 ──────
34 passed (4.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results-e2e-7
Expired
|
58.6 MB |
|
test-results-e2e-8
Expired
|
110 MB |
|