Site Title: Fix logic for 'aria-current' attribute (#68909) #125413
Annotations
4 errors and 1 notice
Run the tests:
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-cb361249-a249-4c4d-8ca3-c7dab43f98d5" data-block="cb361249-a249-4c4d-8ca3-c7dab43f98d5" 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
|
Run the tests:
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-681c444b-4b67-4ece-8448-31ab9d3e9acd" data-block="681c444b-4b67-4ece-8448-31ab9d3e9acd" 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
|
Run the tests:
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-1937c5d1-b814-4303-a29c-e07c4fb91a09" data-block="1937c5d1-b814-4303-a29c-e07c4fb91a09" 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
|
Run the tests
Process completed with exit code 1.
|
Run the tests
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)
|
Loading