Skip to content

Open inserter sidebar when clicking on inserter buttons on zoom-out mode #103587

Open inserter sidebar when clicking on inserter buttons on zoom-out mode

Open inserter sidebar when clicking on inserter buttons on zoom-out mode #103587

Triggered via pull request May 9, 2024 03:12
Status Cancelled
Total duration 19m 17s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
0s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 notices
[chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused: 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
[chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused: 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
[chromium] › site-editor/zoom-out.spec.js:44:2 › Zoom Out › Zoom-out button should not steal focus when a block is focused: 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
[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: 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
[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: 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
[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: 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
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: 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
Playwright - 6
Process completed with exit code 1.
Playwright - 7
Canceling since a higher priority waiting request for 'End-to-End Tests-try-pattern-inserter-2' exists
Playwright - 7
The operation was canceled.
Playwright - 2
Canceling since a higher priority waiting request for 'End-to-End Tests-try-pattern-inserter-2' exists
Playwright - 2
The operation was canceled.
🎭 Playwright Run Summary
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)
🎭 Playwright Run Summary
3 skipped 145 passed (7.6m)
🎭 Playwright Run Summary
185 passed (8.8m)
🎭 Playwright Run Summary
1 skipped 176 passed (8.9m)
🎭 Playwright Run Summary
190 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts--6 Expired
18.3 MB
flaky-tests-report--6 Expired
899 Bytes