Block Editor: Improve the Select/Navigation mode and keep it persistent #113675
Annotations
7 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L310
1) [chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting multiple paragraphs
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 6
+ Received + 6
- <!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one</li>
+ <!-- wp:paragraph -->
+ <p>one</p>
+ <!-- /wp:paragraph -->
+
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
+ <!-- wp:list -->
+ <ul class="wp-block-list"><!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
308 | await editor.transformBlockTo( 'core/list' );
309 |
> 310 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
311 | `<!-- wp:list -->
312 | <ul class="wp-block-list"><!-- wp:list-item -->
313 | <li>one</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:310:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L310
1) [chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting multiple paragraphs
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 6
+ Received + 6
- <!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one</li>
+ <!-- wp:paragraph -->
+ <p>one</p>
+ <!-- /wp:paragraph -->
+
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
+ <!-- wp:list -->
+ <ul class="wp-block-list"><!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
308 | await editor.transformBlockTo( 'core/list' );
309 |
> 310 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
311 | `<!-- wp:list -->
312 | <ul class="wp-block-list"><!-- wp:list-item -->
313 | <li>one</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:310:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L310
1) [chromium] › editor/blocks/list.spec.js:293:2 › List (@Firefox) › can be created by converting multiple paragraphs
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 6
+ Received + 6
- <!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
- <li>one</li>
+ <!-- wp:paragraph -->
+ <p>one</p>
+ <!-- /wp:paragraph -->
+
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
+ <!-- wp:list -->
+ <ul class="wp-block-list"><!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
308 | await editor.transformBlockTo( 'core/list' );
309 |
> 310 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
311 | `<!-- wp:list -->
312 | <ul class="wp-block-list"><!-- wp:list-item -->
313 | <li>one</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:310:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L369
2) [chromium] › editor/blocks/list.spec.js:349:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 6
+ Received + 6
- <!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
+ <!-- wp:paragraph -->
- <li>one<br>...</li>
+ <p>one<br>...</p>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
+ <!-- /wp:paragraph -->
+
+ <!-- wp:list -->
+ <ul class="wp-block-list"><!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
367 | await editor.transformBlockTo( 'core/list' );
368 |
> 369 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
370 | `<!-- wp:list -->
371 | <ul class="wp-block-list"><!-- wp:list-item -->
372 | <li>one<br>...</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:369:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L369
2) [chromium] › editor/blocks/list.spec.js:349:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 6
+ Received + 6
- <!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
+ <!-- wp:paragraph -->
- <li>one<br>...</li>
+ <p>one<br>...</p>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
+ <!-- /wp:paragraph -->
+
+ <!-- wp:list -->
+ <ul class="wp-block-list"><!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
367 | await editor.transformBlockTo( 'core/list' );
368 |
> 369 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
370 | `<!-- wp:list -->
371 | <ul class="wp-block-list"><!-- wp:list-item -->
372 | <li>one<br>...</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:369:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L369
2) [chromium] › editor/blocks/list.spec.js:349:2 › List (@Firefox) › should not transform lines in block when transforming multiple blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 6
+ Received + 6
- <!-- wp:list -->
- <ul class="wp-block-list"><!-- wp:list-item -->
+ <!-- wp:paragraph -->
- <li>one<br>...</li>
+ <p>one<br>...</p>
- <!-- /wp:list-item -->
-
- <!-- wp:list-item -->
+ <!-- /wp:paragraph -->
+
+ <!-- wp:list -->
+ <ul class="wp-block-list"><!-- wp:list-item -->
<li>two</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
367 | await editor.transformBlockTo( 'core/list' );
368 |
> 369 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
370 | `<!-- wp:list -->
371 | <ul class="wp-block-list"><!-- wp:list-item -->
372 | <li>one<br>...</li>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:369:52
|
Run the tests
Process completed with exit code 1.
|
|
Loading