Skip to content

Show/Hide BlockToolbarPopover via CSS #90378

Show/Hide BlockToolbarPopover via CSS

Show/Hide BlockToolbarPopover via CSS #90378

Triggered via pull request December 8, 2023 17:26
Status Failure
Total duration 18m 13s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
2m 28s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 8 notices
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon: test/e2e/specs/site-editor/font-library.spec.js#L42
1) [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').locator('body') ============================================================ 40 | postType: 'wp_template', 41 | } ); > 42 | await editor.canvas.locator( 'body' ).click(); | ^ 43 | } ); 44 | 45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:42
[chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing: test/e2e/specs/editor/various/is-typing.spec.js#L25
1) [chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: locator('[data-wp-component="Popover"]').filter({ has: locator('role=toolbar[name="Block tools"i]') }) Expected string: "0" Received string: "" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for locator('[data-wp-component="Popover"]').filter({ has: locator('role=toolbar[name="Block tools"i]') }) 23 | 24 | // Toolbar Popover should not be showing > 25 | await expect( blockToolbarPopover ).toHaveCSS( 'opacity', '0' ); | ^ 26 | 27 | // Moving the mouse shows the toolbar. 28 | await editor.showBlockToolbar(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/is-typing.spec.js:25:39
[chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing: test/e2e/specs/editor/various/is-typing.spec.js#L25
1) [chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: locator('[data-wp-component="Popover"]').filter({ has: locator('role=toolbar[name="Block tools"i]') }) Expected string: "0" Received string: "" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for locator('[data-wp-component="Popover"]').filter({ has: locator('role=toolbar[name="Block tools"i]') }) 23 | 24 | // Toolbar Popover should not be showing > 25 | await expect( blockToolbarPopover ).toHaveCSS( 'opacity', '0' ); | ^ 26 | 27 | // Moving the mouse shows the toolbar. 28 | await editor.showBlockToolbar(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/is-typing.spec.js:25:39
[chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing: test/e2e/specs/editor/various/is-typing.spec.js#L25
1) [chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: locator('[data-wp-component="Popover"]').filter({ has: locator('role=toolbar[name="Block tools"i]') }) Expected string: "0" Received string: "" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for locator('[data-wp-component="Popover"]').filter({ has: locator('role=toolbar[name="Block tools"i]') }) 23 | 24 | // Toolbar Popover should not be showing > 25 | await expect( blockToolbarPopover ).toHaveCSS( 'opacity', '0' ); | ^ 26 | 27 | // Moving the mouse shows the toolbar. 28 | await editor.showBlockToolbar(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/is-typing.spec.js:25:39
Playwright - 4
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 105 passed (5.2m)
🎭 Playwright Run Summary
135 passed (6.2m)
🎭 Playwright Run Summary
1 skipped 152 passed (6.3m)
🎭 Playwright Run Summary
2 skipped 119 passed (7.3m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon 1 skipped 113 passed (6.7m)
🎭 Playwright Run Summary
145 passed (6.8m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/is-typing.spec.js:11:2 › isTyping › should hide the toolbar when typing 132 passed (7.3m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
5.18 MB
flaky-tests-report Expired
2.94 KB