Skip to content

Make use of accessing private APIs from thunks directly #77367

Make use of accessing private APIs from thunks directly

Make use of accessing private APIs from thunks directly #77367

Re-run triggered July 7, 2023 11:41
Status Failure
Total duration 32m 51s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 9s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 4 notices
[chromium] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@firefox: test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L435
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=option').filter({ hasText: 'Bilbo Baggins' }) - waiting for locator('role=option').filter({ hasText: 'Bilbo Baggins' }) 433 | await expect( 434 | page.locator( 'role=option', { hasText: 'Bilbo Baggins' } ) > 435 | ).toBeVisible(); | ^ 436 | await page.keyboard.press( 'Enter' ); 437 | await expect.poll( editor.getEditedPostContent ) 438 | .toBe( `<!-- wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:435:5
Puppeteer - 2: packages/e2e-tests/specs/editor/various/rich-text.test.js#L108
Error: expect(received).toMatchSnapshot() Snapshot name: `RichText should transform backtick to code 2` - Snapshot - 1 + Received + 1 <!-- wp:paragraph --> - <p>A `backtick`</p> + <p>A <code>backtick</code></p> <!-- /wp:paragraph --> at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:108:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/rich-text.test.js#L117
Error: expect(received).toMatchSnapshot() Snapshot name: `RichText should undo backtick transform with backspace 1` - Snapshot - 1 + Received + 1 <!-- wp:paragraph --> - <p>`a`</p> + <p><code>a</code></p> <!-- /wp:paragraph --> at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:117:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/rich-text.test.js#L166
Error: expect(received).toMatchSnapshot() Snapshot name: `RichText should transform when typing backtick over selection 2` - Snapshot - 1 + Received + 1 <!-- wp:paragraph --> - <p>A `selection` test.</p> + <p>A <code>selection</code> test.</p> <!-- /wp:paragraph --> at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/rich-text.test.js:166:42) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5)
Puppeteer - 2
Process completed with exit code 1.
Puppeteer - 1: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L932
Error: expect(query).toBeFound(findOptions) Instead, it throws the following error: QueryEmptyError: Unable to find any nodes. at toBeFound (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:932:37) at processTicksAndRejections (internal/process/task_queues.js:95:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:825:3)
Puppeteer - 1
Process completed with exit code 1.
[firefox] › editor/blocks/list.spec.js:71:2 › List (@firefox) › can undo asterisk transform: test/e2e/specs/editor/blocks/list.spec.js#L80
1) [firefox] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ─── Error: expect(received).toBe(expected) // Object.is equality - Expected - 3 + Received + 5 - <!-- wp:paragraph --> - <p>1. </p> - <!-- /wp:paragraph --> + <!-- wp:list {"ordered":true} --> + <ol><!-- wp:list-item --> + <li></li> + <!-- /wp:list-item --></ol> + <!-- /wp:list --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 78 | await pageUtils.pressKeys( 'primary+z' ); 79 | > 80 | await expect.poll( editor.getEditedPostContent ).toBe( | ^ 81 | `<!-- wp:paragraph --> 82 | <p>1. </p> 83 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:80:3
[firefox] › editor/blocks/list.spec.js:71:2 › List (@firefox) › can undo asterisk transform: test/e2e/specs/editor/blocks/list.spec.js#L80
1) [firefox] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ─── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 3 + Received + 5 - <!-- wp:paragraph --> - <p>1. </p> - <!-- /wp:paragraph --> + <!-- wp:list {"ordered":true} --> + <ol><!-- wp:list-item --> + <li></li> + <!-- /wp:list-item --></ol> + <!-- /wp:list --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 78 | await pageUtils.pressKeys( 'primary+z' ); 79 | > 80 | await expect.poll( editor.getEditedPostContent ).toBe( | ^ 81 | `<!-- wp:paragraph --> 82 | <p>1. </p> 83 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:80:3
[firefox] › editor/blocks/list.spec.js:71:2 › List (@firefox) › can undo asterisk transform: test/e2e/specs/editor/blocks/list.spec.js#L80
1) [firefox] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ─── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 3 + Received + 5 - <!-- wp:paragraph --> - <p>1. </p> - <!-- /wp:paragraph --> + <!-- wp:list {"ordered":true} --> + <ol><!-- wp:list-item --> + <li></li> + <!-- /wp:list-item --></ol> + <!-- /wp:list --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 78 | await pageUtils.pressKeys( 'primary+z' ); 79 | > 80 | await expect.poll( editor.getEditedPostContent ).toBe( | ^ 81 | `<!-- wp:paragraph --> 82 | <p>1. </p> 83 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:80:3
[firefox] › editor/blocks/list.spec.js:495:2 › List (@firefox) › should keep nested list items when merging with paragraph: test/e2e/specs/editor/blocks/list.spec.js#L557
2) [firefox] › editor/blocks/list.spec.js:495:2 › List (@Firefox) › should keep nested list items when merging with paragraph Error: expect(received).toMatchObject(expected) - Expected - 9 + Received + 19 Array [ Object { "attributes": Object { "content": "p", + "dropCap": false, }, + "clientId": "129b4588-f0cd-4a86-8e4f-23e8d348cc36", + "innerBlocks": Array [], + "isValid": true, "name": "core/paragraph", }, Object { - "innerBlocks": Array [ - Object { "attributes": Object { "content": "1", + "dropCap": false, + }, + "clientId": "6bc01462-e6a0-4fc7-9236-e92f43a35842", + "innerBlocks": Array [], + "isValid": true, + "name": "core/paragraph", }, - "innerBlocks": Array [ Object { + "attributes": Object { + "ordered": false, + "values": "", + }, + "clientId": "c841d45a-13f9-4581-afd4-a6488e1a1768", "innerBlocks": Array [ Object { "attributes": Object { "content": "i", }, + "clientId": "4d095816-923b-4ac5-b9cd-af39de425ee4", + "innerBlocks": Array [], + "isValid": true, "name": "core/list-item", }, ], - "name": "core/list", - }, - ], - "name": "core/list-item", - }, - ], + "isValid": true, "name": "core/list", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 555 | await pageUtils.pressKeys( 'primary+z' ); 556 | > 557 | await expect.poll( editor.getBlocks ).toMatchObject( startingContent ); | ^ 558 | } ); 559 | 560 | test( 'should split into two ordered lists with paragraph', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:557:3
[firefox] › editor/blocks/list.spec.js:495:2 › List (@firefox) › should keep nested list items when merging with paragraph: test/e2e/specs/editor/blocks/list.spec.js#L557
2) [firefox] › editor/blocks/list.spec.js:495:2 › List (@Firefox) › should keep nested list items when merging with paragraph Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 9 + Received + 19 Array [ Object { "attributes": Object { "content": "p", + "dropCap": false, }, + "clientId": "0584fa9b-c07f-4c5c-a293-a75fb411e1bc", + "innerBlocks": Array [], + "isValid": true, "name": "core/paragraph", }, Object { - "innerBlocks": Array [ - Object { "attributes": Object { "content": "1", + "dropCap": false, + }, + "clientId": "88bc405d-a956-4606-909c-bed77468c8dc", + "innerBlocks": Array [], + "isValid": true, + "name": "core/paragraph", }, - "innerBlocks": Array [ Object { + "attributes": Object { + "ordered": false, + "values": "", + }, + "clientId": "6f45c7ea-722b-4dfc-a791-21f538c7931f", "innerBlocks": Array [ Object { "attributes": Object { "content": "i", }, + "clientId": "39c7b700-3123-4197-aca1-280f51acf16b", + "innerBlocks": Array [], + "isValid": true, "name": "core/list-item", }, ], - "name": "core/list", - }, - ], - "name": "core/list-item", - }, - ], + "isValid": true, "name": "core/list", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 555 | await pageUtils.pressKeys( 'primary+z' ); 556 | > 557 | await expect.poll( editor.getBlocks ).toMatchObject( startingContent ); | ^ 558 | } ); 559 | 560 | test( 'should split into two ordered lists with paragraph', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:557:3
[firefox] › editor/blocks/list.spec.js:495:2 › List (@firefox) › should keep nested list items when merging with paragraph: test/e2e/specs/editor/blocks/list.spec.js#L557
2) [firefox] › editor/blocks/list.spec.js:495:2 › List (@Firefox) › should keep nested list items when merging with paragraph Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 9 + Received + 19 Array [ Object { "attributes": Object { "content": "p", + "dropCap": false, }, + "clientId": "e09012fa-b32e-4da0-89e3-cb2313d910a5", + "innerBlocks": Array [], + "isValid": true, "name": "core/paragraph", }, Object { - "innerBlocks": Array [ - Object { "attributes": Object { "content": "1", + "dropCap": false, + }, + "clientId": "11c09be7-38eb-458d-94fc-9c53e48a1c46", + "innerBlocks": Array [], + "isValid": true, + "name": "core/paragraph", }, - "innerBlocks": Array [ Object { + "attributes": Object { + "ordered": false, + "values": "", + }, + "clientId": "c5d28300-3d3e-41c8-849f-92d2bbf67882", "innerBlocks": Array [ Object { "attributes": Object { "content": "i", }, + "clientId": "db0cb757-bc89-40d3-b297-13e26467116d", + "innerBlocks": Array [], + "isValid": true, "name": "core/list-item", }, ], - "name": "core/list", - }, - ], - "name": "core/list-item", - }, - ], + "isValid": true, "name": "core/list", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 555 | await pageUtils.pressKeys( 'primary+z' ); 556 | > 557 | await expect.poll( editor.getBlocks ).toMatchObject( startingContent ); | ^ 558 | } ); 559 | 560 | test( 'should split into two ordered lists with paragraph', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:557:3
Playwright - 4
Process completed with exit code 1.
[chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go: test/e2e/specs/editor/various/splitting-merging.spec.js#L337
1) [chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-splitting-merging-splitting-and-merging-blocks-should-undo-split-in-one-go-chromium/splitting-and-merging-blocks-should-undo-split-in-one-go-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-splitting-merging-splitting-and-merging-blocks-should-undo-split-in-one-go-chromium/splitting-and-merging-blocks-should-undo-split-in-one-go-1-actual.txt 335 | 336 | // Check the content. > 337 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 338 | } ); 339 | 340 | test( 'should not split with line break in front', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:337:49
[chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go: test/e2e/specs/editor/various/splitting-merging.spec.js#L337
1) [chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-splitting-merging-splitting-and-merging-blocks-should-undo-split-in-one-go-chromium-retry1/splitting-and-merging-blocks-should-undo-split-in-one-go-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-splitting-merging-splitting-and-merging-blocks-should-undo-split-in-one-go-chromium-retry1/splitting-and-merging-blocks-should-undo-split-in-one-go-1-actual.txt 335 | 336 | // Check the content. > 337 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 338 | } ); 339 | 340 | test( 'should not split with line break in front', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:337:49
[chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go: test/e2e/specs/editor/various/splitting-merging.spec.js#L337
1) [chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-splitting-merging-splitting-and-merging-blocks-should-undo-split-in-one-go-chromium-retry2/splitting-and-merging-blocks-should-undo-split-in-one-go-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-splitting-merging-splitting-and-merging-blocks-should-undo-split-in-one-go-chromium-retry2/splitting-and-merging-blocks-should-undo-split-in-one-go-1-actual.txt 335 | 336 | // Check the content. > 337 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 338 | } ); 339 | 340 | test( 'should not split with line break in front', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:337:49
[chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause: test/e2e/specs/editor/various/undo.spec.js#L37
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ─────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "before pause", + "content": "before pause after pause", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 35 | await pageUtils.pressKeys( 'primary+z' ); 36 | > 37 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 38 | { 39 | name: 'core/paragraph', 40 | attributes: { content: 'before pause' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:37:3
[chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause: test/e2e/specs/editor/various/undo.spec.js#L37
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "before pause", + "content": "before pause after pause", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 35 | await pageUtils.pressKeys( 'primary+z' ); 36 | > 37 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 38 | { 39 | name: 'core/paragraph', 40 | attributes: { content: 'before pause' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:37:3
[chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause: test/e2e/specs/editor/various/undo.spec.js#L37
2) [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ─────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "before pause", + "content": "before pause after pause", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 35 | await pageUtils.pressKeys( 'primary+z' ); 36 | > 37 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 38 | { 39 | name: 'core/paragraph', 40 | attributes: { content: 'before pause' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:37:3
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change: test/e2e/specs/editor/various/undo.spec.js#L108
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "before keyboard ", + "content": "before keyboard <strong>after keyboard</strong>", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 106 | await pageUtils.pressKeys( 'primary+z' ); 107 | > 108 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 109 | { 110 | name: 'core/paragraph', 111 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:108:3
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change: test/e2e/specs/editor/various/undo.spec.js#L108
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "before keyboard ", + "content": "before keyboard <strong>after keyboard</strong>", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 106 | await pageUtils.pressKeys( 'primary+z' ); 107 | > 108 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 109 | { 110 | name: 'core/paragraph', 111 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:108:3
[chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change: test/e2e/specs/editor/various/undo.spec.js#L108
3) [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "before keyboard ", + "content": "before keyboard <strong>after keyboard</strong>", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 106 | await pageUtils.pressKeys( 'primary+z' ); 107 | > 108 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 109 | { 110 | name: 'core/paragraph', 111 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:108:3
[chromium] › editor/various/undo.spec.js:181:2 › undo › Should undo/redo to expected level intervals: test/e2e/specs/editor/various/undo.spec.js#L213
4) [chromium] › editor/various/undo.spec.js:181:2 › undo › Should undo/redo to expected level intervals Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 @@ -5,7 +5,7 @@ <!-- wp:paragraph --> <p>is</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p></p> + <p>test</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 211 | await pageUtils.pressKeys( 'primary+z' ); // Undo 3rd paragraph text. 212 | > 213 | await expect.poll( editor.getEditedPostContent ).toBe( thirdBlock ); | ^ 214 | await expect.poll( undoUtils.getSelection ).toEqual( { 215 | blockIndex: 2, 216 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/undo.spec.js:213:3
[chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media: test/e2e/specs/editor/blocks/classic.spec.js#L98
1) [chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media, convert to blocks, and undo in one step Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=document[name="Block: Classic"i]') - waiting for locator('role=document[name="Block: Classic"i]') 96 | await expect( 97 | page.locator( 'role=document[name="Block: Classic"i]' ) > 98 | ).toBeVisible(); | ^ 99 | await expect 100 | .poll( editor.getEditedPostContent ) 101 | .toMatch( /\[gallery ids=\"\d+\"\]/ ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/classic.spec.js:98:5
[chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media: test/e2e/specs/editor/blocks/classic.spec.js#L98
1) [chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media, convert to blocks, and undo in one step Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=document[name="Block: Classic"i]') - waiting for locator('role=document[name="Block: Classic"i]') 96 | await expect( 97 | page.locator( 'role=document[name="Block: Classic"i]' ) > 98 | ).toBeVisible(); | ^ 99 | await expect 100 | .poll( editor.getEditedPostContent ) 101 | .toMatch( /\[gallery ids=\"\d+\"\]/ ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/classic.spec.js:98:5
[chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media: test/e2e/specs/editor/blocks/classic.spec.js#L98
1) [chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media, convert to blocks, and undo in one step Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=document[name="Block: Classic"i]') - waiting for locator('role=document[name="Block: Classic"i]') 96 | await expect( 97 | page.locator( 'role=document[name="Block: Classic"i]' ) > 98 | ).toBeVisible(); | ^ 99 | await expect 100 | .poll( editor.getEditedPostContent ) 101 | .toMatch( /\[gallery ids=\"\d+\"\]/ ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/classic.spec.js:98:5
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode: test/e2e/specs/editor/blocks/gallery.spec.js#L76
2) [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo Error: expect(received).toBe(expected) // Object.is equality Expected: "" Received: "<!-- wp:gallery {\"columns\":3,\"linkTo\":\"none\"} --> <figure class=\"wp-block-gallery has-nested-images columns-3 is-cropped\"><!-- wp:image {\"id\":54,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} --> <figure class=\"wp-block-image size-large\"><img src=\"http://localhost:8889/wp-content/uploads/2023/07/10x10_e2e_test_image_z9T8jK.png\" alt=\"\" class=\"wp-image-54\"/></figure> <!-- /wp:image --></figure> <!-- /wp:gallery -->" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 74 | ); 75 | > 76 | await expect.poll( editor.getEditedPostContent ).toBe( '' ); | ^ 77 | 78 | await page.click( 79 | 'role=region[name="Editor top bar"i] >> role=button[name="Redo"i]' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:76:3
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode: test/e2e/specs/editor/blocks/gallery.spec.js#L76
2) [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "" Received: "<!-- wp:gallery {\"columns\":3,\"linkTo\":\"none\"} --> <figure class=\"wp-block-gallery has-nested-images columns-3 is-cropped\"><!-- wp:image {\"id\":56,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} --> <figure class=\"wp-block-image size-large\"><img src=\"http://localhost:8889/wp-content/uploads/2023/07/10x10_e2e_test_image_z9T8jK.png\" alt=\"\" class=\"wp-image-56\"/></figure> <!-- /wp:image --></figure> <!-- /wp:gallery -->" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 74 | ); 75 | > 76 | await expect.poll( editor.getEditedPostContent ).toBe( '' ); | ^ 77 | 78 | await page.click( 79 | 'role=region[name="Editor top bar"i] >> role=button[name="Redo"i]' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:76:3
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode: test/e2e/specs/editor/blocks/gallery.spec.js#L76
2) [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "" Received: "<!-- wp:gallery {\"columns\":3,\"linkTo\":\"none\"} --> <figure class=\"wp-block-gallery has-nested-images columns-3 is-cropped\"><!-- wp:image {\"id\":58,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} --> <figure class=\"wp-block-image size-large\"><img src=\"http://localhost:8889/wp-content/uploads/2023/07/10x10_e2e_test_image_z9T8jK.png\" alt=\"\" class=\"wp-image-58\"/></figure> <!-- /wp:image --></figure> <!-- /wp:gallery -->" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 74 | ); 75 | > 76 | await expect.poll( editor.getEditedPostContent ).toBe( '' ); | ^ 77 | 78 | await page.click( 79 | 'role=region[name="Editor top bar"i] >> role=button[name="Redo"i]' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:76:3
[chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state: test/e2e/specs/editor/blocks/image.spec.js#L400
3) [chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:image --> - <figure class="wp-block-image"><img alt=""/></figure> + <!-- wp:image {"id":104,"sizeSlug":"full","linkDestination":"none"} --> + <figure class="wp-block-image size-full"><img src="http://localhost:8889/wp-content/uploads/2023/07/e2d48358-4656-4f1d-bbe2-daa55d96c19d.png" alt="" class="wp-image-104"/></figure> <!-- /wp:image --> 398 | // Expect an empty image block (placeholder) rather than one with a 399 | // broken temporary URL. > 400 | expect( await editor.getEditedPostContent() ).toBe( `<!-- wp:image --> | ^ 401 | <figure class="wp-block-image"><img alt=""/></figure> 402 | <!-- /wp:image -->` ); 403 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:400:49
[chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state: test/e2e/specs/editor/blocks/image.spec.js#L400
3) [chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:image --> - <figure class="wp-block-image"><img alt=""/></figure> + <!-- wp:image {"id":106,"sizeSlug":"full","linkDestination":"none"} --> + <figure class="wp-block-image size-full"><img src="http://localhost:8889/wp-content/uploads/2023/07/993d4170-f299-4f9a-91ba-f093f09d3bca.png" alt="" class="wp-image-106"/></figure> <!-- /wp:image --> 398 | // Expect an empty image block (placeholder) rather than one with a 399 | // broken temporary URL. > 400 | expect( await editor.getEditedPostContent() ).toBe( `<!-- wp:image --> | ^ 401 | <figure class="wp-block-image"><img alt=""/></figure> 402 | <!-- /wp:image -->` ); 403 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:400:49
[chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state: test/e2e/specs/editor/blocks/image.spec.js#L400
3) [chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:image --> - <figure class="wp-block-image"><img alt=""/></figure> + <!-- wp:image {"id":108,"sizeSlug":"full","linkDestination":"none"} --> + <figure class="wp-block-image size-full"><img src="http://localhost:8889/wp-content/uploads/2023/07/16590bb8-23ae-4f57-a33d-50e4b30ab1f1.png" alt="" class="wp-image-108"/></figure> <!-- /wp:image --> 398 | // Expect an empty image block (placeholder) rather than one with a 399 | // broken temporary URL. > 400 | expect( await editor.getEditedPostContent() ).toBe( `<!-- wp:image --> | ^ 401 | <figure class="wp-block-image"><img alt=""/></figure> 402 | <!-- /wp:image -->` ); 403 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:400:49
[chromium] › editor/blocks/list.spec.js:71:2 › List (@firefox) › can undo asterisk transform: test/e2e/specs/editor/blocks/list.spec.js#L80
4) [chromium] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ── Error: expect(received).toBe(expected) // Object.is equality - Expected - 3 + Received + 5 - <!-- wp:paragraph --> - <p>1. </p> - <!-- /wp:paragraph --> + <!-- wp:list {"ordered":true} --> + <ol><!-- wp:list-item --> + <li></li> + <!-- /wp:list-item --></ol> + <!-- /wp:list --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 78 | await pageUtils.pressKeys( 'primary+z' ); 79 | > 80 | await expect.poll( editor.getEditedPostContent ).toBe( | ^ 81 | `<!-- wp:paragraph --> 82 | <p>1. </p> 83 | <!-- /wp:paragraph -->` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:80:3
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block 175 passed (23.7m)
🎭 Playwright Run Summary
2 failed [firefox] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ──── [firefox] › editor/blocks/list.spec.js:495:2 › List (@Firefox) › should keep nested list items when merging with paragraph 2 skipped 162 passed (12.7m)
🎭 Playwright Run Summary
14 failed [chromium] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks › should undo split in one go [chromium] › editor/various/undo.spec.js:17:2 › undo › should undo typing after a pause ──────── [chromium] › editor/various/undo.spec.js:85:2 › undo › should undo typing after non input change [chromium] › editor/various/undo.spec.js:181:2 › undo › Should undo/redo to expected level intervals [chromium] › editor/various/undo.spec.js:318:2 › undo › should undo for explicit persistence editing post [chromium] › editor/various/undo.spec.js:360:2 › undo › should not create undo levels when saving [chromium] › editor/various/undo.spec.js:378:2 › undo › should not create undo levels when publishing [chromium] › editor/various/undo.spec.js:391:2 › undo › should immediately create an undo level on typing [chromium] › editor/various/undo.spec.js:432:2 › undo › should be able to undo and redo when transient changes have been made and we update/publish [chromium] › editor/various/undo.spec.js:462:2 › undo › should be able to undo and redo property cross property changes [chromium] › site-editor/template-revert.spec.js:103:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar [chromium] › site-editor/template-revert.spec.js:158:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar [chromium] › site-editor/template-revert.spec.js:190:2 › Template Revert › should show the original content after revert, clicking undo in the notice then undo in the header toolbar [chromium] › site-editor/template-revert.spec.js:227:2 › Template Revert › should show the edited content after revert, clicking undo in the header toolbar, save and reload 135 passed (17.4m)
🎭 Playwright Run Summary
10 failed [chromium] › editor/blocks/classic.spec.js:47:2 › Classic › should insert media, convert to blocks, and undo in one step [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo [chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state [chromium] › editor/blocks/list.spec.js:71:2 › List (@Firefox) › can undo asterisk transform ─── [chromium] › editor/blocks/list.spec.js:87:2 › List (@Firefox) › should undo asterisk transform with backspace (-firefox) [chromium] › editor/blocks/list.spec.js:102:2 › List (@Firefox) › should undo asterisk transform with backspace after selection changes (-firefox) [chromium] › editor/blocks/list.spec.js:120:2 › List (@Firefox) › should undo asterisk transform with backspace setting isTyping state (-firefox) [chromium] › editor/blocks/list.spec.js:136:2 › List (@Firefox) › should undo asterisk transform with backspace after selection changes without requestIdleCallback (-firefox) [chromium] › editor/blocks/list.spec.js:155:2 › List (@Firefox) › should undo asterisk transform with escape (-firefox) [chromium] › editor/blocks/list.spec.js:495:2 › List (@Firefox) › should keep nested list items when merging with paragraph 170 passed (17.9m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
160 MB
flaky-tests-report Expired
2.83 KB