Block Bindings: Move logic to core functions instead of using a hook #105024
Annotations
1 error and 1 notice
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L55
1) [chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByLabel('Add pattern')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByLabel('Add pattern')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
53 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 3 );
54 | await page.getByLabel( 'Add pattern' ).first().click();
> 55 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 2 );
| ^
56 |
57 | await expect(
58 | page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:55:52
|
Run the tests
1 flaky
[chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
3 skipped
186 passed (5.7m)
|
Loading