Writing Flow/Rich Text: unify split logic #85717
Annotations
10 errors and 1 notice
test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(179, 179, 179)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
88 | const overlay = coverBlock.locator( '.wp-block-cover__background' );
89 |
> 90 | await expect( overlay ).toHaveCSS(
| ^
91 | 'background-color',
92 | 'rgb(179, 179, 179)'
93 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
|
test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(179, 179, 179)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
88 | const overlay = coverBlock.locator( '.wp-block-cover__background' );
89 |
> 90 | await expect( overlay ).toHaveCSS(
| ^
91 | 'background-color',
92 | 'rgb(179, 179, 179)'
93 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
|
test/e2e/specs/editor/blocks/cover.spec.js#L90
1) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(179, 179, 179)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(255, 255, 255)"
88 | const overlay = coverBlock.locator( '.wp-block-cover__background' );
89 |
> 90 | await expect( overlay ).toHaveCSS(
| ^
91 | 'background-color',
92 | 'rgb(179, 179, 179)'
93 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
|
test/e2e/specs/editor/blocks/image.spec.js#L88
2) [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one
Error: expect(received).toBe(expected) // Object.is equality
Expected: "12"
Received: "2"
86 | .locator( ':root' )
87 | .evaluate( () => document.activeElement.innerHTML )
> 88 | ).toBe( '12' );
| ^
89 | } );
90 |
91 | test( 'should allow soft line breaks in caption', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:88:5
|
test/e2e/specs/editor/blocks/image.spec.js#L88
2) [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "12"
Received: "2"
86 | .locator( ':root' )
87 | .evaluate( () => document.activeElement.innerHTML )
> 88 | ).toBe( '12' );
| ^
89 | } );
90 |
91 | test( 'should allow soft line breaks in caption', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:88:5
|
test/e2e/specs/editor/blocks/image.spec.js#L88
2) [chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "12"
Received: "2"
86 | .locator( ':root' )
87 | .evaluate( () => document.activeElement.innerHTML )
> 88 | ).toBe( '12' );
| ^
89 | } );
90 |
91 | test( 'should allow soft line breaks in caption', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:88:5
|
test/e2e/specs/editor/blocks/image.spec.js#L118
3) [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1<br data-rich-text-line-break=\"true\">2"
Received: "12"
116 | .locator( ':root' )
117 | .evaluate( () => document.activeElement.innerHTML )
> 118 | ).toBe( '1<br data-rich-text-line-break="true">2' );
| ^
119 | } );
120 |
121 | test( 'should have keyboard navigable toolbar for caption', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:118:5
|
test/e2e/specs/editor/blocks/image.spec.js#L118
3) [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1<br data-rich-text-line-break=\"true\">2"
Received: "12"
116 | .locator( ':root' )
117 | .evaluate( () => document.activeElement.innerHTML )
> 118 | ).toBe( '1<br data-rich-text-line-break="true">2' );
| ^
119 | } );
120 |
121 | test( 'should have keyboard navigable toolbar for caption', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:118:5
|
test/e2e/specs/editor/blocks/image.spec.js#L118
3) [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1<br data-rich-text-line-break=\"true\">2"
Received: "12"
116 | .locator( ':root' )
117 | .evaluate( () => document.activeElement.innerHTML )
> 118 | ).toBe( '1<br data-rich-text-line-break="true">2' );
| ^
119 | } );
120 |
121 | test( 'should have keyboard navigable toolbar for caption', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:118:5
|
test/e2e/specs/editor/blocks/list.spec.js#L306
4) [chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting a paragraph with line breaks
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 5
+ Received + 1
<!-- wp:list -->
<ul><!-- wp:list-item -->
- <li>one</li>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
- <li>two</li>
+ <li>one two </li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
304 | await editor.transformBlockTo( 'core/list' );
305 |
> 306 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
307 | `<!-- wp:list -->
308 | <ul><!-- wp:list-item -->
309 | <li>one</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:306:3
|
14 failed
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
[chromium] › editor/blocks/image.spec.js:62:2 › Image › should place caret on caption when clicking to add one
[chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption
[chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting a paragraph with line breaks
[chromium] › editor/blocks/list.spec.js:319:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks
[chromium] › editor/blocks/list.spec.js:889:2 › List (@Firefox) › should insert a line break on shift+enter
[chromium] › editor/blocks/list.spec.js:907:2 › List (@Firefox) › should insert a line break on shift+enter in a non trailing list item
[chromium] › editor/blocks/preformatted.spec.js:11:2 › Preformatted › should preserve character newlines
[chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
[chromium] › editor/blocks/table.spec.js:231:2 › Table › allows cells to be selected when the cell area outside of the RichText is clicked
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/verse › should exit on triple Enter and merge back
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/code › should exit on triple Enter and merge back
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/preformatted › should exit on triple Enter and merge back
[chromium] › editor/plugins/deprecated-node-matcher.spec.js:36:2 › Deprecated Node Matcher › should insert block with children source
11 skipped
205 passed (22.9m)
|
The logs for this run have expired and are no longer available.
Loading