KeyboardShortcuts: Update delete shortcut to use Shift + Delete and add Backspace alias #122533
Annotations
4 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/list-view.spec.js#L846
1) [chromium] › editor/various/list-view.spec.js:499:2 › List View › should cut, copy, paste, select, duplicate, insert, delete, and deselect blocks using keyboard
Error: Deleting blocks without existing selection will not select blocks
expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 2
Array [
Object {
"focused": true,
- "name": "core/heading",
- "selected": false,
+ "name": "core/paragraph",
+ "selected": true,
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
844 |
845 | await pageUtils.pressKeys( 'shift+delete' );
> 846 | await expect
| ^
847 | .poll(
848 | listViewUtils.getBlocksWithA11yAttributes,
849 | 'Deleting blocks without existing selection will not select blocks'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/list-view.spec.js:846:3
|
Run the tests:
test/e2e/specs/editor/various/list-view.spec.js#L846
1) [chromium] › editor/various/list-view.spec.js:499:2 › List View › should cut, copy, paste, select, duplicate, insert, delete, and deselect blocks using keyboard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Deleting blocks without existing selection will not select blocks
expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 2
Array [
Object {
"focused": true,
- "name": "core/heading",
- "selected": false,
+ "name": "core/paragraph",
+ "selected": true,
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
844 |
845 | await pageUtils.pressKeys( 'shift+delete' );
> 846 | await expect
| ^
847 | .poll(
848 | listViewUtils.getBlocksWithA11yAttributes,
849 | 'Deleting blocks without existing selection will not select blocks'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/list-view.spec.js:846:3
|
Run the tests:
test/e2e/specs/editor/various/list-view.spec.js#L846
1) [chromium] › editor/various/list-view.spec.js:499:2 › List View › should cut, copy, paste, select, duplicate, insert, delete, and deselect blocks using keyboard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Deleting blocks without existing selection will not select blocks
expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 2
Array [
Object {
"focused": true,
- "name": "core/heading",
- "selected": false,
+ "name": "core/paragraph",
+ "selected": true,
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
844 |
845 | await pageUtils.pressKeys( 'shift+delete' );
> 846 | await expect
| ^
847 | .poll(
848 | listViewUtils.getBlocksWithA11yAttributes,
849 | 'Deleting blocks without existing selection will not select blocks'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/list-view.spec.js:846:3
|
Run the tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
1 failed
[chromium] › editor/various/list-view.spec.js:499:2 › List View › should cut, copy, paste, select, duplicate, insert, delete, and deselect blocks using keyboard
1 skipped
200 passed (10.4m)
|
Loading