Skip to content

Theme.json: Extend block style variations support #90819

Theme.json: Extend block style variations support

Theme.json: Extend block style variations support #90819

Triggered via pull request December 14, 2023 06:48
Status Failure
Total duration 19m 19s
Artifacts 2

end2end-test.yml

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

Annotations

9 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] › site-editor/navigation-editor.spec.js:15:2 › Editing Navigation Menus › it should lock the root Navigation block in the editor: test/e2e/specs/site-editor/navigation-editor.spec.js#L73
2) [chromium] › site-editor/navigation-editor.spec.js:15:2 › Editing Navigation Menus › it should lock the root Navigation block in the editor › Manually browse to focus mode for a Navigation Menu TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Navigation' }).getByRole('button', { name: 'Primary Menu' }) ============================================================ 71 | name: 'Primary Menu', 72 | } ) > 73 | .click(); | ^ 74 | 75 | await expect( page ).toHaveURL( 76 | `wp-admin/site-editor.php?postId=${ createdMenu?.id }&postType=wp_navigation` at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-editor.spec.js:73:6 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-editor.spec.js:22:3
[webkit] › editor/various/multi-block-selection.spec.js:1168:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1211
1) [webkit] › editor/various/multi-block-selection.spec.js:1168:2 › Multi-block selection › should partially select with shift + click (@WebKit) Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "<strong>1</strong>|2", + "content": "|", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 1209 | // Ensure selection is in the correct place. 1210 | await page.keyboard.type( '|' ); > 1211 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1212 | { 1213 | name: 'core/paragraph', 1214 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1211:41
Puppeteer: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].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/site-editor/settings-sidebar.test.js:42:3)
Puppeteer: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].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/site-editor/settings-sidebar.test.js:42:3)
Puppeteer: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].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/site-editor/settings-sidebar.test.js:42:3)
Puppeteer: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].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/site-editor/settings-sidebar.test.js:42:3)
Puppeteer: packages/e2e-tests/specs/site-editor/settings-sidebar.test.js#L813
TimeoutError: waiting for selector `div[data-slug="emptytheme"].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/site-editor/settings-sidebar.test.js:42:3)
Puppeteer
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 113 passed (5.8m)
🎭 Playwright Run Summary
129 passed (5.9m)
🎭 Playwright Run Summary
1 skipped 150 passed (6.3m)
🎭 Playwright Run Summary
2 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 [chromium] › site-editor/navigation-editor.spec.js:15:2 › Editing Navigation Menus › it should lock the root Navigation block in the editor 1 skipped 113 passed (6.7m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1168:2 › Multi-block selection › should partially select with shift + click (@WebKit) 145 passed (6.9m)
🎭 Playwright Run Summary
134 passed (7.1m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.1m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
3.71 MB
flaky-tests-report Expired
10.9 KB