Skip to content

Rich text: use getPasteEventData #85518

Rich text: use getPasteEventData

Rich text: use getPasteEventData #85518

Triggered via pull request October 4, 2023 15:57
Status Failure
Total duration 35m 0s
Artifacts 2

end2end-test.yml

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

Annotations

18 errors and 4 notices
[chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text: test/e2e/specs/editor/blocks/code.spec.js#L45
1) [chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text ───────────────── Error: Snapshot comparison failed: <!-- wp:code --> <pre class="wp-block-code"><code>&lt;img /> &lt;br></code></pre> <!-- /wp:code --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-code-Code-should-paste-plain-text-chromium/Code-should-paste-plain-text-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-code-Code-should-paste-plain-text-chromium/Code-should-paste-plain-text-1-actual.txt 43 | await pageUtils.pressKeys( 'primary+v' ); 44 | > 45 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 46 | } ); 47 | } ); 48 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/code.spec.js:45:49
[chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text: test/e2e/specs/editor/blocks/code.spec.js#L45
1) [chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:code --> <pre class="wp-block-code"><code>&lt;img /> &lt;br></code></pre> <!-- /wp:code --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-code-Code-should-paste-plain-text-chromium-retry1/Code-should-paste-plain-text-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-code-Code-should-paste-plain-text-chromium-retry1/Code-should-paste-plain-text-1-actual.txt 43 | await pageUtils.pressKeys( 'primary+v' ); 44 | > 45 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 46 | } ); 47 | } ); 48 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/code.spec.js:45:49
[chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text: test/e2e/specs/editor/blocks/code.spec.js#L45
1) [chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:code --> <pre class="wp-block-code"><code>&lt;img /> &lt;br></code></pre> <!-- /wp:code --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-code-Code-should-paste-plain-text-chromium-retry2/Code-should-paste-plain-text-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-code-Code-should-paste-plain-text-chromium-retry2/Code-should-paste-plain-text-1-actual.txt 43 | await pageUtils.pressKeys( 'primary+v' ); 44 | > 45 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 46 | } ); 47 | } ); 48 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/code.spec.js:45:49
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode: test/e2e/specs/editor/blocks/gallery.spec.js#L61
2) [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected) Expected string: "http://localhost:8889/wp-content/uploads/2023/10/10x10_e2e_test_image_z9T8jK.png" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') 59 | ); 60 | > 61 | await expect( img ).toHaveAttribute( 'src', uploadedMedia.source_url ); | ^ 62 | await expect( img ).toBeVisible(); 63 | 64 | const editedPostContent = await editor.getEditedPostContent(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:61:23
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode: test/e2e/specs/editor/blocks/gallery.spec.js#L61
2) [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected) Expected string: "http://localhost:8889/wp-content/uploads/2023/10/10x10_e2e_test_image_z9T8jK.png" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') 59 | ); 60 | > 61 | await expect( img ).toHaveAttribute( 'src', uploadedMedia.source_url ); | ^ 62 | await expect( img ).toBeVisible(); 63 | 64 | const editedPostContent = await editor.getEditedPostContent(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:61:23
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode: test/e2e/specs/editor/blocks/gallery.spec.js#L61
2) [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected) Expected string: "http://localhost:8889/wp-content/uploads/2023/10/10x10_e2e_test_image_z9T8jK.png" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') 59 | ); 60 | > 61 | await expect( img ).toHaveAttribute( 'src', uploadedMedia.source_url ); | ^ 62 | await expect( img ).toBeVisible(); 63 | 64 | const editedPostContent = await editor.getEditedPostContent(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:61:23
Playwright - 1
Process completed with exit code 1.
[webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1225
1) [webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@WebKit) Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>1</strong>|2", + "content": "|", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 1223 | // Ensure selection is in the correct place. 1224 | await page.keyboard.type( '|' ); > 1225 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1226 | { 1227 | name: 'core/paragraph', 1228 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1225:3
[chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L26
1) [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>Copy - collapsed selection</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>Copy - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-actual.txt 24 | await page.keyboard.press( 'ArrowDown' ); 25 | await pageUtils.pressKeys( 'primary+v' ); > 26 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 27 | } ); 28 | 29 | test( 'should cut and paste individual blocks with collapsed selection', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:26:49
[chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L26
1) [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>Copy - collapsed selection</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>Copy - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-actual.txt 24 | await page.keyboard.press( 'ArrowDown' ); 25 | await pageUtils.pressKeys( 'primary+v' ); > 26 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 27 | } ); 28 | 29 | test( 'should cut and paste individual blocks with collapsed selection', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:26:49
[chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L26
1) [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>Copy - collapsed selection</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>Copy - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-actual.txt 24 | await page.keyboard.press( 'ArrowDown' ); 25 | await pageUtils.pressKeys( 'primary+v' ); > 26 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 27 | } ); 28 | 29 | test( 'should cut and paste individual blocks with collapsed selection', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:26:49
[chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L52
2) [chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>Cut - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-actual.txt 50 | await page.keyboard.press( 'ArrowDown' ); 51 | await pageUtils.pressKeys( 'primary+v' ); > 52 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 53 | } ); 54 | 55 | test( 'should copy blocks when non textual elements are focused (image, spacer)', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:52:49
[chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L52
2) [chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>Cut - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-actual.txt 50 | await page.keyboard.press( 'ArrowDown' ); 51 | await pageUtils.pressKeys( 'primary+v' ); > 52 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 53 | } ); 54 | 55 | test( 'should copy blocks when non textual elements are focused (image, spacer)', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:52:49
[chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L52
2) [chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>2</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>Cut - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-actual.txt 50 | await page.keyboard.press( 'ArrowDown' ); 51 | await pageUtils.pressKeys( 'primary+v' ); > 52 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 53 | } ); 54 | 55 | test( 'should copy blocks when non textual elements are focused (image, spacer)', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:52:49
[chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L71
3) [chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image, spacer) Error: Snapshot comparison failed: <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></divragraph --> <p></p> <!-- /wp:spacerragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-2-actual.txt 69 | await editor.canvas.click( 'role=button[name="Add default block"i]' ); 70 | await pageUtils.pressKeys( 'primary+v' ); > 71 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 72 | } ); 73 | 74 | test( 'should cut and paste individual non textual blocks', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:71:49
[chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L71
3) [chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image, spacer) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></divragraph --> <p></p> <!-- /wp:spacerragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium-retry1/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium-retry1/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-2-actual.txt 69 | await editor.canvas.click( 'role=button[name="Add default block"i]' ); 70 | await pageUtils.pressKeys( 'primary+v' ); > 71 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 72 | } ); 73 | 74 | test( 'should cut and paste individual non textual blocks', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:71:49
[chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L71
3) [chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image, spacer) Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></divragraph --> <p></p> <!-- /wp:spacerragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium-retry2/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-2-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium-retry2/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-2-actual.txt 69 | await editor.canvas.click( 'role=button[name="Add default block"i]' ); 70 | await pageUtils.pressKeys( 'primary+v' ); > 71 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 72 | } ); 73 | 74 | test( 'should cut and paste individual non textual blocks', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:71:49
[chromium] › editor/various/copy-cut-paste.spec.js:74:2 › Copy/cut/paste › should cut and paste individual non textual blocks: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L90
4) [chromium] › editor/various/copy-cut-paste.spec.js:74:2 › Copy/cut/paste › should cut and paste individual non textual blocks Error: Snapshot comparison failed: <!-- wp:paragraph --> <p></p> <!-- /wp:paragraph --> <!-- wp:spacer --> <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></divragraph --> <p></p> <!-- /wp:spacerragraph --> Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-chromium/Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-1-expected.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-chromium/Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-1-actual.txt 88 | await editor.canvas.click( 'role=button[name="Add default block"i]' ); 89 | await pageUtils.pressKeys( 'primary+v' ); > 90 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 91 | } ); 92 | 93 | test( 'should respect inline copy when text is selected', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:90:49
🎭 Playwright Run Summary
2 failed [chromium] › editor/blocks/code.spec.js:37:2 › Code › should paste plain text ────────────────── [chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo 11 skipped 216 passed (15.8m)
🎭 Playwright Run Summary
1 skipped 230 passed (16.0m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@WebKit) 2 skipped 219 passed (17.1m)
🎭 Playwright Run Summary
23 failed [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection [chromium] › editor/various/copy-cut-paste.spec.js:29:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection [chromium] › editor/various/copy-cut-paste.spec.js:55:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image, spacer) [chromium] › editor/various/copy-cut-paste.spec.js:74:2 › Copy/cut/paste › should cut and paste individual non textual blocks [chromium] › editor/various/copy-cut-paste.spec.js:93:2 › Copy/cut/paste › should respect inline copy when text is selected [chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas [chromium] › editor/various/copy-cut-paste.spec.js:137:2 › Copy/cut/paste › should handle paste events once [chromium] › editor/various/copy-cut-paste.spec.js:245:2 › Copy/cut/paste › should copy only partial selection of text blocks [chromium] › editor/various/copy-cut-paste.spec.js:272:2 › Copy/cut/paste › should copy/paste partial selection with other blocks in-between [chromium] › editor/various/copy-cut-paste.spec.js:300:2 › Copy/cut/paste › should cut partial selection of text blocks [chromium] › editor/various/copy-cut-paste.spec.js:327:2 › Copy/cut/paste › should cut/paste partial selection with other blocks in-between [chromium] › editor/various/copy-cut-paste.spec.js:355:2 › Copy/cut/paste › should cut partial selection and merge like a normal `delete` - not forward [chromium] › editor/various/copy-cut-paste.spec.js:382:2 › Copy/cut/paste › should paste plain text in plain text context when cross block selection is copied [chromium] › editor/various/copy-cut-paste.spec.js:449:2 › Copy/cut/paste › should paste preformatted in list [chromium] › editor/various/multi-block-selection.spec.js:482:2 › Multi-block selection › should cut and paste [chromium] › editor/various/multi-block-selection.spec.js:506:2 › Multi-block selection › should copy and paste [chromium] › editor/various/rich-text.spec.js:441:2 › RichText › should split rich text on paste [chromium] › editor/various/rich-text.spec.js:477:2 › RichText › should not split rich text on inline paste [chromium] › editor/various/rich-text.spec.js:498:2 › RichText › should not split rich text on inline paste with formatting [chromium] › editor/various/rich-text.spec.js:543:2 › RichText › should apply active formatting for inline paste [chromium] › editor/various/rich-text.spec.js:569:2 › RichText › should preserve internal formatting [chromium] › editor/various/rich-text.spec.js:624:2 › RichText › should paste paragraph contents into list [chromium] › editor/various/rich-text.spec.js:666:2 › RichText › should paste list contents into paragraph 207 passed (22.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
113 MB
flaky-tests-report Expired
3.77 KB