Skip to content

Move linkUI to own custom appender in navigation block #122445

Move linkUI to own custom appender in navigation block

Move linkUI to own custom appender in navigation block #122445

Triggered via pull request December 19, 2024 17:42
Status Failure
Total duration 18m 36s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
7s
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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-be0b9afc-8214-4a78-b30e-3c2432c34ed7" data-block="be0b9afc-8214-4a78-b30e-3c2432c34ed7" aria-describedby="be0b9afc-8214-4a78-b30e-3c2432c34ed7-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" aria-describedby="ef89ef07-2db5-4596-b950-65ed8b6b4642-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" aria-describedby="ef89ef07-2db5-4596-b950-65ed8b6b4642-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" aria-describedby="ef89ef07-2db5-4596-b950-65ed8b6b4642-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" aria-describedby="ef89ef07-2db5-4596-b950-65ed8b6b4642-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" aria-describedby="ef89ef07-2db5-4596-b950-65ed8b6b4642-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" aria-describedby="ef89ef07-2db5-4596-b950-65ed8b6b4642-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-ef89ef07-2db5-4596-b950-65ed8b6b4642" data-block="ef89ef07-2db5-4596-b950-65ed8b6b4642" 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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" aria-describedby="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93-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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" aria-describedby="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93-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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" aria-describedby="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93-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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" aria-describedby="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93-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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" aria-describedby="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93-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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" aria-describedby="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93-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-11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" data-block="11c4361b-0bd3-4b5c-9fb8-fc09c9478b93" 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 - 3
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 - 4
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
Playwright - 5
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.9m)
🎭 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.5m)
🎭 Playwright Run Summary
1 skipped 198 passed (9.9m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.0m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.3m)
🎭 Playwright Run Summary
199 passed (10.3m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.1m)
🎭 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 (10.5m)

Artifacts

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