Skip to content

docs: update playground link (#5523) #70

docs: update playground link (#5523)

docs: update playground link (#5523) #70

Triggered via push November 29, 2023 15:55
Status Success
Total duration 5m 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yaml

on: push
Node.js Environment Compatibility
43s
Node.js Environment Compatibility
Unit test
41s
Unit test
Virgo E2E test
46s
Virgo E2E test
Matrix: Playground E2E test
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 11 notices
hotkey.spec.ts:986:1 › should cut work single line: tests/hotkey.spec.ts#L1022
1) hotkey.spec.ts:986:1 › should cut work single line ──────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "ell" Received: "" 1020 | await undoByKeyboard(page); 1021 | const text = await readClipboardText(page); > 1022 | expect(text).toBe('ell'); | ^ 1023 | await assertStoreMatchJSX( 1024 | page, 1025 | ` at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1022:16
clipboard.spec.ts:1066:1 › copy canvas element and text note in edgeless mode: tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1066:1 › copy canvas element and text note in edgeless mode ───────────────── Test finished within timeout of 30000ms, but tearing down "context" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
selection/native.spec.ts:513:1 › cursor move up and down through note: tests/selection/native.spec.ts#L525
1) selection/native.spec.ts:513:1 › cursor move up and down through note ───────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "4" Received: "2" 523 | await pressArrowUp(page); 524 | currentId = (await getCursorBlockIdAndHeight(page))[0]; > 525 | expect(id).toBe(currentId); | ^ 526 | }); 527 | 528 | test('double click choose words', async ({ page }) => { at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:525:14
linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works: tests/linked-page.spec.ts#L1
1) linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works ─────────────────── Test timeout of 30000ms exceeded.
list.spec.ts:589:3 › indent correctly when deleting list item › merge two lists: tests/utils/asserts.ts#L428
2) list.spec.ts:589:3 › indent correctly when deleting list item › merge two lists ─────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "3", - "9", + "7", ] at utils/asserts.ts:428 426 | { blockId } 427 | ); > 428 | expect(actual).toEqual(ids); | ^ 429 | } 430 | 431 | export async function assertBlockChildrenFlavours( at assertBlockChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:428:18) at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:620:5
paragraph.spec.ts:76:1 › init paragraph by page title enter in middle: tests/utils/asserts.ts#L145
3) paragraph.spec.ts:76:1 › init paragraph by page title enter in middle ───────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "he" Received: "hell" at utils/asserts.ts:145 143 | const vEditor = editor.locator('[data-block-is-title="true"]').first(); 144 | const vText = virgoEditorInnerTextToString(await vEditor.innerText()); > 145 | expect(vText).toBe(text); | ^ 146 | } 147 | 148 | export async function assertVEditorDeltas( at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:145:17) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:87:3
paragraph.spec.ts:91:1 › drag over paragraph title: tests/utils/asserts.ts#L145
4) paragraph.spec.ts:91:1 › drag over paragraph title ──────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "" Received: "hello" at utils/asserts.ts:145 143 | const vEditor = editor.locator('[data-block-is-title="true"]').first(); 144 | const vText = virgoEditorInnerTextToString(await vEditor.innerText()); > 145 | expect(vText).toBe(text); | ^ 146 | } 147 | 148 | export async function assertVEditorDeltas( at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:145:17) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:102:3
paragraph.spec.ts:91:1 › drag over paragraph title: tests/utils/asserts.ts#L145
4) paragraph.spec.ts:91:1 › drag over paragraph title ──────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "" Received: "hello" at utils/asserts.ts:145 143 | const vEditor = editor.locator('[data-block-is-title="true"]').first(); 144 | const vText = virgoEditorInnerTextToString(await vEditor.innerText()); > 145 | expect(vText).toBe(text); | ^ 146 | } 147 | 148 | export async function assertVEditorDeltas( at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:145:17) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:102:3
paragraph.spec.ts:91:1 › drag over paragraph title: tests/utils/asserts.ts#L145
4) paragraph.spec.ts:91:1 › drag over paragraph title ──────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "" Received: "hello" at utils/asserts.ts:145 143 | const vEditor = editor.locator('[data-block-is-title="true"]').first(); 144 | const vText = virgoEditorInnerTextToString(await vEditor.innerText()); > 145 | expect(vText).toBe(text); | ^ 146 | } 147 | 148 | export async function assertVEditorDeltas( at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:145:17) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:102:3
paragraph.spec.ts:144:3 › backspace on line start of the first block (without surface): tests/utils/asserts.ts#L309
5) paragraph.spec.ts:144:3 › backspace on line start of the first block (without surface) ──────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { - "index": 0, + "index": 1, "length": 0, } at utils/asserts.ts:309 307 | [richTextIndex, currentEditorIndex] 308 | ); > 309 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength }); | ^ 310 | } 311 | 312 | export async function assertNativeSelectionRangeCount( at assertRichTextVRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:309:18) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:161:5
paragraph.spec.ts:243:1 › split paragraph block by enter: tests/utils/asserts.ts#L309
6) paragraph.spec.ts:243:1 › split paragraph block by enter ────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { - "index": 2, + "index": 3, "length": 0, } at utils/asserts.ts:309 307 | [richTextIndex, currentEditorIndex] 308 | ); > 309 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength }); | ^ 310 | } 311 | 312 | export async function assertNativeSelectionRangeCount( at assertRichTextVRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:309:18) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:255:3
paragraph.spec.ts:1169:1 › handling keyup when cursor located in first paragraph: tests/utils/asserts.ts#L259
7) paragraph.spec.ts:1169:1 › handling keyup when cursor located in first paragraph ────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('.affine-doc-page-block-title').first() Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('.affine-doc-page-block-title').first() - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" - locator resolved to <div contenteditable="true" data-virgo-root="true" da…>…</div> - unexpected value "not focused" at utils/asserts.ts:259 257 | export async function assertPageTitleFocus(page: Page) { 258 | const locator = page.locator('.affine-doc-page-block-title').nth(0); > 259 | await expect(locator).toBeFocused(); | ^ 260 | } 261 | 262 | export async function assertListPrefix( at assertPageTitleFocus (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:259:25) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1183:9
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size: tests/edgeless/note.spec.ts#L1
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ────────────────────── Test finished within timeout of 30000ms, but tearing down "context" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
edgeless/block-hub.spec.ts:21:1 › block hub should drag and drop a card into existing note: tests/utils/asserts.ts#L197
1) edgeless/block-hub.spec.ts:21:1 › block hub should drag and drop a card into existing note ──── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "123", - "000", + "00", "456", "789", ] at utils/asserts.ts:197 195 | }); 196 | }, currentEditorIndex); > 197 | expect(actualTexts).toEqual(texts); | ^ 198 | } 199 | 200 | export async function assertSelectionPath(page: Page, expected: string[]) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:197:23) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/block-hub.spec.ts:49:3
edgeless/block-hub.spec.ts:54:1 › block hub should add new note when dragged to blank area: tests/utils/asserts.ts#L197
2) edgeless/block-hub.spec.ts:54:1 › block hub should add new note when dragged to blank area ──── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "123", "456", "789", - "000", + "00", ] at utils/asserts.ts:197 195 | }); 196 | }, currentEditorIndex); > 197 | expect(actualTexts).toEqual(texts); | ^ 198 | } 199 | 200 | export async function assertSelectionPath(page: Page, expected: string[]) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:197:23) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/block-hub.spec.ts:81:3
🎭 Playwright Run Summary
12 passed (21.4s)
🎭 Playwright Run Summary
1 skipped 65 passed (2.9m)
🎭 Playwright Run Summary
67 passed (3.0m)
🎭 Playwright Run Summary
1 flaky hotkey.spec.ts:986:1 › should cut work single line ───────────────────────────────────────────── 2 skipped 63 passed (2.9m)
🎭 Playwright Run Summary
1 skipped 66 passed (3.2m)
🎭 Playwright Run Summary
1 flaky clipboard.spec.ts:1066:1 › copy canvas element and text note in edgeless mode ────────────────── 1 skipped 65 passed (3.2m)
🎭 Playwright Run Summary
66 passed (3.1m)
🎭 Playwright Run Summary
1 flaky selection/native.spec.ts:513:1 › cursor move up and down through note ────────────────────────── 65 passed (3.2m)
🎭 Playwright Run Summary
7 flaky linked-page.spec.ts:654:3 › linked page popover › should fuzzy search works ──────────────────── list.spec.ts:589:3 › indent correctly when deleting list item › merge two lists ──────────────── paragraph.spec.ts:76:1 › init paragraph by page title enter in middle ────────────────────────── paragraph.spec.ts:91:1 › drag over paragraph title ───────────────────────────────────────────── paragraph.spec.ts:144:3 › backspace on line start of the first block (without surface) ───────── paragraph.spec.ts:243:1 › split paragraph block by enter ─────────────────────────────────────── paragraph.spec.ts:1169:1 › handling keyup when cursor located in first paragraph ─────────────── 2 skipped 57 passed (3.5m)
🎭 Playwright Run Summary
1 flaky edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ─────────────────────── 1 skipped 65 passed (3.7m)
🎭 Playwright Run Summary
2 flaky edgeless/block-hub.spec.ts:21:1 › block hub should drag and drop a card into existing note ───── edgeless/block-hub.spec.ts:54:1 › block hub should add new note when dragged to blank area ───── 65 passed (4.3m)