chore(blocks): remove trigger key 'γ' from slash menu #7752
test.yml
on: pull_request
Install Dependencies
1m 17s
Build & Test
0s
Annotations
5 errors, 20 warnings, and 20 notices
code/copy-paste.spec.ts:24:1 βΊ keyboard selection and copy paste:
tests/code/copy-paste.spec.ts#L38
1) code/copy-paste.spec.ts:24:1 βΊ keyboard selection and copy paste ββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: "useuse"
Received: "123use"
36 |
37 | const content = await getInlineSelectionText(page);
> 38 | expect(content).toBe('useuse');
| ^
39 |
40 | await assertRichTextInlineRange(page, 0, 3, 0);
41 | });
at /home/runner/work/blocksuite/blocksuite/tests/code/copy-paste.spec.ts:38:19
|
hotkey/hotkey.spec.ts:274:1 βΊ should cut work single line:
tests/hotkey/hotkey.spec.ts#L283
1) hotkey/hotkey.spec.ts:274: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,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": "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
281 | // cut
282 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 283 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
284 | `${testInfo.title}_init.json`
285 | );
286 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/hotkey.spec.ts:283:45
|
hotkey/multiline.spec.ts:100:1 βΊ should cut work multiple line:
tests/hotkey/multiline.spec.ts#L110
2) 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/paste-block.spec.ts:39:3 βΊ pasting blocks βΊ pasting a note block:
tests/edgeless/paste-block.spec.ts#L62
1) edgeless/paste-block.spec.ts:39:3 βΊ pasting blocks βΊ pasting a note block βββββββββββββββββββββ
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first()
- Expected string - 1
+ Received string + 21
- hello
+
+
+
+
+ β
+
+
+ Type '/' for commands
+
+
+
+
+
+
+
+
+
+
+
+
+
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first()
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id="11">β¦</affine-paragraph>
- unexpected value "
β
Type '/' for commands
"
- locator resolved to <affine-paragraph data-block-id=
|
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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
|
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
|
π Playwright Run Summary
1 skipped
46 passed (46.3s)
|
π Playwright Run Summary
1 flaky
code/copy-paste.spec.ts:24:1 βΊ keyboard selection and copy paste βββββββββββββββββββββββββββββββ
1 skipped
46 passed (48.7s)
|
π Playwright Run Summary
47 passed (51.5s)
|
π Playwright Run Summary
4 skipped
44 passed (52.0s)
|
π Playwright Run Summary
2 skipped
46 passed (50.9s)
|
π Playwright Run Summary
3 skipped
44 passed (43.1s)
|
π Playwright Run Summary
1 skipped
46 passed (55.7s)
|
π Playwright Run Summary
47 passed (45.8s)
|
π Playwright Run Summary
47 passed (54.2s)
|
π Playwright Run Summary
48 passed (1.0m)
|
π Playwright Run Summary
2 flaky
hotkey/hotkey.spec.ts:274:1 βΊ should cut work single line ββββββββββββββββββββββββββββββββββββββ
hotkey/multiline.spec.ts:100:1 βΊ should cut work multiple line βββββββββββββββββββββββββββββββββ
45 passed (1.1m)
|
π 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 (1.1m)
|
π Playwright Run Summary
1 flaky
edgeless/paste-block.spec.ts:39:3 βΊ pasting blocks βΊ pasting a note block ββββββββββββββββββββββ
2 skipped
44 passed (1.1m)
|
π Playwright Run Summary
47 passed (1.3m)
|
π Playwright Run Summary
6 skipped
41 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)
|
π Playwright Run Summary
10 skipped
37 passed (1.4m)
|