KeyboardShortcuts: Update delete shortcut to use Shift + Delete and add Backspace alias #122511
Annotations
7 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L284
1) [chromium] › editor/blocks/navigation.spec.js:242:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Submenu' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Submenu' })
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-a15cc80f-ca84-4dfa-ad1b-2834387003d0" data-block="a15cc80f-ca84-4dfa-ad1b-2834387003d0" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
-
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L284
1) [chromium] › editor/blocks/navigation.spec.js:242:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Submenu' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Submenu' })
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-061eaf5a-7b7a-493a-b722-72fbc5166330" data-block="061eaf5a-7b7a-493a-b722-72fbc5166330" class="block-editor-block-list__block wp-block has-child-selected
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L284
1) [chromium] › editor/blocks/navigation.spec.js:242:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Submenu' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Submenu' })
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected wp-block-navigation-item is-editing has-link has-child wp-block-navigation-submenu">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="0" role="document" data-title="Submenu" aria-label="Block: Submenu" data-type="core/navigation-submenu" id="block-6d72b59e-4bca-4ebb-a810-e56e086f9b88" data-block="6d72b59e-4bca-4ebb-a810-e56e086f9b88" class="block-editor-block-list__block wp-block has-child-selected
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L717
2) [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Dog"
Received: "wordpress.org"
715 | .locator( ':root' )
716 | .evaluate( () => window.getSelection().toString() )
> 717 | ).toBe( text );
| ^
718 | }
719 |
720 | /**
at Navigation.expectToHaveTextSelected (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:717:5)
at Navigation.checkLabelFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:743:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:499:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L683
2) [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('link', { name: 'Dog (opens in a new tab)', exact: true })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('link', { name: 'Dog (opens in a new tab)', exact: true })
681 |
682 | const linkControlLink = await this.getLinkControlLink( label );
> 683 | await expect( linkControlLink ).toBeFocused();
| ^
684 |
685 | await this.page.keyboard.press( 'Escape' );
686 |
at Navigation.addPage (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:683:35)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:414:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L683
2) [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('link', { name: 'Dog (opens in a new tab)', exact: true })
Expected: focused
Received: <element(s) not found>
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('link', { name: 'Dog (opens in a new tab)', exact: true })
681 |
682 | const linkControlLink = await this.getLinkControlLink( label );
> 683 | await expect( linkControlLink ).toBeFocused();
| ^
684 |
685 | await this.page.keyboard.press( 'Escape' );
686 |
at Navigation.addPage (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:683:35)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:414: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] › editor/blocks/navigation.spec.js:242:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
[chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items
1 skipped
196 passed (10.4m)
|
Loading