Skip to content

Improve labeling and descriptions of Content and Wide widths. #116096

Improve labeling and descriptions of Content and Wide widths.

Improve labeling and descriptions of Content and Wide widths. #116096

Triggered via pull request October 4, 2024 11:41
Status Failure
Total duration 17m 27s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
6s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 notices
[chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=/wp/v2/templates - user-agent: Playwright/1.47.0 (x64; ubuntu 22.04) node/20.17 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 5b8c698084 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1728215310%7CvOTJ6J2XalPhbC0YmkzmPlAMk8iiZ9JkjfimZEFRhw7%7Ce237e06b3c9c4aa43a63572af918be7878f3ea64d1c2a120136b16dddf16b2e6; wp-settings-time-1=1728042652 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.deleteAllTemplates (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/templates.ts:38:31) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:14:22
[chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar: test/e2e/specs/editor/plugins/align-hook.spec.js#L66
1) [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - Expected - 1 + Received + 1 Array [ "None", "Align left", "Align center", "Align right", - "Maximum wide width", + "Wide width", "Full width", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements 64 | .getByRole( 'menu', { name: 'Align' } ) 65 | .getByRole( 'menuitemradio' ) > 66 | ).toHaveText( Object.values( alignLabels ) ); | ^ 67 | } ); 68 | 69 | test( 'applies none alignment by default', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:66:6
[chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar: test/e2e/specs/editor/plugins/align-hook.spec.js#L66
1) [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - Expected - 1 + Received + 1 Array [ "None", "Align left", "Align center", "Align right", - "Maximum wide width", + "Wide width", "Full width", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements 64 | .getByRole( 'menu', { name: 'Align' } ) 65 | .getByRole( 'menuitemradio' ) > 66 | ).toHaveText( Object.values( alignLabels ) ); | ^ 67 | } ); 68 | 69 | test( 'applies none alignment by default', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:66:6
[chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar: test/e2e/specs/editor/plugins/align-hook.spec.js#L66
1) [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - Expected - 1 + Received + 1 Array [ "None", "Align left", "Align center", "Align right", - "Maximum wide width", + "Wide width", "Full width", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements 64 | .getByRole( 'menu', { name: 'Align' } ) 65 | .getByRole( 'menuitemradio' ) > 66 | ).toHaveText( Object.values( alignLabels ) ); | ^ 67 | } ); 68 | 69 | test( 'applies none alignment by default', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:66:6
[chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar: test/e2e/specs/editor/plugins/align-hook.spec.js#L216
2) [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - Expected - 1 + Received + 1 Array [ "None", "Align left", "Align center", "Align right", - "Maximum wide width", + "Wide width", "Full width", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements 214 | .getByRole( 'menu', { name: 'Align' } ) 215 | .getByRole( 'menuitemradio' ) > 216 | ).toHaveText( Object.values( alignLabels ) ); | ^ 217 | } ); 218 | 219 | test( 'applies the selected alignment by default', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:216:6
[chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar: test/e2e/specs/editor/plugins/align-hook.spec.js#L216
2) [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - Expected - 1 + Received + 1 Array [ "None", "Align left", "Align center", "Align right", - "Maximum wide width", + "Wide width", "Full width", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements 214 | .getByRole( 'menu', { name: 'Align' } ) 215 | .getByRole( 'menuitemradio' ) > 216 | ).toHaveText( Object.values( alignLabels ) ); | ^ 217 | } ); 218 | 219 | test( 'applies the selected alignment by default', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:216:6
[chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar: test/e2e/specs/editor/plugins/align-hook.spec.js#L216
2) [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - Expected - 1 + Received + 1 Array [ "None", "Align left", "Align center", "Align right", - "Maximum wide width", + "Wide width", "Full width", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio') - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements - locator resolved to 6 elements 214 | .getByRole( 'menu', { name: 'Align' } ) 215 | .getByRole( 'menuitemradio' ) > 216 | ).toHaveText( Object.values( alignLabels ) ); | ^ 217 | } ); 218 | 219 | test( 'applies the selected alignment by default', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/align-hook.spec.js:216:6
Playwright - 2
Process completed with exit code 1.
[chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks: test/e2e/specs/editor/various/block-grouping.spec.js#L334
1) [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { name: 'Maximum wide width' }) 332 | name: 'Maximum wide width', 333 | } ) > 334 | .click(); | ^ 335 | 336 | await editor.insertBlock( { 337 | name: 'core/paragraph', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:334:6
[chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks: test/e2e/specs/editor/various/block-grouping.spec.js#L334
1) [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { name: 'Maximum wide width' }) 332 | name: 'Maximum wide width', 333 | } ) > 334 | .click(); | ^ 335 | 336 | await editor.insertBlock( { 337 | name: 'core/paragraph', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:334:6
[chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks: test/e2e/specs/editor/various/block-grouping.spec.js#L334
1) [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { name: 'Maximum wide width' }) 332 | name: 'Maximum wide width', 333 | } ) > 334 | .click(); | ^ 335 | 336 | await editor.insertBlock( { 337 | name: 'core/paragraph', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:334:6
Playwright - 3
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part 3 skipped 190 passed (6.2m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/plugins/align-hook.spec.js:55:3 › Align Hook Works as Expected › Block with align true › shows the expected buttons on the alignment toolbar [chromium] › editor/plugins/align-hook.spec.js:205:3 › Align Hook Works as Expected › Block with default align › shows the expected buttons on the alignment toolbar 1 skipped 192 passed (9.5m)
🎭 Playwright Run Summary
1 skipped 187 passed (9.1m)
🎭 Playwright Run Summary
199 passed (9.9m)
🎭 Playwright Run Summary
3 skipped 187 passed (10.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks 1 skipped 195 passed (10.2m)
🎭 Playwright Run Summary
1 skipped 195 passed (9.9m)
🎭 Playwright Run Summary
198 passed (10.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
14.4 MB
flaky-tests-report
1.36 KB