chore(blocks): remove trigger key 'γ' from slash menu (#8768) #7753
test.yml
on: push
Install Dependencies
42s
Build & Test
0s
Annotations
7 errors, 20 warnings, and 20 notices
paragraph.spec.ts:386:1 βΊ update paragraph with children to head type:
tests/utils/asserts.ts#L457
1) paragraph.spec.ts:386:1 βΊ update paragraph with children to head type βββββββββββββββββββββββββ
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"2",
+ "4",
]
at utils/asserts.ts:457
455 | { blockId }
456 | );
> 457 | expect(actual).toEqual(ids);
| ^
458 | }
459 |
460 | export async function assertBlockChildrenFlavours(
at assertBlockChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:457:18)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:408:3
|
code/copy-paste.spec.ts:66:1 βΊ drag copy paste:
tests/code/copy-paste.spec.ts#L79
1) code/copy-paste.spec.ts:66:1 βΊ drag copy paste ββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: "useuse"
Received: "1234use"
77 |
78 | const content = await getInlineSelectionText(page);
> 79 | expect(content).toBe('useuse');
| ^
80 |
81 | await assertRichTextInlineRange(page, 0, 3, 0);
82 | });
at /home/runner/work/blocksuite/blocksuite/tests/code/copy-paste.spec.ts:79:19
|
attachment.spec.ts:636:1 βΊ cancel file picker with input element resolves:
tests/attachment.spec.ts#L656
1) attachment.spec.ts:636:1 βΊ cancel file picker with input element resolves βββββββββββββββββββββ
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
654 | await expect(slashMenu).toBeVisible();
655 |
> 656 | const fileChooser = page.waitForEvent('filechooser');
| ^
657 | await pressEnter(page);
658 | const inputFile = page.locator("input[type='file']");
659 | await expect(inputFile).toHaveCount(1);
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:656:28
|
hotkey/multiline.spec.ts:100:1 βΊ should cut work multiple line:
tests/hotkey/multiline.spec.ts#L110
1) hotkey/multiline.spec.ts:100:1 βΊ should cut work multiple 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,498,92]",
"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": "123"
}
]
}
},
"children": []
},
{
"type": "block",
"id": "3",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "456"
}
]
}
},
"children": []
},
{
"type": "block",
"id": "4",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "789"
}
]
}
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/multiline.spec.ts/should-cut-work-multiple-line-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-multiline-should-cut-work-multiple-line/should-cut-work-multiple-line-init-actual.json
108 | // cut
109 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 110 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
111 | `${testInfo.title}_init.json`
112 | );
113 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/multiline.spec.ts:110:45
|
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-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
|
edgeless/pan.spec.ts:31:1 βΊ pan tool basic:
tests/utils/asserts.ts#L931
1) edgeless/pan.spec.ts:31:1 βΊ pan tool basic ββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 120
Received: 100
Expected precision: 0
Expected difference: < 0.5
Received difference: 20
at utils/asserts.ts:931
929 | const box = await getSelectedRect(page);
930 |
> 931 | expect(box.x).toBeCloseTo(x, 0);
| ^
932 | expect(box.y).toBeCloseTo(y, 0);
933 | expect(box.width).toBeCloseTo(w, 0);
934 | expect(box.height).toBeCloseTo(h, 0);
at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:931:17)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/pan.spec.ts:55:3
|
edgeless/clipboard.spec.ts:82:3 βΊ frame clipboard βΊ copy and paste frame with shape elements inside:
tests/edgeless/clipboard.spec.ts#L100
1) edgeless/clipboard.spec.ts:82:3 βΊ frame clipboard βΊ copy and paste frame with shape elements inside
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 4
98 | await waitNextFrame(page, 500);
99 | const sortedIds = await getAllSortedIds(page);
> 100 | expect(sortedIds.length).toBe(6);
| ^
101 | });
102 |
103 | test('copy and paste frame with group elements inside', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:100:30
|
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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
|
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 (8)
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
44 passed (42.6s)
|
π Playwright Run Summary
1 skipped
46 passed (45.3s)
|
π Playwright Run Summary
1 skipped
46 passed (55.4s)
|
π Playwright Run Summary
1 flaky
paragraph.spec.ts:386:1 βΊ update paragraph with children to head type ββββββββββββββββββββββββββ
46 passed (47.6s)
|
π Playwright Run Summary
47 passed (53.5s)
|
π Playwright Run Summary
1 flaky
code/copy-paste.spec.ts:66:1 βΊ drag copy paste βββββββββββββββββββββββββββββββββββββββββββββββββ
1 skipped
46 passed (47.3s)
|
π Playwright Run Summary
4 skipped
44 passed (52.5s)
|
π Playwright Run Summary
1 flaky
attachment.spec.ts:636:1 βΊ cancel file picker with input element resolves ββββββββββββββββββββββ
2 skipped
45 passed (55.9s)
|
π Playwright Run Summary
48 passed (57.2s)
|
π Playwright Run Summary
1 flaky
hotkey/multiline.spec.ts:100:1 βΊ should cut work multiple line βββββββββββββββββββββββββββββββββ
46 passed (58.7s)
|
π Playwright Run Summary
1 flaky
edgeless/shortcut.spec.ts:119:1 βΊ should not switch shapes in editing ββββββββββββββββββββββββββ
2 skipped
44 passed (1.1m)
|
π Playwright Run Summary
47 passed (58.2s)
|
π Playwright Run Summary
1 flaky
edgeless/pan.spec.ts:31:1 βΊ pan tool basic βββββββββββββββββββββββββββββββββββββββββββββββββββββ
2 skipped
44 passed (1.1m)
|
π Playwright Run Summary
47 passed (1.1m)
|
π Playwright Run Summary
10 skipped
37 passed (1.3m)
|
π Playwright Run Summary
6 skipped
41 passed (1.4m)
|
π Playwright Run Summary
1 flaky
edgeless/clipboard.spec.ts:82:3 βΊ frame clipboard βΊ copy and paste frame with shape elements inside
46 passed (1.4m)
|
π Playwright Run Summary
1 skipped
46 passed (1.6m)
|
π Playwright Run Summary
1 skipped
46 passed (1.6m)
|
π Playwright Run Summary
47 passed (1.6m)
|