Fix: Global styles affect all form elements ( Form Block ) #127657
Annotations
7 errors and 1 notice
Run the tests
Process completed with exit code 1.
|
Run the tests:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L208
2) [chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:149:2 › Editor - Multi-entity save flow › Site blocks should save individually
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
9 × locator resolved to 2 elements
- unexpected value "2"
206 | await topBar.getByRole( 'button', { name: 'Save' } ).click();
207 |
> 208 | await expect( publishPanel.getByRole( 'checkbox' ) ).toHaveCount( 1 );
| ^
209 | } );
210 | } );
211 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:208:56
|
Run the tests:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L208
2) [chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:149:2 › Editor - Multi-entity save flow › Site blocks should save individually
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
9 × locator resolved to 2 elements
- unexpected value "2"
206 | await topBar.getByRole( 'button', { name: 'Save' } ).click();
207 |
> 208 | await expect( publishPanel.getByRole( 'checkbox' ) ).toHaveCount( 1 );
| ^
209 | } );
210 | } );
211 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:208:56
|
Run the tests:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L208
2) [chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:149:2 › Editor - Multi-entity save flow › Site blocks should save individually
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor publish' }).getByRole('checkbox')
9 × locator resolved to 2 elements
- unexpected value "2"
206 | await topBar.getByRole( 'button', { name: 'Save' } ).click();
207 |
> 208 | await expect( publishPanel.getByRole( 'checkbox' ) ).toHaveCount( 1 );
| ^
209 | } );
210 | } );
211 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:208:56
|
Run the tests:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L128
1) [chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('button', { name: 'Open save panel' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('button', { name: 'Open save panel' })
9 × locator resolved to <button type="button" aria-expanded="false" aria-haspopup="dialog" class="components-button is-next-40px-default-size is-secondary">Open save panel</button>
- unexpected value "visible"
126 | topBar.getByRole( 'button', { name: 'Saved' } )
127 | ).toBeDisabled();
> 128 | await expect( openSavePanel ).toBeHidden();
| ^
129 |
130 | await editor.publishPost();
131 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:128:33
|
Run the tests:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L128
1) [chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('button', { name: 'Open save panel' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('button', { name: 'Open save panel' })
9 × locator resolved to <button type="button" aria-expanded="false" aria-haspopup="dialog" class="components-button is-next-40px-default-size is-secondary">Open save panel</button>
- unexpected value "visible"
126 | topBar.getByRole( 'button', { name: 'Saved' } )
127 | ).toBeDisabled();
> 128 | await expect( openSavePanel ).toBeHidden();
| ^
129 |
130 | await editor.publishPost();
131 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:128:33
|
Run the tests:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L128
1) [chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('button', { name: 'Open save panel' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('button', { name: 'Open save panel' })
9 × locator resolved to <button type="button" aria-expanded="false" aria-haspopup="dialog" class="components-button is-next-40px-default-size is-secondary">Open save panel</button>
- unexpected value "visible"
126 | topBar.getByRole( 'button', { name: 'Saved' } )
127 | ).toBeDisabled();
> 128 | await expect( openSavePanel ).toBeHidden();
| ^
129 |
130 | await editor.publishPost();
131 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:128:33
|
Run the tests
2 failed
[chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
[chromium] › test/e2e/specs/editor/various/multi-entity-saving.spec.js:149:2 › Editor - Multi-entity save flow › Site blocks should save individually
1 skipped
202 passed (9.5m)
|
Loading