ui/AlertDialog: better async confirm APIs, fully use base ui's AlertDialog
#150794
Annotations
3 errors and 8 notices
|
[chromium] › specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page:
test/e2e/specs/site-editor/homepage-settings.spec.js#L93
1) [chromium] › specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
Error: locator.click: Error: strict mode violation: getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Sample page') }) resolved to 2 elements:
1) <div class="" id=":ru:" role="row">…</div> aka getByRole('row', { name: 'Sample Page Edit Actions Author Author avatar admin Status Published', exact: true })
2) <div class="" id=":r16:" role="row">…</div> aka getByRole('row', { name: 'Sample page Edit Actions Author Author avatar admin Status Published', exact: true })
Call log:
- waiting for getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Sample page') })
91 | .filter( { has: samplePageTwo } );
92 | // eslint-disable-next-line playwright/no-force-option
> 93 | await samplePageTwoRow.click( { force: true } );
| ^
94 | await samplePageTwoRow
95 | .getByRole( 'button', {
96 | name: 'Actions',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:93:26
|
|
[chromium] › specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted › Paragraph and Group blocks are available in the inserter
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByText('Initial content')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:163:18
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:159:15
|
|
[chromium] › specs/editor/blocks/navigation-colors.spec.js:229:2 › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › specs/editor/blocks/navigation-colors.spec.js:229:2 › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
Error: apiRequestContext.fetch: socket hang up
Call log:
- → GET http://localhost:8889/wp-json/wp/v2/pages?per_page=100&status=publish%2Cfuture%2Cdraft%2Cpending%2Cprivate%2Ctrash
- user-agent: Playwright/1.58.2 (x64; ubuntu 24.04) node/20.20 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: e1f3fd6319
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1775816826%7CwVkNyPQQj0vL845VwrxP0C8PTBZQi5buyIJsFmi0EyU%7C4ba01dca526d2472d03399631e46440f5c407a1c000ce56fc5e780d185afb2fb; wp-settings-time-1=1775644771
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119
117 |
118 | try {
> 119 | const response = await this.request.fetch( url, {
| ^
120 | ...fetchOptions,
121 | failOnStatusCode: false,
122 | headers: {
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39)
at RequestUtils.deleteAllPages (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/pages.ts:47:27)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:41:17
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
3 skipped
243 passed (11.3m)
|
|
🎭 Playwright Run Summary
3 skipped
242 passed (12.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted
5 skipped
231 passed (13.0m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/editor/blocks/navigation-colors.spec.js:229:2 › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
255 passed (13.7m)
|
|
🎭 Playwright Run Summary
1 skipped
244 passed (13.8m)
|
|
🎭 Playwright Run Summary
6 skipped
242 passed (14.2m)
|
|
🎭 Playwright Run Summary
5 skipped
238 passed (16.0m)
|
|
🎭 Playwright Run Summary
1 skipped
250 passed (23.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-reports-merged
|
10.1 MB |
sha256:bbd3f71b9a96f8f0b03a6e57f795d48a852626a783951f2a6b64e82b6d049fc5
|
|
|
flaky-tests-report
|
3.77 KB |
sha256:1a4707585f650eaa1f043c85c56d06bda61393ca89f44f334b5a77e2a05c94c2
|
|
|
html-report--attempt-1
|
9.44 MB |
sha256:cc214b690fddfcde2c01049f86d969dfe3846bb99a489f01c24925d2a3621318
|
|