Skip to content

Writing Flow/Rich Text: unify split logic #103006

Writing Flow/Rich Text: unify split logic

Writing Flow/Rich Text: unify split logic #103006

Triggered via pull request May 2, 2024 09:36
Status Failure
Total duration 23m 1s
Artifacts 2

end2end-test.yml

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

Annotations

45 errors, 1 warning, and 8 notices
[firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
Playwright - 8
Process completed with exit code 1.
Playwright - 1
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/blocks/code.spec.js:39:2 › Code › should paste plain text: test/e2e/specs/editor/blocks/code.spec.js#L47
1) [chromium] › editor/blocks/code.spec.js:39: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/test/e2e/specs/editor/blocks/__snapshots__/Code-should-paste-plain-text-1-chromium.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 45 | await pageUtils.pressKeys( 'primary+v' ); 46 | > 47 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 48 | } ); 49 | 50 | test.describe( 'Block transforms', () => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/code.spec.js:47:49
[chromium] › editor/blocks/code.spec.js:39:2 › Code › should paste plain text: test/e2e/specs/editor/blocks/code.spec.js#L47
1) [chromium] › editor/blocks/code.spec.js:39: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/test/e2e/specs/editor/blocks/__snapshots__/Code-should-paste-plain-text-1-chromium.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 45 | await pageUtils.pressKeys( 'primary+v' ); 46 | > 47 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 48 | } ); 49 | 50 | test.describe( 'Block transforms', () => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/code.spec.js:47:49
[chromium] › editor/blocks/code.spec.js:39:2 › Code › should paste plain text: test/e2e/specs/editor/blocks/code.spec.js#L47
1) [chromium] › editor/blocks/code.spec.js:39: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/test/e2e/specs/editor/blocks/__snapshots__/Code-should-paste-plain-text-1-chromium.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 45 | await pageUtils.pressKeys( 'primary+v' ); 46 | > 47 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 48 | } ); 49 | 50 | test.describe( 'Block transforms', () => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/code.spec.js:47:49
Playwright - 1
Process completed with exit code 1.
[chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split: test/e2e/specs/editor/various/rich-text-deprecated-on-split.spec.js#L60
1) [chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split Error: expect(received).toMatchObject(expected) - Expected - 7 + Received + 2 Array [ Object { "attributes": Object { - "value": "1", - }, - "name": "core/rich-text-deprecated-on-split", - }, - Object { - "attributes": Object { - "value": "2", + "value": "12", }, + "innerBlocks": Array [], "name": "core/rich-text-deprecated-on-split", }, ] 58 | await page.keyboard.type( '2' ); 59 | > 60 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 61 | { 62 | name: 'core/rich-text-deprecated-on-split', 63 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text-deprecated-on-split.spec.js:60:38
[chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split: test/e2e/specs/editor/various/rich-text-deprecated-on-split.spec.js#L60
1) [chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 7 + Received + 2 Array [ Object { "attributes": Object { - "value": "1", - }, - "name": "core/rich-text-deprecated-on-split", - }, - Object { - "attributes": Object { - "value": "2", + "value": "12", }, + "innerBlocks": Array [], "name": "core/rich-text-deprecated-on-split", }, ] 58 | await page.keyboard.type( '2' ); 59 | > 60 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 61 | { 62 | name: 'core/rich-text-deprecated-on-split', 63 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text-deprecated-on-split.spec.js:60:38
[chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split: test/e2e/specs/editor/various/rich-text-deprecated-on-split.spec.js#L60
1) [chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 7 + Received + 2 Array [ Object { "attributes": Object { - "value": "1", - }, - "name": "core/rich-text-deprecated-on-split", - }, - Object { - "attributes": Object { - "value": "2", + "value": "12", }, + "innerBlocks": Array [], "name": "core/rich-text-deprecated-on-split", }, ] 58 | await page.keyboard.type( '2' ); 59 | > 60 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 61 | { 62 | name: 'core/rich-text-deprecated-on-split', 63 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text-deprecated-on-split.spec.js:60:38
[chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
Playwright - 5
Process completed with exit code 1.
Playwright - 5
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
Playwright - 4
Process completed with exit code 1.
Playwright - 3
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[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#L28
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>2Copy - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-54a69-ks-with-collapsed-selection-chromium/Copy-cut-paste-should-copy-899b5--with-collapsed-selection-2-actual.txt 26 | await page.keyboard.press( 'ArrowDown' ); 27 | await pageUtils.pressKeys( 'primary+v' ); > 28 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 29 | } ); 30 | 31 | 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:28: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#L28
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>2Copy - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-54a69-ks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-copy-899b5--with-collapsed-selection-2-actual.txt 26 | await page.keyboard.press( 'ArrowDown' ); 27 | await pageUtils.pressKeys( 'primary+v' ); > 28 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 29 | } ); 30 | 31 | 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:28: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#L28
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>2Copy - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-54a69-ks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-copy-899b5--with-collapsed-selection-2-actual.txt 26 | await page.keyboard.press( 'ArrowDown' ); 27 | await pageUtils.pressKeys( 'primary+v' ); > 28 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 29 | } ); 30 | 31 | 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:28:49
[chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L50
2) [chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>2Cut - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-e44ba-ks-with-collapsed-selection-chromium/Copy-cut-paste-should-cut--5a0b3--with-collapsed-selection-2-actual.txt 48 | await page.keyboard.press( 'ArrowDown' ); 49 | await pageUtils.pressKeys( 'primary+v' ); > 50 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 51 | } ); 52 | 53 | 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:50:49
[chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L50
2) [chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>2Cut - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-e44ba-ks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-cut--5a0b3--with-collapsed-selection-2-actual.txt 48 | await page.keyboard.press( 'ArrowDown' ); 49 | await pageUtils.pressKeys( 'primary+v' ); > 50 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 51 | } ); 52 | 53 | 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:50:49
[chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L50
2) [chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:paragraph --> <p>2Cut - collapsed selection</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-e44ba-ks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-cut--5a0b3--with-collapsed-selection-2-actual.txt 48 | await page.keyboard.press( 'ArrowDown' ); 49 | await pageUtils.pressKeys( 'primary+v' ); > 50 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 51 | } ); 52 | 53 | 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:50:49
[chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L134
3) [chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas Error: Snapshot comparison failed: <!-- wp:shortcode --> [my-shortcode] <!-- /wp:shortcode --> <!-- wp:paragraph --> <p>Pasted: e]</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-respect-inline-copy-in-places-like-input-fields-and-textareas-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-216cb--input-fields-and-textareas-chromium/Copy-cut-paste-should-resp-10fe5-nput-fields-and-textareas-2-actual.txt 132 | await page.keyboard.type( 'Pasted: ' ); 133 | await pageUtils.pressKeys( 'primary+v' ); > 134 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 135 | } ); 136 | 137 | test( 'should handle paste events once', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:134:49
[chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L134
3) [chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:shortcode --> [my-shortcode] <!-- /wp:shortcode --> <!-- wp:paragraph --> <p>Pasted: e]</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-respect-inline-copy-in-places-like-input-fields-and-textareas-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-216cb--input-fields-and-textareas-chromium-retry1/Copy-cut-paste-should-resp-10fe5-nput-fields-and-textareas-2-actual.txt 132 | await page.keyboard.type( 'Pasted: ' ); 133 | await pageUtils.pressKeys( 'primary+v' ); > 134 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 135 | } ); 136 | 137 | test( 'should handle paste events once', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:134:49
[chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L134
3) [chromium] › editor/various/copy-cut-paste.spec.js:116:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <!-- wp:shortcode --> [my-shortcode] <!-- /wp:shortcode --> <!-- wp:paragraph --> <p>Pasted: e]</p> <!-- /wp:paragraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-respect-inline-copy-in-places-like-input-fields-and-textareas-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-216cb--input-fields-and-textareas-chromium-retry2/Copy-cut-paste-should-resp-10fe5-nput-fields-and-textareas-2-actual.txt 132 | await page.keyboard.type( 'Pasted: ' ); 133 | await pageUtils.pressKeys( 'primary+v' ); > 134 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 135 | } ); 136 | 137 | test( 'should handle paste events once', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:134:49
[chromium] › editor/various/copy-cut-paste.spec.js:410:2 › Copy/cut/paste › should paste plain text in plain text context when cross block selection is copied : test/e2e/specs/editor/various/copy-cut-paste.spec.js#L437
4) [chromium] › editor/various/copy-cut-paste.spec.js:410:2 › Copy/cut/paste › should paste plain text in plain text context when cross block selection is copied Error: Snapshot comparison failed: <!-- wp:heading --> <h2 class="wp-block-heading">Heading</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>Paragraph</p> <!-- /wp:paragraph --> <!-- wp:codeheading --> <preh2 class="wp-block-code"><code>ading Paragra</code>heading">ading</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>Paragra</pre> <!-- /wp:codeparagraph --> Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-paste-plain-text-in-plain-text-context-when-cross-block-selection-is-copied-2-chromium.txt Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-pa-e5d67--block-selection-is-copied--chromium/Copy-cut-paste-should-past-276a9-lock-selection-is-copied-2-actual.txt 435 | await editor.insertBlock( { name: 'core/code' } ); 436 | await pageUtils.pressKeys( 'primary+v' ); > 437 | expect( await editor.getEditedPostContent() ).toMatchSnapshot(); | ^ 438 | } ); 439 | 440 | test( 'should paste single line in post title', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:437:49
[webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L539
1) [webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: should paste mid-block expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 @@ -4,14 +4,14 @@ "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragrfirst paragraph", + "content": "first paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraph|", }, }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 537 | await expect 538 | .poll( editor.getBlocks, 'should paste mid-block' ) > 539 | .toMatchObject( [ | ^ 540 | { attributes: { content: 'first paragraph' } }, 541 | { attributes: { content: 'second paragrfirst paragraph' } }, 542 | { attributes: { content: 'second paragraph|aph' } }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:539:5
[webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@firefox: test/e2e/specs/editor/various/rich-text.spec.js#L492
2) [webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 2 + Received + 2 Array [ Object { "attributes": Object { - "content": "a1", + "content": "1", }, "name": "core/paragraph", }, Object { "attributes": Object { - "content": "2b", + "content": "2", }, "name": "core/paragraph", }, ] 490 | await pageUtils.pressKeys( 'primary+v' ); 491 | > 492 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 493 | { 494 | name: 'core/paragraph', 495 | attributes: { content: 'a1' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:492:38
[webkit] › editor/various/inserting-blocks.spec.js:50:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L771
3) [webkit] › editor/various/inserting-blocks.spec.js:50:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter Error: Timeout 5000ms exceeded while waiting on the predicate 769 | await expect 770 | .poll( () => this.indicator.boundingBox().then( ( { y } ) => y ) ) > 771 | .toBeGreaterThan( paragraphBoundingBox.y ); | ^ 772 | } 773 | } 774 | at InsertingBlocksUtils.expectIndicatorBelowParagraph (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:771:5) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:96:30
Playwright - 7
Process completed with exit code 1.
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
3 skipped 186 passed (6.1m)
🎭 Playwright Run Summary
2 failed [firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste [firefox] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste 3 skipped 143 passed (8.0m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/code.spec.js:39:2 › Code › should paste plain text ────────────────── 11 skipped 179 passed (8.8m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split [chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste 184 passed (8.5m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste 1 skipped 180 passed (9.5m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.6m)
🎭 Playwright Run Summary
8 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:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection [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:410: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:481:2 › Copy/cut/paste › should paste preformatted in list [chromium] › editor/various/copy-cut-paste.spec.js:497:2 › Copy/cut/paste › should link selection [chromium] › editor/various/copy-cut-paste.spec.js:542:2 › Copy/cut/paste › should auto-link ─── [chromium] › editor/various/copy-cut-paste.spec.js:601:2 › Copy/cut/paste › should inherit existing block type on paste 1 skipped 170 passed (9.9m)
🎭 Playwright Run Summary
2 failed [webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste [webkit] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste 1 flaky [webkit] › editor/various/inserting-blocks.spec.js:50:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter 218 passed (12.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
7.29 MB
flaky-tests-report Expired
912 Bytes