Skip to content

perf: faster tick for snapshot #6271

perf: faster tick for snapshot

perf: faster tick for snapshot #6271

Re-run triggered September 21, 2024 15:10
Status Failure
Total duration 2m 26s
Artifacts 2

test.yml

on: pull_request
Install Dependencies
1m 4s
Install Dependencies
Matrix: E2E Test
Matrix: Unit Test
Build & Test
0s
Build & Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 19 warnings, and 20 notices
attachment.spec.ts:406:1 › should attachment can be deleted: tests/attachment.spec.ts#L69
1) attachment.spec.ts:406:1 › should attachment can be deleted ─────────────────────────────────── 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:412:3
clipboard/list.spec.ts:677:1 › paste in list format: tests/utils/asserts.ts#L205
1) clipboard/list.spec.ts:677:1 › paste in list format ─────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 0 Array [ "test111", - "222", ] at utils/asserts.ts:205 203 | }); 204 | }, currentEditorIndex); > 205 | expect(actualTexts).toEqual(texts); | ^ 206 | } 207 | 208 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:205:23) at /home/runner/work/blocksuite/blocksuite/tests/clipboard/list.spec.ts:706:3
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
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/note/note.spec.ts:246:1 › duplicate note should work correctly: tests/edgeless/note/note.spec.ts#L267
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ─────────────────────── Error: expect(received).toBeTruthy() Received: false 265 | expect( 266 | (await firstNote.innerText()) === (await secondNote.innerText()) > 267 | ).toBeTruthy(); | ^ 268 | 269 | // size should be same 270 | const firstNoteBox = await firstNote.boundingBox(); at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:267:5
edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly: tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected) Expected: 552.5581665039062 Received: 658.6046829223633 Expected precision: 2 Expected difference: < 0.005 Received difference: 106.04651641845703 270 | const firstNoteBox = await firstNote.boundingBox(); 271 | const secondNoteBox = await secondNote.boundingBox(); > 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width); | ^ 273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height); 274 | }); 275 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly: tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ─────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected) Expected: 587.906982421875 Received: 658.6046829223633 Expected precision: 2 Expected difference: < 0.005 Received difference: 70.69770050048828 270 | const firstNoteBox = await firstNote.boundingBox(); 271 | const secondNoteBox = await secondNote.boundingBox(); > 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width); | ^ 273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height); 274 | }); 275 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly: tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ─────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected) Expected: 658.6046752929688 Received: 729.3023147583008 Expected precision: 2 Expected difference: < 0.005 Received difference: 70.69763946533203 270 | const firstNoteBox = await firstNote.boundingBox(); 271 | const secondNoteBox = await secondNote.boundingBox(); > 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width); | ^ 273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height); 274 | }); 275 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
E2E Test (10)
Process completed with exit code 1.
Build & Test
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky attachment.spec.ts:406:1 › should attachment can be deleted ──────────────────────────────────── 45 passed (54.1s)
🎭 Playwright Run Summary
1 flaky clipboard/list.spec.ts:677:1 › paste in list format ──────────────────────────────────────────── 1 skipped 44 passed (45.0s)
🎭 Playwright Run Summary
1 skipped 44 passed (1.6m)
🎭 Playwright Run Summary
45 passed (54.9s)
🎭 Playwright Run Summary
45 passed (1.1m)
🎭 Playwright Run Summary
4 skipped 41 passed (44.4s)
🎭 Playwright Run Summary
10 skipped 35 passed (1.2m)
🎭 Playwright Run Summary
45 passed (1.6m)
🎭 Playwright Run Summary
1 skipped 44 passed (1.4m)
🎭 Playwright Run Summary
45 passed (1.3m)
🎭 Playwright Run Summary
1 flaky edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ────────────────────────── 2 skipped 42 passed (1.1m)
🎭 Playwright Run Summary
45 passed (56.6s)
🎭 Playwright Run Summary
45 passed (1.2m)
🎭 Playwright Run Summary
1 flaky selection/native.spec.ts:289:1 › cursor move to up and down with children block ──────────────── 44 passed (56.0s)
🎭 Playwright Run Summary
2 skipped 43 passed (51.6s)
🎭 Playwright Run Summary
45 passed (52.0s)
🎭 Playwright Run Summary
3 skipped 42 passed (40.8s)
🎭 Playwright Run Summary
45 passed (51.8s)
🎭 Playwright Run Summary
45 passed (47.6s)
🎭 Playwright Run Summary
1 failed edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ──────────────────────── 44 passed (1.3m)
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 (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 (8)
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 (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 (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 (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 (7)
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
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 (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 (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 (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 (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 (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 (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 (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 (17)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

Artifacts

Produced during runtime
Name Size
test-results-e2e-10
4.41 MB