Skip to content

Avoid fetching ALL reusable blocks (user patterns) on post/site editor load #94508

Avoid fetching ALL reusable blocks (user patterns) on post/site editor load

Avoid fetching ALL reusable blocks (user patterns) on post/site editor load #94508

Triggered via pull request January 25, 2024 09:11
Status Failure
Total duration 23m 9s
Artifacts 2

end2end-test.yml

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

Annotations

18 errors, 10 warnings, and 8 notices
Puppeteer: packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L98
Error: expect(received).toBe(expected) // Object.is equality Expected: "Awesome block" Received: "Pattern" at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:98:19) at processTicksAndRejections (node:internal/process/task_queues:95:5)
Puppeteer
Process completed with exit code 1.
[webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L271
1) [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced 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="My synced pattern"i]') ============================================================ 269 | PATTERN_NAME 270 | ); > 271 | await page.hover( | ^ 272 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 273 | ); 274 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:271:14
[webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L271
1) [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced 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="My synced pattern"i]') ============================================================ 269 | PATTERN_NAME 270 | ); > 271 | await page.hover( | ^ 272 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 273 | ); 274 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:271:14
[webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L271
1) [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced 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="My synced pattern"i]') ============================================================ 269 | PATTERN_NAME 270 | ); > 271 | await page.hover( | ^ 272 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 273 | ); 274 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:271:14
Playwright - 7
Process completed with exit code 1.
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L271
1) [chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced 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="My synced pattern"i]') ============================================================ 269 | PATTERN_NAME 270 | ); > 271 | await page.hover( | ^ 272 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 273 | ); 274 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:271:14
[chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L271
1) [chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced 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="My synced pattern"i]') ============================================================ 269 | PATTERN_NAME 270 | ); > 271 | await page.hover( | ^ 272 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 273 | ); 274 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:271:14
[chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L271
1) [chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced 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="My synced pattern"i]') ============================================================ 269 | PATTERN_NAME 270 | ); > 271 | await page.hover( | ^ 272 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]` 273 | ); 274 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:271:14
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
2) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order Error: expect(received).toBe(expected) // Object.is equality Expected: "Block" Received: "Open block settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at KeyboardNavigableBlocks.tabThroughParagraphBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:234:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:36:3
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
2) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Block" Received: "Open block settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at KeyboardNavigableBlocks.tabThroughParagraphBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:234:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:36:3
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
2) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Block" Received: "Open block settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at KeyboardNavigableBlocks.tabThroughParagraphBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:234:3) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:36:3
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
3) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected Error: expect(received).toBe(expected) // Object.is equality Expected: "Post" Received: "Open document settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:78:3
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
3) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Post" Received: "Open document settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:78:3
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
3) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Post" Received: "Open document settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:78:3
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:131:2 › Order of block keyboard navigation › should navigate correctly with multi selection: test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js#L215
4) [chromium] › editor/various/keyboard-navigable-blocks.spec.js:131:2 › Order of block keyboard navigation › should navigate correctly with multi selection Error: expect(received).toBe(expected) // Object.is equality Expected: "Block" Received: "Open block settings" 213 | } ); 214 | > 215 | expect( ariaLabel ).toBe( label ); | ^ 216 | } 217 | 218 | async navigateToContentEditorTop() { at KeyboardNavigableBlocks.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:215:23) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/keyboard-navigable-blocks.spec.js:152:3
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
4 skipped 119 passed (6.0m)
🎭 Playwright Run Summary
1 skipped 138 passed (7.0m)
🎭 Playwright Run Summary
1 skipped 176 passed (7.9m)
🎭 Playwright Run Summary
11 skipped 152 passed (8.0m)
🎭 Playwright Run Summary
1 failed [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter 177 passed (8.1m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.3m)
🎭 Playwright Run Summary
163 passed (8.4m)
🎭 Playwright Run Summary
4 failed [chromium] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter [chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order [chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected [chromium] › editor/various/keyboard-navigable-blocks.spec.js:131:2 › Order of block keyboard navigation › should navigate correctly with multi selection 136 passed (8.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
714 KB
flaky-tests-report Expired
2.7 KB