Widget Editor: Focus toggle button when the global inserter is closed #122615
Annotations
4 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L122
1) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
Error: expect(received).toMatchObject(expected)
- Expected - 20
+ Received + 2
Object {
"sidebar-1": Array [
Object {
"attributes": Object {
- "content": "First Paragraph",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "Second Paragraph",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
"text": "[video src=\"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\"]",
},
+ "innerBlocks": Array [],
"name": "core/shortcode",
},
],
- "sidebar-2": Array [
- Object {
- "attributes": Object {
- "content": "Third Paragraph",
- },
- "name": "core/paragraph",
- },
- ],
+ "sidebar-2": Array [],
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
120 | await page.keyboard.type( 'Third Paragraph' );
121 |
> 122 | await expect.poll( widgetsScreen.getWidgetAreaBlocks ).toMatchObject( {
| ^
123 | 'sidebar-1': [
124 | {
125 | name: 'core/paragraph',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:122:3
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L122
1) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 20
+ Received + 2
Object {
"sidebar-1": Array [
Object {
"attributes": Object {
- "content": "First Paragraph",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "Second Paragraph",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
"text": "[video src=\"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\"]",
},
+ "innerBlocks": Array [],
"name": "core/shortcode",
},
],
- "sidebar-2": Array [
- Object {
- "attributes": Object {
- "content": "Third Paragraph",
- },
- "name": "core/paragraph",
- },
- ],
+ "sidebar-2": Array [],
}
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
120 | await page.keyboard.type( 'Third Paragraph' );
121 |
> 122 | await expect.poll( widgetsScreen.getWidgetAreaBlocks ).toMatchObject( {
| ^
123 | 'sidebar-1': [
124 | {
125 | name: 'core/paragraph',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:122:3
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L122
1) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 6
+ Received + 3
@@ -1,23 +1,20 @@
Object {
"sidebar-1": Array [
Object {
"attributes": Object {
- "content": "First Paragraph",
- },
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
"content": "Second Paragraph",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
Object {
"attributes": Object {
"text": "[video src=\"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\"]",
},
+ "innerBlocks": Array [],
"name": "core/shortcode",
},
],
"sidebar-2": Array [
Object {
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
120 | await page.keyboard.type( 'Third Paragraph' );
121 |
> 122 | await expect.poll( widgetsScreen.getWidgetAreaBlocks ).toMatchObject( {
| ^
123 | 'sidebar-1': [
124 | {
125 | name: 'core/paragraph',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:122:3
|
Run the tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
1 failed
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
2 skipped
195 passed (6.8m)
|
Loading