Skip to content

Patterns: Add category selectors to the patterns package #87409

Patterns: Add category selectors to the patterns package

Patterns: Add category selectors to the patterns package #87409

Triggered via pull request November 3, 2023 01:59
Status Cancelled
Total duration 39m 17s
Artifacts 2

end2end-test.yml

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

Annotations

12 errors and 4 notices
Puppeteer - 2: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns"] .deactivate a` 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-plugin.js:29: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/allowed-patterns.test.js:31:3)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns"] .deactivate a` 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-plugin.js:29: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/allowed-patterns.test.js:31:3)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns"] .deactivate a` 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-plugin.js:29: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/allowed-patterns.test.js:31:3)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns"] .deactivate a` 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-plugin.js:29: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/allowed-patterns.test.js:31:3)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns"] .deactivate a` 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-plugin.js:29: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/allowed-patterns.test.js:31:3)
Puppeteer - 2: packages/e2e-tests/specs/editor/various/allowed-patterns.test.js#L813
TimeoutError: waiting for selector `tr[data-slug="gutenberg-test-allowed-patterns"] .deactivate a` 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-plugin.js:29: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/allowed-patterns.test.js:31:3)
Puppeteer - 2
Process completed with exit code 1.
[chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools: test/e2e/specs/editor/blocks/image.spec.js#L375
1) [chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools ─ Error: Screenshot comparison failed: 50 pixels (ratio 0.50 of all image pixels) are different. Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-expected.png Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-actual.png Diff: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-diff.png 373 | expect( 374 | await imageBlockUtils.getImageBuffer( updatedImageSrc ) > 375 | ).toMatchSnapshot(); | ^ 376 | } ); 377 | 378 | test( 'should undo without broken temporary state', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:375:5
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu: test/e2e/specs/editor/various/patterns.spec.js#L76
1) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Contact details' }) ============================================================ 74 | name: newCategory, 75 | } ) > 76 | .click(); | ^ 77 | await page.getByLabel( 'My unsynced pattern' ).click(); 78 | 79 | await expect at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:76:5
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu: test/e2e/specs/editor/various/patterns.spec.js#L76
1) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Contact details' }) ============================================================ 74 | name: newCategory, 75 | } ) > 76 | .click(); | ^ 77 | await page.getByLabel( 'My unsynced pattern' ).click(); 78 | 79 | await expect at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:76:5
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu: test/e2e/specs/editor/various/patterns.spec.js#L76
1) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Contact details' }) ============================================================ 74 | name: newCategory, 75 | } ) > 76 | .click(); | ^ 77 | await page.getByLabel( 'My unsynced pattern' ).click(); 78 | 79 | await expect at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:76:5
Playwright - 2
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 230 passed (15.0m)
🎭 Playwright Run Summary
1 skipped 232 passed (14.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools ── 12 skipped 229 passed (20.9m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu 258 passed (25.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
10.5 MB
flaky-tests-report Expired
4.97 KB