Skip to content

Editor: Use the same PostTemplatePanel between post and site editors #90105

Editor: Use the same PostTemplatePanel between post and site editors

Editor: Use the same PostTemplatePanel between post and site editors #90105

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

end2end-test.yml

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

Annotations

13 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#L46
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 getByRole('button', { name: /styles/i }) ============================================================ 44 | 45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => { > 46 | await page.getByRole( 'button', { name: /styles/i } ).click(); | ^ 47 | await page 48 | .getByRole( 'button', { name: /typography styles/i } ) 49 | .click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:46:58
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L135
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name^="Select template"i]') ============================================================ 133 | await this.editorSettingsSidebar 134 | .locator( 'role=button[name^="Select template"i]' ) > 135 | .click(); | ^ 136 | } 137 | 138 | async switchToTemplateMode() { at PostEditorTemplateMode.openTemplatePopover (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:135:5) at PostEditorTemplateMode.switchToTemplateMode (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:141:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:51:3
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L135
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name^="Select template"i]') ============================================================ 133 | await this.editorSettingsSidebar 134 | .locator( 'role=button[name^="Select template"i]' ) > 135 | .click(); | ^ 136 | } 137 | 138 | async switchToTemplateMode() { at PostEditorTemplateMode.openTemplatePopover (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:135:5) at PostEditorTemplateMode.switchToTemplateMode (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:141:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:51:3
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L135
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name^="Select template"i]') ============================================================ 133 | await this.editorSettingsSidebar 134 | .locator( 'role=button[name^="Select template"i]' ) > 135 | .click(); | ^ 136 | } 137 | 138 | async switchToTemplateMode() { at PostEditorTemplateMode.openTemplatePopover (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:135:5) at PostEditorTemplateMode.switchToTemplateMode (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:141:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:51:3
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L135
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name^="Select template"i]') ============================================================ 133 | await this.editorSettingsSidebar 134 | .locator( 'role=button[name^="Select template"i]' ) > 135 | .click(); | ^ 136 | } 137 | 138 | async switchToTemplateMode() { at PostEditorTemplateMode.openTemplatePopover (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:135:5) at PostEditorTemplateMode.createNewTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:178:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:85:3
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L135
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name^="Select template"i]') ============================================================ 133 | await this.editorSettingsSidebar 134 | .locator( 'role=button[name^="Select template"i]' ) > 135 | .click(); | ^ 136 | } 137 | 138 | async switchToTemplateMode() { at PostEditorTemplateMode.openTemplatePopover (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:135:5) at PostEditorTemplateMode.createNewTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:178:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:85:3
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L135
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name^="Select template"i]') ============================================================ 133 | await this.editorSettingsSidebar 134 | .locator( 'role=button[name^="Select template"i]' ) > 135 | .click(); | ^ 136 | } 137 | 138 | async switchToTemplateMode() { at PostEditorTemplateMode.openTemplatePopover (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:135:5) at PostEditorTemplateMode.createNewTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:178:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:85:3
Playwright - 5
Process completed with exit code 1.
Puppeteer: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `div[data-slug="twentytwenty"].active` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:60:3)
Puppeteer: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `div[data-slug="twentytwenty"].active` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:60:3)
Puppeteer: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `div[data-slug="twentytwenty"].active` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:60:3)
Puppeteer: packages/e2e-tests/specs/widgets/editing-widgets.test.js#L813
TimeoutError: waiting for selector `div[data-slug="twentytwenty"].active` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/activate-theme.js:31:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/widgets/editing-widgets.test.js:60:3)
Puppeteer
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 105 passed (5.2m)
🎭 Playwright Run Summary
133 passed (6.7m)
🎭 Playwright Run Summary
135 passed (6.3m)
🎭 Playwright Run Summary
145 passed (6.9m)
🎭 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
2 skipped 119 passed (7.3m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.1m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes 1 skipped 150 passed (7.7m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
13.7 MB
flaky-tests-report Expired
4.32 KB