[Site Editor]: Add create pattern button in patterns page #104633
Annotations
1 error and 1 notice
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L29
1) [chromium] › site-editor/zoom-out.spec.js:20: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"
27 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 3 );
28 | await page.getByLabel( 'Add pattern' ).first().click();
> 29 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 2 );
| ^
30 |
31 | await expect(
32 | page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:29:52
|
Run the tests
1 flaky
[chromium] › site-editor/zoom-out.spec.js:20:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
3 skipped
181 passed (6.1m)
|
Loading