Skip to content

Move linkUI to own custom appender in navigation block #122453

Move linkUI to own custom appender in navigation block

Move linkUI to own custom appender in navigation block #122453

Triggered via pull request December 19, 2024 19:07
Status Failure
Total duration 18m 26s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
8s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 9 warnings, and 8 notices
[chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating: test/e2e/specs/editor/blocks/navigation.spec.js#L353
1) [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items › should not lose focus when using the navigation link appender Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Navigation' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Navigation' }) - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-baa164fc-be1e-4b9a-84bd-ce620b78bbd0" data-block="baa164fc-be1e-4b9a-84bd-ce620b78bbd0" aria-describedby="baa164fc-be1e-4b9a-84bd-ce620b78bbd0-desc" class="block-editor-block-list__block wp-block is-sel
[chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating: test/e2e/specs/editor/blocks/navigation.spec.js#L353
1) [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items › should not lose focus when using the navigation link appender Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Navigation' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Navigation' }) - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describedby="be2584f8-4316-4c25-8377-4184914f28b5-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describedby="be2584f8-4316-4c25-8377-4184914f28b5-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describedby="be2584f8-4316-4c25-8377-4184914f28b5-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describedby="be2584f8-4316-4c25-8377-4184914f28b5-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describedby="be2584f8-4316-4c25-8377-4184914f28b5-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describedby="be2584f8-4316-4c25-8377-4184914f28b5-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-be2584f8-4316-4c25-8377-4184914f28b5" data-block="be2584f8-4316-4c25-8377-4184914f28b5" aria-describ
[chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating: test/e2e/specs/editor/blocks/navigation.spec.js#L353
1) [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items › should not lose focus when using the navigation link appender Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Navigation' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Navigation' }) - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describedby="3736b6ee-0d5e-4423-b500-9ec20e8341be-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describedby="3736b6ee-0d5e-4423-b500-9ec20e8341be-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describedby="3736b6ee-0d5e-4423-b500-9ec20e8341be-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describedby="3736b6ee-0d5e-4423-b500-9ec20e8341be-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describedby="3736b6ee-0d5e-4423-b500-9ec20e8341be-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describedby="3736b6ee-0d5e-4423-b500-9ec20e8341be-desc" class="block-editor-block-list__block wp-block is-selected is-responsive is-layout-flex wp-block-navigation-is-layout-flex wp-block-navigation">…</nav> - unexpected value "not focused" - locator resolved to <nav tabindex="0" role="document" draggable="true" data-title="Navigation" data-type="core/navigation" aria-label="Block: Navigation" id="block-3736b6ee-0d5e-4423-b500-9ec20e8341be" data-block="3736b6ee-0d5e-4423-b500-9ec20e8341be" aria-describ
[chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block: test/e2e/specs/editor/blocks/search.spec.js#L47
2) [chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add block' }) resolved to 2 elements: 1) <button type="button" aria-haspopup="true" aria-expanded="false" aria-label="Add block" aria-describedby="list-view-appender__0" class="components-button block-editor-inserter__toggle has-icon">…</button> aka getByLabel('Add block') 2) <button type="button" aria-haspopup="listbox" class="components-button is-next-40px-default-size has-text has-icon">…</button> aka getByText('Add block') Call log: - waiting for getByRole('button', { name: 'Add block' }) 45 | await navBlockInserter.click(); 46 | > 47 | await page.getByRole( 'button', { name: 'Add block' } ).click(); | ^ 48 | 49 | // Click on the Search block option. 50 | await page.getByRole( 'option', { name: 'Search' } ).click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/search.spec.js:47:59
[chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block: test/e2e/specs/editor/blocks/search.spec.js#L47
2) [chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add block' }) resolved to 2 elements: 1) <button type="button" aria-haspopup="true" aria-expanded="false" aria-label="Add block" aria-describedby="list-view-appender__0" class="components-button block-editor-inserter__toggle has-icon">…</button> aka getByLabel('Add block') 2) <button type="button" aria-haspopup="listbox" class="components-button is-next-40px-default-size has-text has-icon">…</button> aka getByText('Add block') Call log: - waiting for getByRole('button', { name: 'Add block' }) 45 | await navBlockInserter.click(); 46 | > 47 | await page.getByRole( 'button', { name: 'Add block' } ).click(); | ^ 48 | 49 | // Click on the Search block option. 50 | await page.getByRole( 'option', { name: 'Search' } ).click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/search.spec.js:47:59
[chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block: test/e2e/specs/editor/blocks/search.spec.js#L47
2) [chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Add block' }) resolved to 2 elements: 1) <button type="button" aria-haspopup="true" aria-expanded="false" aria-label="Add block" aria-describedby="list-view-appender__0" class="components-button block-editor-inserter__toggle has-icon">…</button> aka getByLabel('Add block') 2) <button type="button" aria-haspopup="listbox" class="components-button is-next-40px-default-size has-text has-icon">…</button> aka getByText('Add block') Call log: - waiting for getByRole('button', { name: 'Add block' }) 45 | await navBlockInserter.click(); 46 | > 47 | await page.getByRole( 'button', { name: 'Add block' } ).click(); | ^ 48 | 49 | // Click on the Search block option. 50 | await page.getByRole( 'option', { name: 'Search' } ).click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/search.spec.js:47:59
Playwright - 2
Process completed with exit code 1.
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByLabel('Sample Page') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByLabel('Sample Page') - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" 111 | // Use arrow up/down to move through the list. 112 | await page.keyboard.press( 'ArrowDown' ); > 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused(); | ^ 114 | 115 | await page.keyboard.press( 'ArrowUp' ); 116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 skipped 200 passed (6.8m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/blocks/navigation.spec.js:318:2 › Navigation block › navigation manages focus for creating, editing, and deleting items [chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block 1 skipped 196 passed (9.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys 1 skipped 194 passed (9.3m)
🎭 Playwright Run Summary
1 skipped 198 passed (9.7m)
🎭 Playwright Run Summary
1 skipped 201 passed (9.9m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.2m)
🎭 Playwright Run Summary
199 passed (10.4m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.9m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
9.85 MB
flaky-tests-report
1.29 KB