Skip to content

Writing Flow/Rich Text: unify split logic #85717

Writing Flow/Rich Text: unify split logic

Writing Flow/Rich Text: unify split logic #85717

Triggered via pull request October 6, 2023 09:01
Status Cancelled
Total duration 42m 0s
Artifacts 2

end2end-test.yml

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

Annotations

40 errors and 4 notices
Puppeteer - 2: packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js#L100
Error: expect(received).toMatchSnapshot() Snapshot name: `cpt locking template_lock all should insert line breaks when using enter and shift-enter 1` - Snapshot - 1 + Received + 1 @@ -1,11 +1,11 @@ "<!-- wp:image --> <figure class="wp-block-image"><img alt=""/></figure> <!-- /wp:image --> <!-- wp:paragraph {"placeholder":"Add a description"} --> - <p>First line<br>Second line<br>Third line</p> + <p>First lineSecond line Third line </p> <!-- /wp:paragraph --> <!-- wp:quote --> <blockquote class="wp-block-quote"><!-- wp:paragraph --> <p></p> at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/cpt-locking.test.js:100:43) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Puppeteer - 2
Process completed with exit code 1.
[chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks: test/e2e/specs/editor/various/rtl.spec.js#L137
1) [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ──── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>٠<br>١</p> + <p>٠ ١ ٠ </p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>٠<br>١<br>٢</p> + <p>١ ٢ </p> <!-- /wp:paragraph --> 135 | // Check the content. 136 | const content = await editor.getEditedPostContent(); > 137 | expect( content ).toBe( | ^ 138 | `<!-- wp:paragraph --> 139 | <p>٠<br>١</p> 140 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:137:21
[chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks: test/e2e/specs/editor/various/rtl.spec.js#L137
1) [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>٠<br>١</p> + <p>٠ ١ ٠ </p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>٠<br>١<br>٢</p> + <p>١ ٢ </p> <!-- /wp:paragraph --> 135 | // Check the content. 136 | const content = await editor.getEditedPostContent(); > 137 | expect( content ).toBe( | ^ 138 | `<!-- wp:paragraph --> 139 | <p>٠<br>١</p> 140 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:137:21
[chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks: test/e2e/specs/editor/various/rtl.spec.js#L137
1) [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 <!-- wp:paragraph --> - <p>٠<br>١</p> + <p>٠ ١ ٠ </p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>٠<br>١<br>٢</p> + <p>١ ٢ </p> <!-- /wp:paragraph --> 135 | // Check the content. 136 | const content = await editor.getEditedPostContent(); > 137 | expect( content ).toBe( | ^ 138 | `<!-- wp:paragraph --> 139 | <p>٠<br>١</p> 140 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:137:21
[chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L140
2) [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>First</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p>Still Second </p> <!-- /wp:paragraph --> 138 | 139 | const content = await editor.getEditedPostContent(); > 140 | expect( content ).toBe( | ^ 141 | `<!-- wp:paragraph --> 142 | <p>First</p> 143 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
[chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L140
2) [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>First</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p>Still Second </p> <!-- /wp:paragraph --> 138 | 139 | const content = await editor.getEditedPostContent(); > 140 | expect( content ).toBe( | ^ 141 | `<!-- wp:paragraph --> 142 | <p>First</p> 143 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
[chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L140
2) [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>First</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p>Still Second </p> <!-- /wp:paragraph --> 138 | 139 | const content = await editor.getEditedPostContent(); > 140 | expect( content ).toBe( | ^ 141 | `<!-- wp:paragraph --> 142 | <p>First</p> 143 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
[chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L365
3) [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>2</p> + <p>2 </p> <!-- /wp:paragraph --> 363 | // Check the content. 364 | const content = await editor.getEditedPostContent(); > 365 | expect( content ).toBe( | ^ 366 | `<!-- wp:paragraph --> 367 | <p>1</p> 368 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
[chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L365
3) [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>2</p> + <p>2 </p> <!-- /wp:paragraph --> 363 | // Check the content. 364 | const content = await editor.getEditedPostContent(); > 365 | expect( content ).toBe( | ^ 366 | `<!-- wp:paragraph --> 367 | <p>1</p> 368 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
[chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L365
3) [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>2</p> + <p>2 </p> <!-- /wp:paragraph --> 363 | // Check the content. 364 | const content = await editor.getEditedPostContent(); > 365 | expect( content ).toBe( | ^ 366 | `<!-- wp:paragraph --> 367 | <p>1</p> 368 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
[chromium] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L287
4) [chromium] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>a<br></p> + <p>a </p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 285 | await page.keyboard.type( 'a' ); 286 | await pageUtils.pressKeys( 'shift+Enter' ); > 287 | await expect.poll( editor.getEditedPostContent ) | ^ 288 | .toBe( `<!-- wp:paragraph --> 289 | <p>a<br></p> 290 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:287:3
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded: test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded Error: expect(received).toHaveCSS(expected) Expected string: "rgb(179, 179, 179)" Received string: "rgb(255, 255, 255)" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" 88 | const overlay = coverBlock.locator( '.wp-block-cover__background' ); 89 | > 90 | await expect( overlay ).toHaveCSS( | ^ 91 | 'background-color', 92 | 'rgb(179, 179, 179)' 93 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded: test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveCSS(expected) Expected string: "rgb(179, 179, 179)" Received string: "rgb(255, 255, 255)" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" 88 | const overlay = coverBlock.locator( '.wp-block-cover__background' ); 89 | > 90 | await expect( overlay ).toHaveCSS( | ^ 91 | 'background-color', 92 | 'rgb(179, 179, 179)' 93 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded: test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveCSS(expected) Expected string: "rgb(179, 179, 179)" Received string: "rgb(255, 255, 255)" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background') - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" - locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span> - unexpected value "rgb(255, 255, 255)" 88 | const overlay = coverBlock.locator( '.wp-block-cover__background' ); 89 | > 90 | await expect( overlay ).toHaveCSS( | ^ 91 | 'background-color', 92 | 'rgb(179, 179, 179)' 93 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
[chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one: test/e2e/specs/editor/blocks/image.spec.js#L88
2) [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one Error: expect(received).toBe(expected) // Object.is equality Expected: "12" Received: "2" 86 | .locator( ':root' ) 87 | .evaluate( () => document.activeElement.innerHTML ) > 88 | ).toBe( '12' ); | ^ 89 | } ); 90 | 91 | test( 'should allow soft line breaks in caption', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:88:5
[chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one: test/e2e/specs/editor/blocks/image.spec.js#L88
2) [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "12" Received: "2" 86 | .locator( ':root' ) 87 | .evaluate( () => document.activeElement.innerHTML ) > 88 | ).toBe( '12' ); | ^ 89 | } ); 90 | 91 | test( 'should allow soft line breaks in caption', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:88:5
[chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one: test/e2e/specs/editor/blocks/image.spec.js#L88
2) [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "12" Received: "2" 86 | .locator( ':root' ) 87 | .evaluate( () => document.activeElement.innerHTML ) > 88 | ).toBe( '12' ); | ^ 89 | } ); 90 | 91 | test( 'should allow soft line breaks in caption', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:88:5
[chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption: test/e2e/specs/editor/blocks/image.spec.js#L118
3) [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption Error: expect(received).toBe(expected) // Object.is equality Expected: "1<br data-rich-text-line-break=\"true\">2" Received: "12" 116 | .locator( ':root' ) 117 | .evaluate( () => document.activeElement.innerHTML ) > 118 | ).toBe( '1<br data-rich-text-line-break="true">2' ); | ^ 119 | } ); 120 | 121 | test( 'should have keyboard navigable toolbar for caption', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:118:5
[chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption: test/e2e/specs/editor/blocks/image.spec.js#L118
3) [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "1<br data-rich-text-line-break=\"true\">2" Received: "12" 116 | .locator( ':root' ) 117 | .evaluate( () => document.activeElement.innerHTML ) > 118 | ).toBe( '1<br data-rich-text-line-break="true">2' ); | ^ 119 | } ); 120 | 121 | test( 'should have keyboard navigable toolbar for caption', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:118:5
[chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption: test/e2e/specs/editor/blocks/image.spec.js#L118
3) [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "1<br data-rich-text-line-break=\"true\">2" Received: "12" 116 | .locator( ':root' ) 117 | .evaluate( () => document.activeElement.innerHTML ) > 118 | ).toBe( '1<br data-rich-text-line-break="true">2' ); | ^ 119 | } ); 120 | 121 | test( 'should have keyboard navigable toolbar for caption', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:118:5
[chromium] › editor/blocks/list.spec.js:293:2 › List (@firefox) › can be created by converting a paragraph with line breaks: test/e2e/specs/editor/blocks/list.spec.js#L306
4) [chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting a paragraph with line breaks Error: expect(received).toBe(expected) // Object.is equality - Expected - 5 + Received + 1 <!-- wp:list --> <ul><!-- wp:list-item --> - <li>one</li> - <!-- /wp:list-item --> - - <!-- wp:list-item --> - <li>two</li> + <li>one two </li> <!-- /wp:list-item --></ul> <!-- /wp:list --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 304 | await editor.transformBlockTo( 'core/list' ); 305 | > 306 | await expect.poll( editor.getEditedPostContent ).toBe( | ^ 307 | `<!-- wp:list --> 308 | <ul><!-- wp:list-item --> 309 | <li>one</li> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:306:3
[webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L140
1) [webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>First</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p>Still Second </p> <!-- /wp:paragraph --> 138 | 139 | const content = await editor.getEditedPostContent(); > 140 | expect( content ).toBe( | ^ 141 | `<!-- wp:paragraph --> 142 | <p>First</p> 143 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
[webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L140
1) [webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>First</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p>Still Second </p> <!-- /wp:paragraph --> 138 | 139 | const content = await editor.getEditedPostContent(); > 140 | expect( content ).toBe( | ^ 141 | `<!-- wp:paragraph --> 142 | <p>First</p> 143 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
[webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L140
1) [webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>First</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>Still Second</p> + <p>Still Second </p> <!-- /wp:paragraph --> 138 | 139 | const content = await editor.getEditedPostContent(); > 140 | expect( content ).toBe( | ^ 141 | `<!-- wp:paragraph --> 142 | <p>First</p> 143 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:140:21
[webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L365
2) [webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>2</p> + <p>2 </p> <!-- /wp:paragraph --> 363 | // Check the content. 364 | const content = await editor.getEditedPostContent(); > 365 | expect( content ).toBe( | ^ 366 | `<!-- wp:paragraph --> 367 | <p>1</p> 368 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
[webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L365
2) [webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>2</p> + <p>2 </p> <!-- /wp:paragraph --> 363 | // Check the content. 364 | const content = await editor.getEditedPostContent(); > 365 | expect( content ).toBe( | ^ 366 | `<!-- wp:paragraph --> 367 | <p>1</p> 368 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
[webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L365
2) [webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> <p>1</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> - <p>2</p> + <p>2 </p> <!-- /wp:paragraph --> 363 | // Check the content. 364 | const content = await editor.getEditedPostContent(); > 365 | expect( content ).toBe( | ^ 366 | `<!-- wp:paragraph --> 367 | <p>1</p> 368 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:365:21
[webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L287
3) [webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>a<br></p> + <p>a </p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 285 | await page.keyboard.type( 'a' ); 286 | await pageUtils.pressKeys( 'shift+Enter' ); > 287 | await expect.poll( editor.getEditedPostContent ) | ^ 288 | .toBe( `<!-- wp:paragraph --> 289 | <p>a<br></p> 290 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:287:3
[webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L287
3) [webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>a<br></p> + <p>a </p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 285 | await page.keyboard.type( 'a' ); 286 | await pageUtils.pressKeys( 'shift+Enter' ); > 287 | await expect.poll( editor.getEditedPostContent ) | ^ 288 | .toBe( `<!-- wp:paragraph --> 289 | <p>a<br></p> 290 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:287:3
[webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L287
3) [webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>a<br></p> + <p>a </p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 285 | await page.keyboard.type( 'a' ); 286 | await pageUtils.pressKeys( 'shift+Enter' ); > 287 | await expect.poll( editor.getEditedPostContent ) | ^ 288 | .toBe( `<!-- wp:paragraph --> 289 | <p>a<br></p> 290 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:287:3
[webkit] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L302
4) [webkit] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 <!-- wp:paragraph --> - <p>a<br>b</p> + <p>a b </p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 300 | await pageUtils.pressKeys( 'shift+Enter' ); 301 | await page.keyboard.type( 'b' ); > 302 | await expect.poll( editor.getEditedPostContent ) | ^ 303 | .toBe( `<!-- wp:paragraph --> 304 | <p>a<br>b</p> 305 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:302:3
[chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge: test/e2e/specs/editor/various/multi-block-selection.spec.js#L103
1) [chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge Error: expect(received).toMatchObject(expected) - Expected - 7 + Received + 3 Array [ Object { "attributes": Object { - "content": "1<br>2|", + "content": "12|", + "dropCap": false, }, - "name": "core/paragraph", - }, - Object { - "attributes": Object { - "content": "3", - }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 101 | await page.keyboard.type( '|' ); 102 | > 103 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 104 | { name: 'core/paragraph', attributes: { content: '1<br>2|' } }, 105 | { name: 'core/paragraph', attributes: { content: '3' } }, 106 | ] ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:103:3
[chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge: test/e2e/specs/editor/various/multi-block-selection.spec.js#L103
1) [chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 7 + Received + 3 Array [ Object { "attributes": Object { - "content": "1<br>2|", + "content": "12|", + "dropCap": false, }, - "name": "core/paragraph", - }, - Object { - "attributes": Object { - "content": "3", - }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 101 | await page.keyboard.type( '|' ); 102 | > 103 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 104 | { name: 'core/paragraph', attributes: { content: '1<br>2|' } }, 105 | { name: 'core/paragraph', attributes: { content: '3' } }, 106 | ] ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:103:3
[chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge: test/e2e/specs/editor/various/multi-block-selection.spec.js#L103
1) [chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 7 + Received + 3 Array [ Object { "attributes": Object { - "content": "1<br>2|", + "content": "12|", + "dropCap": false, }, - "name": "core/paragraph", - }, - Object { - "attributes": Object { - "content": "3", - }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 101 | await page.keyboard.type( '|' ); 102 | > 103 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 104 | { name: 'core/paragraph', attributes: { content: '1<br>2|' } }, 105 | { name: 'core/paragraph', attributes: { content: '3' } }, 106 | ] ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:103:3
[chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list: test/e2e/specs/editor/various/rich-text.spec.js#L688
2) [chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -1,17 +1,17 @@ Array [ Object { "attributes": Object { - "content": "1<br>2", + "content": "1 2 ", }, "name": "core/paragraph", }, Object { "innerBlocks": Array [ Object { "attributes": Object { - "content": "1<br>2", + "content": "1 2 ", }, "name": "core/list-item", }, ], "name": "core/list", 686 | await pageUtils.pressKeys( 'primary+v' ); 687 | > 688 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 689 | { 690 | name: 'core/paragraph', 691 | attributes: { content: '1<br>2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:688:38
[chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list: test/e2e/specs/editor/various/rich-text.spec.js#L688
2) [chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -1,17 +1,17 @@ Array [ Object { "attributes": Object { - "content": "1<br>2", + "content": "1 2 ", }, "name": "core/paragraph", }, Object { "innerBlocks": Array [ Object { "attributes": Object { - "content": "1<br>2", + "content": "1 2 ", }, "name": "core/list-item", }, ], "name": "core/list", 686 | await pageUtils.pressKeys( 'primary+v' ); 687 | > 688 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 689 | { 690 | name: 'core/paragraph', 691 | attributes: { content: '1<br>2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:688:38
[chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list: test/e2e/specs/editor/various/rich-text.spec.js#L688
2) [chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -1,17 +1,17 @@ Array [ Object { "attributes": Object { - "content": "1<br>2", + "content": "1 2 ", }, "name": "core/paragraph", }, Object { "innerBlocks": Array [ Object { "attributes": Object { - "content": "1<br>2", + "content": "1 2 ", }, "name": "core/list-item", }, ], "name": "core/list", 686 | await pageUtils.pressKeys( 'primary+v' ); 687 | > 688 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 689 | { 690 | name: 'core/paragraph', 691 | attributes: { content: '1<br>2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:688:38
[chromium] › editor/various/multi-block-selection.spec.js:245:2 › Multi-block selection › should select with shift + click: test/e2e/specs/editor/various/multi-block-selection.spec.js#L1
3) [chromium] › editor/various/multi-block-selection.spec.js:245:2 › Multi-block selection › should select with shift + click Test timeout of 100000ms exceeded.
Playwright - 2
Process completed with exit code 1.
🎭 Playwright Run Summary
11 failed [chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ───── [chromium] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line [chromium] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) [chromium] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end [chromium] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing [chromium] › editor/various/writing-flow.spec.js:308:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text [chromium] › editor/various/writing-flow.spec.js:323:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start [chromium] › editor/various/writing-flow.spec.js:338:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container [chromium] › editor/various/writing-flow.spec.js:570:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select [chromium] › editor/various/writing-flow.spec.js:634:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break [chromium] › editor/various/writing-flow.spec.js:723:2 › Writing Flow (@Firefox, @WebKit) › should remember initial vertical position 1 skipped 220 passed (18.2m)
🎭 Playwright Run Summary
14 failed [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption [chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting a paragraph with line breaks [chromium] › editor/blocks/list.spec.js:319:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks [chromium] › editor/blocks/list.spec.js:889:2 › List (@Firefox) › should insert a line break on shift+enter [chromium] › editor/blocks/list.spec.js:907:2 › List (@Firefox) › should insert a line break on shift+enter in a non trailing list item [chromium] › editor/blocks/preformatted.spec.js:11:2 › Preformatted › should preserve character newlines [chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging [chromium] › editor/blocks/table.spec.js:231:2 › Table › allows cells to be selected when the cell area outside of the RichText is clicked [chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/verse › should exit on triple Enter and merge back [chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/code › should exit on triple Enter and merge back [chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/preformatted › should exit on triple Enter and merge back [chromium] › editor/plugins/deprecated-node-matcher.spec.js:36:2 › Deprecated Node Matcher › should insert block with children source 11 skipped 205 passed (22.9m)
🎭 Playwright Run Summary
23 failed [webkit] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line [webkit] › editor/various/splitting-merging.spec.js:350:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox) [webkit] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end [webkit] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing [webkit] › editor/various/writing-flow.spec.js:308:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text [webkit] › editor/various/writing-flow.spec.js:323:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start [webkit] › editor/various/writing-flow.spec.js:338:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container [webkit] › editor/various/writing-flow.spec.js:570:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select [webkit] › editor/various/writing-flow.spec.js:634:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break [webkit] › editor/various/writing-flow.spec.js:723:2 › Writing Flow (@Firefox, @WebKit) › should remember initial vertical position [firefox] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting a paragraph with line breaks [firefox] › editor/blocks/list.spec.js:319:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks [firefox] › editor/blocks/list.spec.js:889:2 › List (@Firefox) › should insert a line break on shift+enter [firefox] › editor/blocks/list.spec.js:907:2 › List (@Firefox) › should insert a line break on shift+enter in a non trailing list item [firefox] › editor/various/splitting-merging.spec.js:113:2 › splitting and merging blocks (@Firefox, @WebKit) › should delete an empty first line [firefox] › editor/various/writing-flow.spec.js:279:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end [firefox] › editor/various/writing-flow.spec.js:293:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at end and continue writing [firefox] › editor/various/writing-flow.spec.js:308:2 › Writing Flow (@Firefox, @WebKit) › should insert line break mid text [firefox] › editor/various/writing-flow.spec.js:323:2 › Writing Flow (@Firefox, @WebKit) › should insert line break at start [firefox] › editor/various/writing-flow.spec.js:338:2 › Writing Flow (@Firefox, @WebKit) › should insert line break in empty container [firefox] › editor/various/writing-flow.spec.js:570:2 › Writing Flow (@Firefox, @WebKit) › should not prematurely multi-select [firefox] › editor/various/writing-flow.spec.js:634:2 › Writing Flow (@Firefox, @WebKit) › should merge and then soft line break [firefox] › editor/various/writing-flow.spec.js:723:2 › Writing Flow (@Firefox, @WebKit) › should remember initial vertical position 2 skipped 197 passed (26.7m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/various/multi-block-selection.spec.js:83:2 › Multi-block selection › should use selection direction to determine vertical edge [chromium] › editor/various/rich-text.spec.js:661:2 › RichText › should paste paragraph contents into list 1 flaky [chromium] › editor/various/multi-block-selection.spec.js:245:2 › Multi-block selection › should select with shift + click 227 passed (27.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
215 MB
flaky-tests-report Expired
985 Bytes