Drag and drop: fix drop zones on block drag #120178
Annotations
13 errors and 8 notices
[chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder:
test/e2e/specs/editor/blocks/image.spec.js#L563
1) [chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 11
Array [
Object {
"attributes": Object {
"alt": "Cat",
"caption": "\"Cat\" by tomhouslay is licensed under <a href=\"https://creativecommons.org/licenses/by-nc/2.0/?ref=openverse\">CC BY-NC 2.0</a>.",
- "id": Any<Number>,
- "link": StringContaining "localhost:8889",
- "url": StringContaining "localhost:8889",
+ "linkDestination": "custom",
+ "url": "https://live.staticflickr.com/3894/14962688165_04759a8b03_b.jpg",
+ },
+ "innerBlocks": Array [],
+ "name": "core/image",
},
+ Object {
+ "attributes": Object {
+ "alt": "",
+ "caption": "",
+ },
+ "innerBlocks": Array [],
"name": "core/image",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
561 | const host = new URL( page.url() ).host;
562 |
> 563 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
564 | {
565 | name: 'core/image',
566 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:563:3
|
[chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder:
test/e2e/specs/editor/blocks/image.spec.js#L563
1) [chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 11
Array [
Object {
"attributes": Object {
"alt": "Cat",
"caption": "\"Cat\" by tomhouslay is licensed under <a href=\"https://creativecommons.org/licenses/by-nc/2.0/?ref=openverse\">CC BY-NC 2.0</a>.",
- "id": Any<Number>,
- "link": StringContaining "localhost:8889",
- "url": StringContaining "localhost:8889",
+ "linkDestination": "custom",
+ "url": "https://live.staticflickr.com/3894/14962688165_04759a8b03_b.jpg",
+ },
+ "innerBlocks": Array [],
+ "name": "core/image",
},
+ Object {
+ "attributes": Object {
+ "alt": "",
+ "caption": "",
+ },
+ "innerBlocks": Array [],
"name": "core/image",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
561 | const host = new URL( page.url() ).host;
562 |
> 563 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
564 | {
565 | name: 'core/image',
566 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:563:3
|
[chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder:
test/e2e/specs/editor/blocks/image.spec.js#L563
1) [chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 3
+ Received + 11
Array [
Object {
"attributes": Object {
"alt": "Cat",
"caption": "\"Cat\" by tomhouslay is licensed under <a href=\"https://creativecommons.org/licenses/by-nc/2.0/?ref=openverse\">CC BY-NC 2.0</a>.",
- "id": Any<Number>,
- "link": StringContaining "localhost:8889",
- "url": StringContaining "localhost:8889",
+ "linkDestination": "custom",
+ "url": "https://live.staticflickr.com/3894/14962688165_04759a8b03_b.jpg",
+ },
+ "innerBlocks": Array [],
+ "name": "core/image",
},
+ Object {
+ "attributes": Object {
+ "alt": "",
+ "caption": "",
+ },
+ "innerBlocks": Array [],
"name": "core/image",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
561 | const host = new URL( page.url() ).host;
562 |
> 563 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
564 | {
565 | name: 'core/image',
566 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:563:3
|
Playwright - 1
Process completed with exit code 1.
|
[chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L313
1) [chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 8
@@ -5,13 +5,19 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "ref": Any<Number>,
+ "content": "A useful paragraph to reuse",
+ "dropCap": false,
+ "metadata": Object {
+ "categories": Array [],
+ "name": "My synced pattern",
+ "patternName": "core/block/64",
},
- "name": "core/block",
+ },
+ "name": "core/paragraph",
},
Object {
"attributes": Object {
"ref": Any<Number>,
},
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
311 | await page.mouse.up();
312 |
> 313 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
314 | {
315 | name: 'core/paragraph',
316 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:313:3
|
[chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L313
1) [chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 8
@@ -5,13 +5,19 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "ref": Any<Number>,
+ "content": "A useful paragraph to reuse",
+ "dropCap": false,
+ "metadata": Object {
+ "categories": Array [],
+ "name": "My synced pattern",
+ "patternName": "core/block/66",
},
- "name": "core/block",
+ },
+ "name": "core/paragraph",
},
Object {
"attributes": Object {
"ref": Any<Number>,
},
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
311 | await page.mouse.up();
312 |
> 313 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
314 | {
315 | name: 'core/paragraph',
316 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:313:3
|
[chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L313
1) [chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 8
@@ -5,13 +5,19 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "ref": Any<Number>,
+ "content": "A useful paragraph to reuse",
+ "dropCap": false,
+ "metadata": Object {
+ "categories": Array [],
+ "name": "My synced pattern",
+ "patternName": "core/block/68",
},
- "name": "core/block",
+ },
+ "name": "core/paragraph",
},
Object {
"attributes": Object {
"ref": Any<Number>,
},
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
311 | await page.mouse.up();
312 |
> 313 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
314 | {
315 | name: 'core/paragraph',
316 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:313:3
|
Playwright - 4
Process completed with exit code 1.
|
[webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L313
1) [webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 8
@@ -5,13 +5,19 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "ref": Any<Number>,
+ "content": "A useful paragraph to reuse",
+ "dropCap": false,
+ "metadata": Object {
+ "categories": Array [],
+ "name": "My synced pattern",
+ "patternName": "core/block/86",
},
- "name": "core/block",
+ },
+ "name": "core/paragraph",
},
Object {
"attributes": Object {
"ref": Any<Number>,
},
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
311 | await page.mouse.up();
312 |
> 313 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
314 | {
315 | name: 'core/paragraph',
316 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:313:3
|
[webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L313
1) [webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 8
@@ -5,13 +5,19 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "ref": Any<Number>,
+ "content": "A useful paragraph to reuse",
+ "dropCap": false,
+ "metadata": Object {
+ "categories": Array [],
+ "name": "My synced pattern",
+ "patternName": "core/block/88",
},
- "name": "core/block",
+ },
+ "name": "core/paragraph",
},
Object {
"attributes": Object {
"ref": Any<Number>,
},
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
311 | await page.mouse.up();
312 |
> 313 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
314 | {
315 | name: 'core/paragraph',
316 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:313:3
|
[webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L313
1) [webkit] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 2
+ Received + 8
@@ -5,13 +5,19 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "ref": Any<Number>,
+ "content": "A useful paragraph to reuse",
+ "dropCap": false,
+ "metadata": Object {
+ "categories": Array [],
+ "name": "My synced pattern",
+ "patternName": "core/block/90",
},
- "name": "core/block",
+ },
+ "name": "core/paragraph",
},
Object {
"attributes": Object {
"ref": Any<Number>,
},
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
311 | await page.mouse.up();
312 |
> 313 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
314 | {
315 | name: 'core/paragraph',
316 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:313:3
|
Playwright - 7
Process completed with exit code 1.
|
Merge Artifacts
No artifacts found matching pattern 'flaky-tests-report*'
|
🎭 Playwright Run Summary
2 skipped
196 passed (6.5m)
|
🎭 Playwright Run Summary
1 skipped
194 passed (9.1m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.2m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/blocks/image.spec.js:522:2 › Image › should allow dragging and dropping HTML to media placeholder
198 passed (10.2m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.4m)
|
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
22.5 MB |
|