Lazy load block edit functions #90483
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L119
1) [chromium] › editor/various/rich-text.spec.js:98:2 › RichText › should not highlight more than one format
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
117 | ).length
118 | );
> 119 | expect( count ).toBe( 1 );
| ^
120 | } );
121 |
122 | test( 'should return focus when pressing formatting button', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:119:19
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L119
1) [chromium] › editor/various/rich-text.spec.js:98:2 › RichText › should not highlight more than one format
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
117 | ).length
118 | );
> 119 | expect( count ).toBe( 1 );
| ^
120 | } );
121 |
122 | test( 'should return focus when pressing formatting button', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:119:19
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L119
1) [chromium] › editor/various/rich-text.spec.js:98:2 › RichText › should not highlight more than one format
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
117 | ).length
118 | );
> 119 | expect( count ).toBe( 1 );
| ^
120 | } );
121 |
122 | test( 'should return focus when pressing formatting button', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:119:19
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L696
2) [chromium] › editor/various/rich-text.spec.js:669:2 › RichText › should paste paragraph contents into list
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -7,11 +7,11 @@
},
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1<br>2",
+ "content": "",
},
"name": "core/list-item",
},
],
"name": "core/list",
694 | await pageUtils.pressKeys( 'primary+v' );
695 |
> 696 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
697 | {
698 | name: 'core/paragraph',
699 | attributes: { content: '1<br>2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:696:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L696
2) [chromium] › editor/various/rich-text.spec.js:669:2 › RichText › should paste paragraph contents into list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -7,11 +7,11 @@
},
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1<br>2",
+ "content": "",
},
"name": "core/list-item",
},
],
"name": "core/list",
694 | await pageUtils.pressKeys( 'primary+v' );
695 |
> 696 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
697 | {
698 | name: 'core/paragraph',
699 | attributes: { content: '1<br>2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:696:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L696
2) [chromium] › editor/various/rich-text.spec.js:669:2 › RichText › should paste paragraph contents into list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -7,11 +7,11 @@
},
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1<br>2",
+ "content": "",
},
"name": "core/list-item",
},
],
"name": "core/list",
694 | await pageUtils.pressKeys( 'primary+v' );
695 |
> 696 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
697 | {
698 | name: 'core/paragraph',
699 | attributes: { content: '1<br>2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:696:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L744
3) [chromium] › editor/various/rich-text.spec.js:713:2 › RichText › should paste list contents into paragraph
Error: expect(received).toMatchObject(expected)
- Expected - 28
+ Received + 4
@@ -1,49 +1,25 @@
Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1",
+ "content": " 2",
},
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
- },
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "1",
},
- "innerBlocks": Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
+ "content": " 2",
},
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
},
742 | await pageUtils.pressKeys( 'primary+v' );
743 |
> 744 | expect( await editor.getBlocks() ).toMatchObject(
| ^
745 | Array( 2 ).fill( {
746 | name: 'core/list',
747 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:744:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L744
3) [chromium] › editor/various/rich-text.spec.js:713:2 › RichText › should paste list contents into paragraph
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 28
+ Received + 4
@@ -1,49 +1,25 @@
Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1",
+ "content": " 2",
},
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
- },
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "1",
},
- "innerBlocks": Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
+ "content": " 2",
},
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
},
742 | await pageUtils.pressKeys( 'primary+v' );
743 |
> 744 | expect( await editor.getBlocks() ).toMatchObject(
| ^
745 | Array( 2 ).fill( {
746 | name: 'core/list',
747 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:744:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L744
3) [chromium] › editor/various/rich-text.spec.js:713:2 › RichText › should paste list contents into paragraph
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 28
+ Received + 4
@@ -1,49 +1,25 @@
Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1",
+ "content": " 2",
},
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
- },
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "1",
},
- "innerBlocks": Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
+ "content": " 2",
},
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
},
742 | await pageUtils.pressKeys( 'primary+v' );
743 |
> 744 | expect( await editor.getBlocks() ).toMatchObject(
| ^
745 | Array( 2 ).fill( {
746 | name: 'core/list',
747 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:744:38
|
Run the tests:
test/e2e/specs/editor/various/rtl.spec.js#L45
4) [chromium] › editor/various/rtl.spec.js:28:2 › RTL › should arrow navigate ────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>٠١٢</p>
+ <p>٢</p>
<!-- /wp:paragraph -->
43 | // Check the content.
44 | const content = await editor.getEditedPostContent();
> 45 | expect( content ).toBe(
| ^
46 | `<!-- wp:paragraph -->
47 | <p>٠١٢</p>
48 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rtl.spec.js:45:21
|
Run the tests
12 failed
[chromium] › editor/various/rich-text.spec.js:98:2 › RichText › should not highlight more than one format
[chromium] › editor/various/rich-text.spec.js:669:2 › RichText › should paste paragraph contents into list
[chromium] › editor/various/rich-text.spec.js:713:2 › RichText › should paste list contents into paragraph
[chromium] › editor/various/rtl.spec.js:28:2 › RTL › should arrow navigate ─────────────────────
[chromium] › editor/various/rtl.spec.js:52:2 › RTL › should split ──────────────────────────────
[chromium] › editor/various/rtl.spec.js:73:2 › RTL › should merge backward ─────────────────────
[chromium] › editor/various/rtl.spec.js:91:2 › RTL › should merge forward ──────────────────────
[chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ─────
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:17:2 › Focus toolbar shortcut (alt + F10) › Focuses correct toolbar in default view options in edit mode
[chromium] › editor/various/shortcut-focus-toolbar.spec.js:161:3 › Focus toolbar shortcut (alt + F10) › Smaller than large viewports › Focuses the correct toolbar in edit mode
[chromium] › editor/various/splitting-merging.spec.js:423:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on forward delete
[chromium] › editor/various/writing-flow.spec.js:228:2 › Writing Flow (@Firefox, @WebKit) › should navigate around nested inline boundaries
4 flaky
[chromium] › editor/various/rich-text.spec.js:167:2 › RichText › should undo backtick transform with backspace
[chromium] › editor/various/splitting-merging.spec.js:443:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
[chromium] › editor/various/writing-flow.spec.js:490:2 › Writing Flow (@Firefox, @WebKit) › should navigate empty paragraphs
[chromium] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
1 skipped
136 passed (9.6m)
|
The logs for this run have expired and are no longer available.
Loading