History: add getLocationWithParams method #104694
Annotations
2 errors and 1 notice
Run the tests:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'For a specific item' })
42 | await page
43 | .getByRole( 'button', { name: 'For a specific item' } )
> 44 | .click();
| ^
45 | await page.getByRole( 'option', { name: 'Demo' } ).click();
46 | await expect( page ).toHaveURL(
47 | '/wp-admin/site-editor.php?postId=emptytheme%2F%2Fsingle-post-demo&postType=wp_template&canvas=edit'
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
|
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L29
2) [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
2 flaky
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
[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
180 passed (6.0m)
|
Loading