Lazy load block edit functions #89479
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L214
1) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=navigation').locator('role=button[name="example.com submenu "i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=navigation').locator('role=button[name="example.com submenu "i]')
212 | `role=navigation >> role=button[name="example.com submenu "i]`
213 | )
> 214 | ).toBeVisible();
| ^
215 | } );
216 |
217 | test( 'submenu converts to link automatically', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:214:6
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L214
1) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=navigation').locator('role=button[name="example.com submenu "i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=navigation').locator('role=button[name="example.com submenu "i]')
212 | `role=navigation >> role=button[name="example.com submenu "i]`
213 | )
> 214 | ).toBeVisible();
| ^
215 | } );
216 |
217 | test( 'submenu converts to link automatically', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:214:6
|
Run the tests:
test/e2e/specs/editor/blocks/navigation.spec.js#L214
1) [chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=navigation').locator('role=button[name="example.com submenu "i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=navigation').locator('role=button[name="example.com submenu "i]')
212 | `role=navigation >> role=button[name="example.com submenu "i]`
213 | )
> 214 | ).toBeVisible();
| ^
215 | } );
216 |
217 | test( 'submenu converts to link automatically', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:214:6
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L41
2) [chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
Error: Snapshot comparison failed:
<!-- wp:preformatted -->
<pre class="wp-block-preformatted">1<br>2<br><br>3</pre>
<!-- /wp:preformatted -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-white-space-when-merging-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-white-space-when-merging-chromium/Preformatted-should-preserve-white-space-when-merging-1-actual.txt
39 | await page.keyboard.press( 'Backspace' );
40 |
> 41 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
42 | } );
43 |
44 | test( 'should delete block when backspace in an empty preformatted', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:41:49
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L41
2) [chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:preformatted -->
<pre class="wp-block-preformatted">1<br>2<br><br>3</pre>
<!-- /wp:preformatted -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-white-space-when-merging-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-white-space-when-merging-chromium-retry1/Preformatted-should-preserve-white-space-when-merging-1-actual.txt
39 | await page.keyboard.press( 'Backspace' );
40 |
> 41 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
42 | } );
43 |
44 | test( 'should delete block when backspace in an empty preformatted', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:41:49
|
Run the tests:
test/e2e/specs/editor/blocks/preformatted.spec.js#L41
2) [chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:preformatted -->
<pre class="wp-block-preformatted">1<br>2<br><br>3</pre>
<!-- /wp:preformatted -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Preformatted-should-preserve-white-space-when-merging-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-preformatted-Preformatted-should-preserve-white-space-when-merging-chromium-retry2/Preformatted-should-preserve-white-space-when-merging-1-actual.txt
39 | await page.keyboard.press( 'Backspace' );
40 |
> 41 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
42 | } );
43 |
44 | test( 'should delete block when backspace in an empty preformatted', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/preformatted.spec.js:41:49
|
Run the tests:
test/e2e/specs/editor/blocks/quote.spec.js#L22
3) [chromium] › editor/blocks/quote.spec.js:15:2 › Quote › should allow the user to type right away
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
- <p>Quote content</p>
+ <p></p>
- <!-- /wp:paragraph --></blockquote>
+ <!-- /wp:paragraph --><cite>ntent</cite></blockquote>
<!-- /wp:quote -->
20 | // Type content right after.
21 | await page.keyboard.type( 'Quote content' );
> 22 | expect( await editor.getEditedPostContent() ).toBe(
| ^
23 | `<!-- wp:quote -->
24 | <blockquote class="wp-block-quote"><!-- wp:paragraph -->
25 | <p>Quote content</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/quote.spec.js:22:49
|
Run the tests:
test/e2e/specs/editor/blocks/quote.spec.js#L22
3) [chromium] › editor/blocks/quote.spec.js:15:2 › Quote › should allow the user to type right away
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
- <p>Quote content</p>
+ <p></p>
- <!-- /wp:paragraph --></blockquote>
+ <!-- /wp:paragraph --><cite>ntent</cite></blockquote>
<!-- /wp:quote -->
20 | // Type content right after.
21 | await page.keyboard.type( 'Quote content' );
> 22 | expect( await editor.getEditedPostContent() ).toBe(
| ^
23 | `<!-- wp:quote -->
24 | <blockquote class="wp-block-quote"><!-- wp:paragraph -->
25 | <p>Quote content</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/quote.spec.js:22:49
|
Run the tests:
test/e2e/specs/editor/blocks/quote.spec.js#L22
3) [chromium] › editor/blocks/quote.spec.js:15:2 › Quote › should allow the user to type right away
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
- <p>Quote content</p>
+ <p></p>
- <!-- /wp:paragraph --></blockquote>
+ <!-- /wp:paragraph --><cite>content</cite></blockquote>
<!-- /wp:quote -->
20 | // Type content right after.
21 | await page.keyboard.type( 'Quote content' );
> 22 | expect( await editor.getEditedPostContent() ).toBe(
| ^
23 | `<!-- wp:quote -->
24 | <blockquote class="wp-block-quote"><!-- wp:paragraph -->
25 | <p>Quote content</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/quote.spec.js:22:49
|
Run the tests:
test/e2e/specs/editor/blocks/quote.spec.js#L43
4) [chromium] › editor/blocks/quote.spec.js:31:2 › Quote › can be created by using > at the start of a paragraph block
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
- <p>A quote</p>
+ <p>ote</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Another paragraph</p>
<!-- /wp:paragraph --></blockquote>
41 | await page.keyboard.press( 'Enter' );
42 | await page.keyboard.type( 'Another paragraph' );
> 43 | expect( await editor.getEditedPostContent() ).toBe(
| ^
44 | `<!-- wp:quote -->
45 | <blockquote class="wp-block-quote"><!-- wp:paragraph -->
46 | <p>A quote</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/quote.spec.js:43:49
|
Run the tests
18 failed
[chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
[chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
[chromium] › editor/blocks/quote.spec.js:15:2 › Quote › should allow the user to type right away
[chromium] › editor/blocks/quote.spec.js:31:2 › Quote › can be created by using > at the start of a paragraph block
[chromium] › editor/blocks/quote.spec.js:141:3 › Quote › can be converted to paragraphs › and renders one paragraph block per <p> within quote
[chromium] › editor/blocks/quote.spec.js:163:3 › Quote › can be converted to paragraphs › and renders a paragraph for the cite, if it exists
[chromium] › editor/blocks/quote.spec.js:220:2 › Quote › can be created by converting a heading
[chromium] › editor/blocks/quote.spec.js:236:2 › Quote › can be converted to a pullquote ───────
[chromium] › editor/blocks/quote.spec.js:251:2 › Quote › can be split at the end ───────────────
[chromium] › editor/blocks/quote.spec.js:284:2 › Quote › can be unwrapped on Backspace ─────────
[chromium] › editor/blocks/quote.spec.js:297:2 › Quote › can be unwrapped with content on Backspace
[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/annotations.spec.js:31:2 › Annotations › allows a block to be annotated
[chromium] › editor/plugins/annotations.spec.js:61:2 › Annotations › keeps the cursor in the same location when applying annotation
[chromium] › editor/plugins/annotations.spec.js:87:2 › Annotations › moves when typing before it
[chromium] › editor/plugins/annotations.spec.js:125:2 › Annotations › grows when typing inside it
1 skipped
90 passed (11.4m)
|
The logs for this run have expired and are no longer available.
Loading