ui/AlertDialog: better async confirm APIs, fully use base ui's AlertDialog
#150283
Annotations
7 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/comments.spec.js:60:2 › Comments › Pagination links are working as expected:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › specs/editor/blocks/comments.spec.js:60:2 › Comments › Pagination links are working as expected
Error: apiRequestContext.fetch: socket hang up
Call log:
- → GET http://localhost:8889/wp-json/wp/v2/users/me
- user-agent: Playwright/1.58.2 (x64; ubuntu 24.04) node/20.20 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: 2248c026fe
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1775306743%7CTV5v1dH5UT0J48ymDStMiTyZbGM66m9Y3WrSNVCsFCg%7Cefbebf0cec6600ca12a818cd524a29153548169f164420a5368da785b85897b0; wp-settings-time-1=1775134123
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.createComment (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/comments.ts:32:33)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:72:23
|
|
Merge Artifacts
Process completed with exit code 1.
|
|
Merge Artifacts
Unable to download artifact(s): Artifact not found for name: blob-reports-merged
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
|
|
Merge Artifacts
No artifacts found matching pattern 'blob-reports--*'
|
|
Merge Artifacts
No artifacts found matching pattern 'failures-artifacts*'
|
|
🎭 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
242 passed (11.7m)
|
|
🎭 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
230 passed (12.4m)
|
|
🎭 Playwright Run Summary
1 skipped
239 passed (12.7m)
|
|
🎭 Playwright Run Summary
3 skipped
242 passed (12.9m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/editor/blocks/comments.spec.js:60:2 › Comments › Pagination links are working as expected
245 passed (13.1m)
|
|
🎭 Playwright Run Summary
6 skipped
237 passed (14.3m)
|
|
🎭 Playwright Run Summary
5 skipped
238 passed (18.1m)
|
|
🎭 Playwright Run Summary
1 skipped
259 passed (23.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
flaky-tests-report
Expired
|
3.67 KB |
sha256:f870a5308e08e174b2d8239a99c1ced47020aeb373ca8c1f802fe7e62dae9269
|
|