Skip to content

update empty patterns #85345

update empty patterns

update empty patterns #85345

Triggered via pull request October 3, 2023 00:36
Status Failure
Total duration 30m 21s
Artifacts 2

end2end-test.yml

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

Annotations

9 errors and 4 notices
[chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern: test/e2e/specs/site-editor/patterns.spec.js#L48
1) [chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern ────────────── Error: expect(received).toContainText(expected) Expected string: "No patterns found." Received string: "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" 46 | } ) 47 | ).toBeVisible(); > 48 | await expect( patterns.content ).toContainText( 'No patterns found.' ); | ^ 49 | 50 | await patterns.navigation 51 | .getByRole( 'button', { name: 'Create pattern' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:48:36
[chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern: test/e2e/specs/site-editor/patterns.spec.js#L48
1) [chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContainText(expected) Expected string: "No patterns found." Received string: "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" 46 | } ) 47 | ).toBeVisible(); > 48 | await expect( patterns.content ).toContainText( 'No patterns found.' ); | ^ 49 | 50 | await patterns.navigation 51 | .getByRole( 'button', { name: 'Create pattern' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:48:36
[chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern: test/e2e/specs/site-editor/patterns.spec.js#L48
1) [chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern ────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContainText(expected) Expected string: "No patterns found." Received string: "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" 46 | } ) 47 | ).toBeVisible(); > 48 | await expect( patterns.content ).toContainText( 'No patterns found.' ); | ^ 49 | 50 | await patterns.navigation 51 | .getByRole( 'button', { name: 'Create pattern' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:48:36
[chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns: test/e2e/specs/site-editor/patterns.spec.js#L187
2) [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ─────── Error: expect(received).toContainText(expected) Expected string: "No patterns found." Received string: "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" 185 | 186 | await searchBox.fill( 'no match' ); > 187 | await expect( patterns.content ).toContainText( 'No patterns found.' ); | ^ 188 | 189 | await patterns.content 190 | .getByRole( 'button', { name: 'Reset search' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:187:36
[chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns: test/e2e/specs/site-editor/patterns.spec.js#L187
2) [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContainText(expected) Expected string: "No patterns found." Received string: "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" 185 | 186 | await searchBox.fill( 'no match' ); > 187 | await expect( patterns.content ).toContainText( 'No patterns found.' ); | ^ 188 | 189 | await patterns.content 190 | .getByRole( 'button', { name: 'Reset search' } ) at /home/runner/work/gutenberg/gutenberg/test/e
[chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns: test/e2e/specs/site-editor/patterns.spec.js#L187
2) [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ─────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContainText(expected) Expected string: "No patterns found." Received string: "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - waiting for getByRole('region', { name: 'Patterns content' }) - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedPress Enter to edit, or Delete to delete the pattern.Unsynced footerAction menu for Unsynced footer patternPress Enter to edit, or Delete to delete the pattern.Synced footerAction menu for Synced footer pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" - locator resolved to <div role="region" tabindex="-1" aria-label="Patterns…>…</div> - unexpected value "All patternsA list of all patterns from all sourcesSearch patternsAllSyncedNot syncedCreate a patternReuse common block combinations and layouts across your site.New pattern" 185 | 186 | await searchBox.fill( 'no match' ); > 187 | await expect( patterns.content ).toContainText( 'No patterns found.' ); | ^ 188 | 189 | await patterns.content 190 | .getByRole( 'button', { name: 'Reset search' } ) at /home/runner/work/gutenberg/gutenberg/test/e
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@firefox: test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L435
1) [chromium] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('role=option').filter({ hasText: 'Bilbo Baggins' }) - waiting for locator('role=option').filter({ hasText: 'Bilbo Baggins' }) 433 | await expect( 434 | page.locator( 'role=option', { hasText: 'Bilbo Baggins' } ) > 435 | ).toBeVisible(); | ^ 436 | await page.keyboard.press( 'Enter' ); 437 | await expect.poll( editor.getEditedPostContent ) 438 | .toBe( `<!-- wp:paragraph --> at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:435:5
[webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@webkit): test/e2e/specs/editor/various/multi-block-selection.spec.js#L1225
1) [webkit] › editor/various/multi-block-selection.spec.js:1182: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 1223 | // Ensure selection is in the correct place. 1224 | await page.keyboard.type( '|' ); > 1225 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 1226 | { 1227 | name: 'core/paragraph', 1228 | attributes: { content: '<strong>1</strong>|2' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1225:3
🎭 Playwright Run Summary
2 failed [chromium] › site-editor/patterns.spec.js:30:2 › Patterns › create a new pattern ─────────────── [chromium] › site-editor/patterns.spec.js:137:2 › Patterns › search and filter patterns ──────── 1 skipped 228 passed (15.2m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/autocomplete-and-mentions.spec.js:422:2 › Autocomplete (@Firefox, @WebKit) › should insert elements from multiple completers in a single block 226 passed (18.3m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/multi-block-selection.spec.js:1182:2 › Multi-block selection › should partially select with shift + click (@WebKit) 2 skipped 219 passed (18.9m)
🎭 Playwright Run Summary
11 skipped 216 passed (18.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
10 MB
flaky-tests-report Expired
6.6 KB