KeyboardShortcuts: Update delete shortcut to use Shift + Delete and add Backspace alias #122511
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-c6597a70-b56f-447a-a08f-0689083a57a4" data-block="c6597a70-b56f-447a-a08f-0689083a57a4" 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-2d8d9e18-eb8f-4a2d-9402-02c862565265" data-block="2d8d9e18-eb8f-4a2d-9402-02c862565265" 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-0217cdcc-1f70-4b35-80ad-c2c553ea0d98" data-block="0217cdcc-1f70-4b35-80ad-c2c553ea0d98" 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-35fd715f-be45-4fc6-b29c-725841aa515d" data-block="35fd715f-be45-4fc6-b29c-725841aa515d" 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-c2b22faa-16c6-427e-bcd5-0e6638669657" data-block="c2b22faa-16c6-427e-bcd5-0e6638669657" 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-10bc21d1-18a1-403c-83e1-972268e1ad70" data-block="10bc21d1-18a1-403c-83e1-972268e1ad70" 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#L577
2) [chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone › save widgets
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Update' })
- locator resolved to <button type="button" aria-disabled="true" class="components-button is-primary is-compact">Update</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enab
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L577
2) [chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone › save widgets
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Update' })
- locator resolved to <button type="button" aria-disabled="true" class="components-button is-primary is-compact">Update</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiti
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L577
2) [chromium] › widgets/editing-widgets.spec.js:543:2 › Widgets screen › Allows widget deletion to be undone › save widgets
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Update' })
- locator resolved to <button type="button" aria-disabled="true" class="components-button is-primary is-compact">Update</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiti
|
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
198 passed (7.4m)
|
Loading