Try: Playwright E2E-1 failure fix #125367
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-b608a3d1-9b73-44fc-bbf4-8d4c6db6091d" data-block="b608a3d1-9b73-44fc-bbf4-8d4c6db6091d" 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-4d576446-44aa-472f-b0df-4156d399ecdd" data-block="4d576446-44aa-472f-b0df-4156d399ecdd" 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-26d8a88b-bd5f-4a58-82ef-870648fe12bf" data-block="26d8a88b-bd5f-4a58-82ef-870648fe12bf" 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 (7.9m)
|
🎭 Playwright Run Summary
1 skipped
204 passed (8.3m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (8.4m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (9.6m)
|
🎭 Playwright Run Summary
1 skipped
197 passed (8.8m)
|
🎭 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
1 skipped
208 passed (10.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
14.5 MB |
|
flaky-tests-report
|
989 Bytes |
|