Skip to content

Writing Flow/Rich Text: unify split logic #103018

Writing Flow/Rich Text: unify split logic

Writing Flow/Rich Text: unify split logic #103018

Triggered via pull request May 2, 2024 10:45
Status Failure
Total duration 22m 42s
Artifacts 2

end2end-test.yml

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

Annotations

25 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 8
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
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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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:563:2 › Copy/cut/paste › should embed on paste: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L570
1) [chromium] › editor/various/copy-cut-paste.spec.js:563:2 › Copy/cut/paste › should embed on paste Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/embed", + "name": "core/paragraph", }, ] 568 | } ); 569 | await pageUtils.pressKeys( 'primary+v' ); > 570 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 571 | { name: 'core/embed' }, 572 | ] ); 573 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:570:38
[chromium] › editor/various/copy-cut-paste.spec.js:563:2 › Copy/cut/paste › should embed on paste: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L570
1) [chromium] › editor/various/copy-cut-paste.spec.js:563:2 › Copy/cut/paste › should embed on paste Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/embed", + "name": "core/paragraph", }, ] 568 | } ); 569 | await pageUtils.pressKeys( 'primary+v' ); > 570 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 571 | { name: 'core/embed' }, 572 | ] ); 573 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:570:38
[chromium] › editor/various/copy-cut-paste.spec.js:563:2 › Copy/cut/paste › should embed on paste: test/e2e/specs/editor/various/copy-cut-paste.spec.js#L570
1) [chromium] › editor/various/copy-cut-paste.spec.js:563:2 › Copy/cut/paste › should embed on paste Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/embed", + "name": "core/paragraph", }, ] 568 | } ); 569 | await pageUtils.pressKeys( 'primary+v' ); > 570 | expect( await editor.getBlocks() ).toMatchObject( [ | ^ 571 | { name: 'core/embed' }, 572 | ] ); 573 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:570:38
Playwright - 3
Process completed with exit code 1.
[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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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 - 1 + Received + 1 @@ -9,9 +9,9 @@ "content": "second paragrfirst paragraph", }, }, Object { "attributes": Object { - "content": "second paragraph|aph", + "content": "second paragraphaph|", }, }, ] 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/inserting-blocks.spec.js:50:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L771
2) [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.0m)
🎭 Playwright Run Summary
1 failed [firefox] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and paste 3 skipped 144 passed (7.9m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/rich-text-deprecated-on-split.spec.js:55:2 › RichText deprecated onSplit › should split 185 passed (8.5m)
🎭 Playwright Run Summary
11 skipped 180 passed (9.1m)
🎭 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 failed [chromium] › editor/various/copy-cut-paste.spec.js:563:2 › Copy/cut/paste › should embed on paste 1 skipped 177 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.6m)
🎭 Playwright Run Summary
1 failed [webkit] › editor/various/multi-block-selection.spec.js:484:2 › Multi-block selection (@Firefox, @WebKit) › should copy and 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 219 passed (12.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
4.22 MB
flaky-tests-report Expired
911 Bytes