Lazy load block edit functions #89479
Annotations
3 errors and 1 notice
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Select parent block: Allowed Blocks Dynamic"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:133:3
|
test/e2e/specs/editor/plugins/post-type-templates.spec.js#L54
2) [chromium] › editor/plugins/post-type-templates.spec.js:30:3 › Post type templates › Using a CPT with a predefined template › Should respect user edits to not re-apply template after save (single block removal)
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 3
@@ -1,11 +1,13 @@
<!-- wp:paragraph {"placeholder":"Add a book description"} -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
- <blockquote class="wp-block-quote"></blockquote>
+ <blockquote class="wp-block-quote"><!-- wp:paragraph -->
+ <p></p>
+ <!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
52 | await expect
53 | .poll( editor.getEditedPostContent )
> 54 | .toBe( expectedContent );
| ^
55 | } );
56 |
57 | test( 'Should respect user edits to not re-apply template after save (full delete)', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/post-type-templates.spec.js:54:6
|
test/e2e/specs/editor/plugins/post-type-templates.spec.js#L54
2) [chromium] › editor/plugins/post-type-templates.spec.js:30:3 › Post type templates › Using a CPT with a predefined template › Should respect user edits to not re-apply template after save (single block removal)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 3
@@ -1,11 +1,13 @@
<!-- wp:paragraph {"placeholder":"Add a book description"} -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
- <blockquote class="wp-block-quote"></blockquote>
+ <blockquote class="wp-block-quote"><!-- wp:paragraph -->
+ <p></p>
+ <!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
52 | await expect
53 | .poll( editor.getEditedPostContent )
> 54 | .toBe( expectedContent );
| ^
55 | } );
56 |
57 | test( 'Should respect user edits to not re-apply template after save (full delete)', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/post-type-templates.spec.js:54:6
|
2 flaky
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
[chromium] › editor/plugins/post-type-templates.spec.js:30:3 › Post type templates › Using a CPT with a predefined template › Should respect user edits to not re-apply template after save (single block removal)
124 passed (6.4m)
|
The logs for this run have expired and are no longer available.
Loading