Skip to content

Docs: Add Background image control Readme #125404

Docs: Add Background image control Readme

Docs: Add Background image control Readme #125404

Triggered via pull request March 4, 2025 11:47
Status Failure
Total duration 17m 59s
Artifacts 2

end2end-test.yml

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

Annotations

15 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] › 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-af0c35ea-2f89-4330-a33e-c8c10c21972d" data-block="af0c35ea-2f89-4330-a33e-c8c10c21972d" 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-d633eb99-fd3a-416b-b4f0-37dd28c639af" data-block="d633eb99-fd3a-416b-b4f0-37dd28c639af" 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-765262c2-410c-4d24-bbcd-dfd7deab5f07" data-block="765262c2-410c-4d24-bbcd-dfd7deab5f07" 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 flaky [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation 2 skipped 202 passed (6.5m)
🎭 Playwright Run Summary
1 skipped 197 passed (7.6m)
🎭 Playwright Run Summary
1 skipped 201 passed (8.1m)
🎭 Playwright Run Summary
1 skipped 204 passed (8.6m)
🎭 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.2m)
🎭 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.6m)
🎭 Playwright Run Summary
3 skipped 188 passed (9.9m)
🎭 Playwright Run Summary
1 skipped 208 passed (10.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
37 MB
flaky-tests-report
989 Bytes