Skip to content

Writing flow: preserve block when merging into empty paragraph #85749

Writing flow: preserve block when merging into empty paragraph

Writing flow: preserve block when merging into empty paragraph #85749

Triggered via pull request October 6, 2023 14:39
Status Failure
Total duration 33m 2s
Artifacts 2

end2end-test.yml

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

Annotations

14 errors and 4 notices
[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)" - 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
[webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
1) [webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
1) [webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
1) [webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
2) [firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
2) [firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
2) [firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@firefox: packages/e2e-test-utils-playwright/src/admin/create-new-post.js#L33
3) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. at ../../../packages/e2e-test-utils-playwright/src/admin/create-new-post.js:33 31 | await this.visitAdminPage( 'post-new.php', query ); 32 | > 33 | await this.page.waitForFunction( ( welcomeGuide ) => { | ^ 34 | if ( ! window?.wp?.data?.dispatch ) { 35 | return false; 36 | } at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.js:33:18) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y-region-navigation.spec.js:8:3
Playwright - 4
Process completed with exit code 1.
[chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
1) [chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
1) [chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
[chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@firefox: test/e2e/specs/editor/various/splitting-merging.spec.js#L211
1) [chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 4 + Received + 0 <!-- wp:paragraph --> <p><strong>Foo</strong></p> <!-- /wp:paragraph --> - - <!-- wp:paragraph --> - <p></p> - <!-- /wp:paragraph --> 209 | // Check the content. 210 | const content = await editor.getEditedPostContent(); > 211 | expect( content ).toBe( | ^ 212 | `<!-- wp:paragraph --> 213 | <p><strong>Foo</strong></p> 214 | <!-- /wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:211:21
Playwright - 3
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky [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 11 skipped 218 passed (15.4m)
🎭 Playwright Run Summary
230 passed (18.2m)
🎭 Playwright Run Summary
2 failed [webkit] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container [firefox] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container 1 flaky [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again 2 skipped 217 passed (20.5m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/splitting-merging.spec.js:185:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container 1 skipped 230 passed (19.9m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
16.3 MB
flaky-tests-report Expired
21.5 KB