Skip to content

DataView Actions Modal: Allow customizable modal size through props #125386

DataView Actions Modal: Allow customizable modal size through props

DataView Actions Modal: Allow customizable modal size through props #125386

Triggered via pull request March 4, 2025 04:13
Status Failure
Total duration 18m 9s
Artifacts 2

end2end-test.yml

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

Annotations

20 errors and 8 notices
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?p=%2Fwp_template%2Femptytheme%2F%2Fsingle-post-demo&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?p=%2Fwp_template%2Femptytheme%2F%2Fsingle-post-demo&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?p=%2Fwp_template%2Femptytheme%2F%2Fsingle-post-demo&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
Playwright - 6
Process completed with exit code 1.
[chromium] › site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › 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: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fpages&per_page=100&status=publish%2Cfuture%2Cdraft%2Cpending%2Cprivate%2Ctrash - user-agent: Playwright/1.49.1 (x64; ubuntu 24.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 0ad4e7ec63 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1741234873%7C2crhNDWWBWafaQ8Y9q5SgJZ7lXaoDv74FuPlPYvca8N%7C9c94e6751ce678e5a188dfa1caeff28ce0145150dd586b0de500469d9e15f265; wp-settings-time-1=1741062462 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/site-editor/homepage-settings.spec.js:30:17
[chromium] › 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#L71
1) [chromium] › site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Homepage') }) resolved to 2 elements: 1) <div class="" id=":rm:" role="row">…</div> aka getByRole('row', { name: 'Homepage Edit Actions Author' }).first() 2) <div class="" id=":ru:" role="row">…</div> aka getByRole('row', { name: 'Homepage Edit Actions Author' }).nth(1) Call log: - waiting for getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Homepage') }) 69 | .getByRole( 'row' ) 70 | .filter( { has: samplePage } ); > 71 | await samplePageRow.click(); | ^ 72 | await samplePageRow 73 | .getByRole( 'button', { 74 | name: 'Actions', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:71:23
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments: test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]') Expected string: "No results found." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]') 9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-8f81cabf-4096-4be4-823a-cd794d9bc632" data-block="8f81cabf-4096-4be4-823a-cd794d9bc632" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p> - unexpected value "" 55 | 'role=document[name="Block: Comment Template"i]' 56 | ) > 57 | ).toContainText( 'No results found.' ); | ^ 58 | } ); 59 | 60 | test( 'Pagination links are working as expected', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments: test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]') Expected string: "No results found." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]') 9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-6b0978b1-4f04-4912-9634-a13677c111e9" data-block="6b0978b1-4f04-4912-9634-a13677c111e9" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p> - unexpected value "" 55 | 'role=document[name="Block: Comment Template"i]' 56 | ) > 57 | ).toContainText( 'No results found.' ); | ^ 58 | } ); 59 | 60 | test( 'Pagination links are working as expected', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments: test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]') Expected string: "No results found." Received string: "" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]') 9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-a144c572-dff3-4373-982d-d20de12ef9bf" data-block="a144c572-dff3-4373-982d-d20de12ef9bf" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p> - unexpected value "" 55 | 'role=document[name="Block: Comment Template"i]' 56 | ) > 57 | ).toContainText( 'No results found.' ); | ^ 58 | } ); 59 | 60 | test( 'Pagination links are working as expected', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
Playwright - 1
Process completed with exit code 1.
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L75
1) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Hello World! And more." Received string: "Hello World!" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Hello World!</h1> - unexpected value "Hello World!" 73 | 74 | // Title in preview should match updated input. > 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' ); | ^ 76 | 77 | // Published preview URL should include ID and nonce parameters. 78 | const { searchParams } = new URL( previewPage.url() ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L75
1) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Hello World! And more." Received string: "Hello World!" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Hello World!</h1> - unexpected value "Hello World!" 73 | 74 | // Title in preview should match updated input. > 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' ); | ^ 76 | 77 | // Published preview URL should include ID and nonce parameters. 78 | const { searchParams } = new URL( previewPage.url() ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L75
1) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Hello World! And more." Received string: "Hello World!" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Hello World!</h1> - unexpected value "Hello World!" 73 | 74 | // Title in preview should match updated input. > 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' ); | ^ 76 | 77 | // Published preview URL should include ID and nonce parameters. 78 | const { searchParams } = new URL( previewPage.url() ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses: test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Lorem Ipsum" Received string: "Lorem" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Lorem</h1> - unexpected value "Lorem" 180 | 181 | // Title in preview should match updated input. > 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | ^ 183 | 184 | // Return to editor and switch to Draft. 185 | await editorPage.bringToFront(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses: test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Lorem Ipsum" Received string: "Lorem" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Lorem</h1> - unexpected value "Lorem" 180 | 181 | // Title in preview should match updated input. > 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | ^ 183 | 184 | // Return to editor and switch to Draft. 185 | await editorPage.bringToFront(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses: test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Lorem Ipsum" Received string: "Lorem" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Lorem</h1> - unexpected value "Lorem" 180 | 181 | // Title in preview should match updated input. > 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | ^ 183 | 184 | // Return to editor and switch to Draft. 185 | await editorPage.bringToFront(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview: test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "title 2" Received string: "title 1" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">title 1</h1> - unexpected value "title 1" 271 | 272 | // Title in preview should match input. > 273 | await expect( previewTitle ).toHaveText( 'title 2' ); | ^ 274 | await expect( previewContent ).toHaveText( 'content 2' ); 275 | 276 | // Make sure the editor is active for the afterEach function. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview: test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "title 2" Received string: "title 1" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">title 1</h1> - unexpected value "title 1" 271 | 272 | // Title in preview should match input. > 273 | await expect( previewTitle ).toHaveText( 'title 2' ); | ^ 274 | await expect( previewContent ).toHaveText( 'content 2' ); 275 | 276 | // Make sure the editor is active for the afterEach function. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview: test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "title 2" Received string: "title 1" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">title 1</h1> - unexpected value "title 1" 271 | 272 | // Title in preview should match input. > 273 | await expect( previewTitle ).toHaveText( 'title 2' ); | ^ 274 | await expect( previewContent ).toHaveText( 'content 2' ); 275 | 276 | // Make sure the editor is active for the afterEach function. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
Playwright - 4
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 197 passed (7.8m)
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation 2 skipped 202 passed (6.7m)
🎭 Playwright Run Summary
1 skipped 204 passed (8.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page 1 skipped 200 passed (8.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments 206 passed (9.3m)
🎭 Playwright Run Summary
3 failed [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview 1 skipped 194 passed (9.5m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.5m)
🎭 Playwright Run Summary
1 skipped 208 passed (10.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
42.2 MB
flaky-tests-report
1.92 KB