Open inserter sidebar when clicking on inserter buttons on zoom-out mode #103587
Annotations
8 errors and 1 notice
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L58
1) [chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('button', { name: 'Zoom-out View', exact: true })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Zoom-out View', exact: true })
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
56 | await zoomOutButton.click();
57 |
> 58 | await expect( zoomOutButton ).toBeFocused();
| ^
59 |
60 | await page.keyboard.press( 'Enter' );
61 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:58:33
|
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L58
1) [chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('button', { name: 'Zoom-out View', exact: true })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Zoom-out View', exact: true })
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
56 | await zoomOutButton.click();
57 |
> 58 | await expect( zoomOutButton ).toBeFocused();
| ^
59 |
60 | await page.keyboard.press( 'Enter' );
61 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:58:33
|
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L58
1) [chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByRole('button', { name: 'Zoom-out View', exact: true })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('button', { name: 'Zoom-out View', exact: true })
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
- locator resolved to <button id=":rd:" type="button" aria-pressed="true" data…>…</button>
- unexpected value "not focused"
56 | await zoomOutButton.click();
57 |
> 58 | await expect( zoomOutButton ).toBeFocused();
| ^
59 |
60 | await page.keyboard.press( 'Enter' );
61 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:58:33
|
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L83
2) [chromium] › site-editor/zoom-out.spec.js:65: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).toBeVisible()
Locator: locator('#tabs-2-allPatterns-view div').filter({ hasText: 'All' }).nth(1)
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#tabs-2-allPatterns-view div').filter({ hasText: 'All' }).nth(1)
81 | .filter( { hasText: 'All' } )
82 | .nth( 1 )
> 83 | ).toBeVisible();
| ^
84 | } );
85 | } );
86 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:83:5
|
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L83
2) [chromium] › site-editor/zoom-out.spec.js:65:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#tabs-2-allPatterns-view div').filter({ hasText: 'All' }).nth(1)
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#tabs-2-allPatterns-view div').filter({ hasText: 'All' }).nth(1)
81 | .filter( { hasText: 'All' } )
82 | .nth( 1 )
> 83 | ).toBeVisible();
| ^
84 | } );
85 | } );
86 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:83:5
|
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L83
2) [chromium] › site-editor/zoom-out.spec.js:65:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('#tabs-2-allPatterns-view div').filter({ hasText: 'All' }).nth(1)
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('#tabs-2-allPatterns-view div').filter({ hasText: 'All' }).nth(1)
81 | .filter( { hasText: 'All' } )
82 | .nth( 1 )
> 83 | ).toBeVisible();
| ^
84 | } );
85 | } );
86 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:83:5
|
Run the tests:
test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
3) [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
Process completed with exit code 1.
|
Run the tests
2 failed
[chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused
[chromium] › site-editor/zoom-out.spec.js:65:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
1 flaky
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
3 skipped
180 passed (6.9m)
|
Loading