Skip to content

Migrating BlockPatternList to use updated Composite implementation #86804

Migrating BlockPatternList to use updated Composite implementation

Migrating BlockPatternList to use updated Composite implementation #86804

Triggered via pull request October 20, 2023 14:38
Status Cancelled
Total duration 41m 51s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 19s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

28 errors, 1 warning, and 3 notices
Puppeteer - 1: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for XPath `//div[@ROLE = 'option']//div[contains(text(), 'Test: Single heading')]` failed: timeout 5000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:14:36) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:41:13)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for XPath `//div[@ROLE = 'option']//div[contains(text(), 'Test: Single paragraph')]` failed: timeout 5000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:14:36) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:41:13)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for XPath `//div[@ROLE = 'option']//div[contains(text(), 'Test: Paragraph inside group')]` failed: timeout 5000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:14:36) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:41:13)
Puppeteer - 1: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for XPath `//div[@ROLE = 'option']//div[contains(text(), 'Test: Single heading')]` failed: timeout 5000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:14:36) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/allowed-patterns.test.js:66:6)
Puppeteer - 1
Process completed with exit code 1.
Puppeteer - 3: packages/e2e-tests/specs/editor/various/block-grouping.test.js#L813
TimeoutError: waiting for XPath `//*[contains(@Class, "components-snackbar")]/*[contains(text(),"pattern created:")]` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22) at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47) at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29) at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/create-reusable-block.js:36: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/editor/various/block-grouping.test.js:127:4)
Puppeteer - 3
Process completed with exit code 1.
[chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List: test/e2e/specs/editor/blocks/query.spec.js#L43
1) [chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List ──── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('dialog', { name: 'Choose a pattern' }).getByRole('option', { name: 'Standard' }) ============================================================ 41 | .getByRole( 'dialog', { name: 'Choose a pattern' } ) 42 | .getByRole( 'option', { name: 'Standard' } ) > 43 | .click(); | ^ 44 | 45 | await expect.poll( editor.getBlocks ).toMatchObject( [ 46 | { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/query.spec.js:43:6
[chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List: test/e2e/specs/editor/blocks/query.spec.js#L43
1) [chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('dialog', { name: 'Choose a pattern' }).getByRole('option', { name: 'Standard' }) ============================================================ 41 | .getByRole( 'dialog', { name: 'Choose a pattern' } ) 42 | .getByRole( 'option', { name: 'Standard' } ) > 43 | .click(); | ^ 44 | 45 | await expect.poll( editor.getBlocks ).toMatchObject( [ 46 | { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/query.spec.js:43:6
[chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List: test/e2e/specs/editor/blocks/query.spec.js#L43
1) [chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('dialog', { name: 'Choose a pattern' }).getByRole('option', { name: 'Standard' }) ============================================================ 41 | .getByRole( 'dialog', { name: 'Choose a pattern' } ) 42 | .getByRole( 'option', { name: 'Standard' } ) > 43 | .click(); | ^ 44 | 45 | await expect.poll( editor.getBlocks ).toMatchObject( [ 46 | { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/query.spec.js:43:6
Playwright - 1
Process completed with exit code 1.
[webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L202
1) [webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 200 | ); 201 | > 202 | await page.hover( | ^ 203 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 204 | ); 205 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:202:14
[webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L202
1) [webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 200 | ); 201 | > 202 | await page.hover( | ^ 203 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 204 | ); 205 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:202:14
[webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L202
1) [webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 200 | ); 201 | > 202 | await page.hover( | ^ 203 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 204 | ); 205 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:202:14
[webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L274
2) [webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 272 | ); 273 | > 274 | await page.hover( | ^ 275 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 276 | ); 277 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:274:14
[webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L274
2) [webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 272 | ); 273 | > 274 | await page.hover( | ^ 275 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 276 | ); 277 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:274:14
[webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L274
2) [webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 272 | ); 273 | > 274 | await page.hover( | ^ 275 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 276 | ); 277 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:274:14
[firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L274
3) [firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 272 | ); 273 | > 274 | await page.hover( | ^ 275 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 276 | ); 277 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:274:14
[firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L274
3) [firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 272 | ); 273 | > 274 | await page.hover( | ^ 275 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 276 | ); 277 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:274:14
[firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L274
3) [firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.hover: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]') ============================================================ 272 | ); 273 | > 274 | await page.hover( | ^ 275 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 276 | ); 277 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:274:14
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1212
4) [webkit] › editor/various/multi-block-selection.spec.js:1169: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 1210 | // Ensure selection is in the correct place. 1211 | await page.keyboard.type( '|' ); > 1212 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1213 | { 1214 | name: 'core/paragraph', 1215 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1212:3
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option: test/e2e/specs/site-editor/template-part.spec.js#L72
1) [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option TimeoutError: page.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="header"i]') ============================================================ 70 | await editor.insertBlock( { name: 'core/template-part' } ); 71 | await editor.canvas.locator( 'role=button[name="Choose"i]' ).click(); > 72 | await page.click( | ^ 73 | 'role=listbox[name="Block Patterns"i] >> role=option[name="header"i]' 74 | ); 75 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:72:14
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option: test/e2e/specs/site-editor/template-part.spec.js#L72
1) [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="header"i]') ============================================================ 70 | await editor.insertBlock( { name: 'core/template-part' } ); 71 | await editor.canvas.locator( 'role=button[name="Choose"i]' ).click(); > 72 | await page.click( | ^ 73 | 'role=listbox[name="Block Patterns"i] >> role=option[name="header"i]' 74 | ); 75 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:72:14
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option: test/e2e/specs/site-editor/template-part.spec.js#L72
1) [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="header"i]') ============================================================ 70 | await editor.insertBlock( { name: 'core/template-part' } ); 71 | await editor.canvas.locator( 'role=button[name="Choose"i]' ).click(); > 72 | await page.click( | ^ 73 | 'role=listbox[name="Block Patterns"i] >> role=option[name="header"i]' 74 | ); 75 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:72:14
Playwright - 3
Process completed with exit code 1.
Playwright - 2
Canceling since a higher priority waiting request for 'End-to-End Tests-55224/migrate-BlockPatternList' exists
Playwright - 2
The operation was canceled.
Playwright - 2
ENOENT: no such file or directory, stat '/home/runner/work/gutenberg/gutenberg/artifacts/test-results/.playwright-artifacts-10/traces/resources/page@f8316b98b3f2578fad4604164f73bd05-1697814537.305154.jpeg'
Playwright - 2
Runner GitHub Actions 8 did not respond to a cancelation request with 00:05:00.
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/query.spec.js:32:3 › Query block › Query block insertion › List ───── 11 skipped 228 passed (16.5m)
🎭 Playwright Run Summary
3 failed [webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter [webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape [firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape 1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit) 2 skipped 226 passed (23.0m)
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option 1 skipped 231 passed (21.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
173 MB
flaky-tests-report Expired
8.41 KB