Skip to content

Block Directory: Fix installations for 'template-locked' mode #125376

Block Directory: Fix installations for 'template-locked' mode

Block Directory: Fix installations for 'template-locked' mode #125376

Triggered via pull request March 3, 2025 14:54
Status Failure
Total duration 19m 26s
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

5 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-55418488-1fca-4b55-962e-18125208332c" data-block="55418488-1fca-4b55-962e-18125208332c" 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-60dd9631-9137-4417-98b8-a03dde7325e8" data-block="60dd9631-9137-4417-98b8-a03dde7325e8" 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-694ac39e-ed51-4641-91a9-cb2224100fae" data-block="694ac39e-ed51-4641-91a9-cb2224100fae" 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.
🎭 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.3m)
🎭 Playwright Run Summary
1 skipped 197 passed (8.3m)
🎭 Playwright Run Summary
1 skipped 201 passed (8.1m)
🎭 Playwright Run Summary
1 skipped 197 passed (8.0m)
🎭 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
1 skipped 208 passed (10.9m)
🎭 Playwright Run Summary
3 skipped 188 passed (11.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
14.4 MB
flaky-tests-report
987 Bytes