Navigation: Fix sidebar title #77512
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 14s
Annotations
15 errors and 4 notices
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page:
test/e2e/specs/site-editor/pages.spec.js#L105
1) [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ───────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Back', exact: true }) resolved to 2 elements:
1) <button type="button" class="components-button edit-site…>…</button> aka getByText('Back', { exact: true })
2) <button type="button" aria-label="Back" data-wp-c16t="tr…>…</button> aka getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Back' })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Back', exact: true })
============================================================
103 |
104 | // Go back to page editing focus.
> 105 | await page.getByRole( 'button', { name: 'Back', exact: true } ).click();
| ^
106 |
107 | // Site Title and Page entities should have been modified.
108 | await page.getByRole( 'button', { name: 'Save', exact: true } ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:105:67
|
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page:
test/e2e/specs/site-editor/pages.spec.js#L105
1) [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Back', exact: true }) resolved to 2 elements:
1) <button type="button" class="components-button edit-site…>…</button> aka getByText('Back', { exact: true })
2) <button type="button" aria-label="Back" data-wp-c16t="tr…>…</button> aka getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Back' })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Back', exact: true })
============================================================
103 |
104 | // Go back to page editing focus.
> 105 | await page.getByRole( 'button', { name: 'Back', exact: true } ).click();
| ^
106 |
107 | // Site Title and Page entities should have been modified.
108 | await page.getByRole( 'button', { name: 'Save', exact: true } ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:105:67
|
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page:
test/e2e/specs/site-editor/pages.spec.js#L105
1) [chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Back', exact: true }) resolved to 2 elements:
1) <button type="button" class="components-button edit-site…>…</button> aka getByText('Back', { exact: true })
2) <button type="button" aria-label="Back" data-wp-c16t="tr…>…</button> aka getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Back' })
=========================== logs ===========================
waiting for getByRole('button', { name: 'Back', exact: true })
============================================================
103 |
104 | // Go back to page editing focus.
> 105 | await page.getByRole( 'button', { name: 'Back', exact: true } ).click();
| ^
106 |
107 | // Site Title and Page entities should have been modified.
108 | await page.getByRole( 'button', { name: 'Save', exact: true } ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:105:67
|
Playwright - 3
Process completed with exit code 1.
|
[webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@firefox:
test/e2e/specs/editor/various/a11y-region-navigation.spec.js#L1
1) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
{
code: 'internal_server_error',
message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>',
data: { status: 500 },
additional_errors: []
}
|
[chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
1) [chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:971:17
|
[chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
1) [chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:971:17
|
[chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
1) [chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:971:17
|
[chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
2) [chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1042:17
|
[chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
2) [chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1042:17
|
[chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
2) [chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1042:17
|
[chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
3) [chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1151:17
|
[chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
3) [chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1151:17
|
[chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
3) [chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1151:17
|
[chromium] › editor/blocks/navigation.spec.js:1215:3 › Navigation block - Frontend interactivity › Page list block › page-list submenu user interactions:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
4) [chromium] › editor/blocks/navigation.spec.js:1215:3 › Navigation block - Frontend interactivity › Page list block › page-list submenu user interactions
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true })
locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button>
attempting click action
waiting for element to be visible, enabled and stable
element was detached from the DOM, retrying
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20
18 | await editorTopBar
19 | .getByRole( 'button', { name: 'Save', exact: true } )
> 20 | .click();
| ^
21 |
22 | // Second Save button in the entities panel.
23 | await savePanel
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1212:17
|
🎭 Playwright Run Summary
176 passed (12.2m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ────────────────────────
148 passed (11.9m)
|
|
🎭 Playwright Run Summary
4 failed
[chromium] › editor/blocks/navigation.spec.js:974:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
[chromium] › editor/blocks/navigation.spec.js:1045:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions
[chromium] › editor/blocks/navigation.spec.js:1154:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) › submenu opens on click in the arrow
[chromium] › editor/blocks/navigation.spec.js:1215:3 › Navigation block - Frontend interactivity › Page list block › page-list submenu user interactions
176 passed (16.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
19.6 MB |
|
flaky-tests-report
Expired
|
1.2 KB |
|