KeyboardShortcuts: Update delete shortcut to use shift + Backspace
#122679
Annotations
7 errors, 1 warning, and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › site-editor/template-part.spec.js:359:2 › Template Part › Keeps focus in place on undo in template parts
Error: locator.getAttribute: Error: strict mode violation: getByRole('document', { name: 'Site title' }) resolved to 2 elements:
1) <h1 tabindex="0" role="document" draggable="true" data-title="Site Title" data-type="core/site-title" aria-label="Block: Site Title" id="block-7b314035-2459-48c8-ac5f-6a64a893e6b9" data-block="7b314035-2459-48c8-ac5f-6a64a893e6b9" class="block-editor-block-list__block wp-block wp-block-site-title">…</h1> aka getByLabel('Block: Site Title').first()
2) <h1 tabindex="0" role="document" draggable="true" data-title="Site Title" data-type="core/site-title" aria-label="Block: Site Title" id="block-c67c8752-1f02-44ea-aa74-7408bacd9468" data-block="c67c8752-1f02-44ea-aa74-7408bacd9468" class="block-editor-block-list__block wp-block wp-block-site-title">…</h1> aka getByLabel('Block: Group').getByLabel('Block: Site Title')
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Site title' })
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:400:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › site-editor/template-part.spec.js:359:2 › Template Part › Keeps focus in place on undo in template parts
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.getAttribute: Error: strict mode violation: getByRole('document', { name: 'Site title' }) resolved to 2 elements:
1) <h1 tabindex="0" role="document" draggable="true" data-title="Site Title" data-type="core/site-title" aria-label="Block: Site Title" id="block-9c7828f8-a18b-4e20-b302-6cddd763f68a" data-block="9c7828f8-a18b-4e20-b302-6cddd763f68a" class="block-editor-block-list__block wp-block wp-block-site-title">…</h1> aka getByLabel('Block: Site Title').first()
2) <h1 tabindex="0" role="document" draggable="true" data-title="Site Title" data-type="core/site-title" aria-label="Block: Site Title" id="block-893eb0f5-3db3-403a-8ee5-ef8dd11b7e62" data-block="893eb0f5-3db3-403a-8ee5-ef8dd11b7e62" class="block-editor-block-list__block wp-block wp-block-site-title">…</h1> aka getByLabel('Block: Group').getByLabel('Block: Site Title')
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Site title' })
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:400:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › site-editor/template-part.spec.js:359:2 › Template Part › Keeps focus in place on undo in template parts
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.getAttribute: Error: strict mode violation: getByRole('document', { name: 'Site title' }) resolved to 2 elements:
1) <h1 tabindex="0" role="document" draggable="true" data-title="Site Title" data-type="core/site-title" aria-label="Block: Site Title" id="block-32e93fd8-1e38-45f6-bc05-81d0e2fbb966" data-block="32e93fd8-1e38-45f6-bc05-81d0e2fbb966" class="block-editor-block-list__block wp-block wp-block-site-title">…</h1> aka getByLabel('Block: Site Title').first()
2) <h1 tabindex="0" role="document" draggable="true" data-title="Site Title" data-type="core/site-title" aria-label="Block: Site Title" id="block-26ddab5d-69d7-4588-9fa8-38572dba9c07" data-block="26ddab5d-69d7-4588-9fa8-38572dba9c07" class="block-editor-block-list__block wp-block wp-block-site-title">…</h1> aka getByLabel('Block: Group').getByLabel('Block: Site Title')
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Site title' })
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:400:16
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L579
2) [chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Object {
"sidebar-1": Array [
Object {
"attributes": Object {
- "content": "First Paragraph",
+ "content": "First ParagraphSecond Paragraph",
},
"name": "core/paragraph",
},
],
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
577 | await widgetsScreen.saveWidgets();
578 |
> 579 | await expect.poll( widgetsScreen.getWidgetAreaBlocks ).toMatchObject( {
| ^
580 | 'sidebar-1': [
581 | {
582 | name: 'core/paragraph',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:579:3
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L579
2) [chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Object {
"sidebar-1": Array [
Object {
"attributes": Object {
- "content": "First Paragraph",
+ "content": "First ParagraphSecond Paragraph",
},
"name": "core/paragraph",
},
],
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
577 | await widgetsScreen.saveWidgets();
578 |
> 579 | await expect.poll( widgetsScreen.getWidgetAreaBlocks ).toMatchObject( {
| ^
580 | 'sidebar-1': [
581 | {
582 | name: 'core/paragraph',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:579:3
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L579
2) [chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Object {
"sidebar-1": Array [
Object {
"attributes": Object {
- "content": "First Paragraph",
+ "content": "First ParagraphSecond Paragraph",
},
"name": "core/paragraph",
},
],
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
577 | await widgetsScreen.saveWidgets();
578 |
> 579 | await expect.poll( widgetsScreen.getWidgetAreaBlocks ).toMatchObject( {
| ^
580 | 'sidebar-1': [
581 | {
582 | name: 'core/paragraph',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:579: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
2 failed
[chromium] › site-editor/template-part.spec.js:359:2 › Template Part › Keeps focus in place on undo in template parts
[chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone
2 skipped
193 passed (6.7m)
|
Loading