Page List: Fix ESLint warnings (#52267) #77491
end2end-test.yml
on: push
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 13s
Annotations
5 errors and 4 notices
[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] › 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.
|
|
🎭 Playwright Run Summary
180 passed (13.0m)
|
🎭 Playwright Run Summary
176 passed (12.8m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › site-editor/pages.spec.js:19:2 › Pages › create a new page ────────────────────────
148 passed (15.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
8.19 MB |
|
flaky-tests-report
Expired
|
1.2 KB |
|