Writing Flow/Rich Text: unify split logic #102948
Annotations
11 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L478
1) [webkit] › editor/various/multi-block-selection.spec.js:460:2 › Multi-block selection (@Firefox, @WebKit) › should cut and paste
Error: expect(received).toMatchObject(expected)
- Expected - 14
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "1",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
476 | await pageUtils.pressKeys( 'primary+v' );
477 |
> 478 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
479 | { name: 'core/paragraph', attributes: { content: '1' } },
480 | { name: 'core/paragraph', attributes: { content: '2' } },
481 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:478:41
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L478
1) [webkit] › editor/various/multi-block-selection.spec.js:460:2 › Multi-block selection (@Firefox, @WebKit) › should cut and paste
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 14
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "1",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
476 | await pageUtils.pressKeys( 'primary+v' );
477 |
> 478 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
479 | { name: 'core/paragraph', attributes: { content: '1' } },
480 | { name: 'core/paragraph', attributes: { content: '2' } },
481 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:478:41
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L478
1) [webkit] › editor/various/multi-block-selection.spec.js:460:2 › Multi-block selection (@Firefox, @WebKit) › should cut and paste
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 14
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "1",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
476 | await pageUtils.pressKeys( 'primary+v' );
477 |
> 478 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
479 | { name: 'core/paragraph', attributes: { content: '1' } },
480 | { name: 'core/paragraph', attributes: { content: '2' } },
481 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:478:41
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L36
2) [firefox] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be copied from multi selection
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 9
+ Received + 3
@@ -6,14 +6,8 @@
<!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
- <!-- wp:list -->
- <ul><!-- wp:list-item -->
- <li>one</li>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
- <li>two</li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p></p>
- <!-- /wp:list -->
+ <!-- /wp:paragraph -->
34 | <!-- /wp:list -->`;
35 |
> 36 | expect( await editor.getEditedPostContent() ).toBe(
| ^
37 | copied + '\n\n' + copied
38 | );
39 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:36:49
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L36
2) [firefox] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be copied from multi selection
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 9
+ Received + 3
@@ -6,14 +6,8 @@
<!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
- <!-- wp:list -->
- <ul><!-- wp:list-item -->
- <li>one</li>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
- <li>two</li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p></p>
- <!-- /wp:list -->
+ <!-- /wp:paragraph -->
34 | <!-- /wp:list -->`;
35 |
> 36 | expect( await editor.getEditedPostContent() ).toBe(
| ^
37 | copied + '\n\n' + copied
38 | );
39 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:36:49
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L36
2) [firefox] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be copied from multi selection
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 9
+ Received + 3
@@ -6,14 +6,8 @@
<!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
- <!-- wp:list -->
- <ul><!-- wp:list-item -->
- <li>one</li>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
- <li>two</li>
- <!-- /wp:list-item --></ul>
+ <!-- wp:paragraph -->
+ <p></p>
- <!-- /wp:list -->
+ <!-- /wp:paragraph -->
34 | <!-- /wp:list -->`;
35 |
> 36 | expect( await editor.getEditedPostContent() ).toBe(
| ^
37 | copied + '\n\n' + copied
38 | );
39 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:36:49
|
Run the tests:
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
|
Run the tests:
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L218
4) [webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-list-insertion-point-indicator')
216 | await insertingBlocksUtils.dragOver( paragraphBoundingBox );
217 |
> 218 | await expect( insertingBlocksUtils.indicator ).toBeVisible();
| ^
219 | await insertingBlocksUtils.expectIndicatorBelowParagraph(
220 | paragraphBoundingBox
221 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:218:50
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L218
4) [webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-list-insertion-point-indicator')
216 | await insertingBlocksUtils.dragOver( paragraphBoundingBox );
217 |
> 218 | await expect( insertingBlocksUtils.indicator ).toBeVisible();
| ^
219 | await insertingBlocksUtils.expectIndicatorBelowParagraph(
220 | paragraphBoundingBox
221 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:218:50
|
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests
2 failed
[webkit] › editor/various/multi-block-selection.spec.js:460:2 › Multi-block selection (@Firefox, @WebKit) › should cut and paste
[firefox] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be copied from multi selection
2 flaky
[webkit] › editor/various/inserting-blocks.spec.js:50:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
217 passed (13.4m)
|
Loading