Allow dragging between adjacent container blocks based on a threshold #90167
Annotations
7 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L244
1) [chromium] › editor/various/draggable-blocks.spec.js:174:2 › Draggable block › can drag and drop to the start of a horizontal block list
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
+ <!-- wp:paragraph -->
+ <p>2</p>
+ <!-- /wp:paragraph -->
+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>2</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
242 |
243 | await expect.poll( editor.getEditedPostContent )
> 244 | .toBe( `<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
| ^
245 | <div class="wp-block-group"><!-- wp:paragraph -->
246 | <p>2</p>
247 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:244:5
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L244
1) [chromium] › editor/various/draggable-blocks.spec.js:174:2 › Draggable block › can drag and drop to the start of a horizontal block list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
+ <!-- wp:paragraph -->
+ <p>2</p>
+ <!-- /wp:paragraph -->
+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>2</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
242 |
243 | await expect.poll( editor.getEditedPostContent )
> 244 | .toBe( `<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
| ^
245 | <div class="wp-block-group"><!-- wp:paragraph -->
246 | <p>2</p>
247 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:244:5
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L244
1) [chromium] › editor/various/draggable-blocks.spec.js:174:2 › Draggable block › can drag and drop to the start of a horizontal block list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
+ <!-- wp:paragraph -->
+ <p>2</p>
+ <!-- /wp:paragraph -->
+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
- <p>2</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
242 |
243 | await expect.poll( editor.getEditedPostContent )
> 244 | .toBe( `<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
| ^
245 | <div class="wp-block-group"><!-- wp:paragraph -->
246 | <p>2</p>
247 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:244:5
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L329
2) [chromium] › editor/various/draggable-blocks.spec.js:255:2 › Draggable block › can drag and drop to the end of a horizontal block list
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
+ <!-- wp:paragraph -->
+ <p>1</p>
+ <!-- /wp:paragraph -->
+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p>2</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
- <p>1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
327 |
328 | await expect.poll( editor.getEditedPostContent )
> 329 | .toBe( `<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
| ^
330 | <div class="wp-block-group"><!-- wp:paragraph -->
331 | <p>2</p>
332 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:329:5
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L329
2) [chromium] › editor/various/draggable-blocks.spec.js:255:2 › Draggable block › can drag and drop to the end of a horizontal block list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
+ <!-- wp:paragraph -->
+ <p>1</p>
+ <!-- /wp:paragraph -->
+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p>2</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
- <p>1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
327 |
328 | await expect.poll( editor.getEditedPostContent )
> 329 | .toBe( `<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
| ^
330 | <div class="wp-block-group"><!-- wp:paragraph -->
331 | <p>2</p>
332 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:329:5
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L329
2) [chromium] › editor/various/draggable-blocks.spec.js:255:2 › Draggable block › can drag and drop to the end of a horizontal block list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 4
+ <!-- wp:paragraph -->
+ <p>1</p>
+ <!-- /wp:paragraph -->
+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p>2</p>
- <!-- /wp:paragraph -->
-
- <!-- wp:paragraph -->
- <p>1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
327 |
328 | await expect.poll( editor.getEditedPostContent )
> 329 | .toBe( `<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
| ^
330 | <div class="wp-block-group"><!-- wp:paragraph -->
331 | <p>2</p>
332 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:329:5
|
Run the tests
Process completed with exit code 1.
|
Run the tests
2 failed
[chromium] › editor/various/draggable-blocks.spec.js:174:2 › Draggable block › can drag and drop to the start of a horizontal block list
[chromium] › editor/various/draggable-blocks.spec.js:255:2 › Draggable block › can drag and drop to the end of a horizontal block list
131 passed (7.6m)
|
The logs for this run have expired and are no longer available.
Loading