Skip to content

Fix: Fatal php error if a template was created by an author that was … #90615

Fix: Fatal php error if a template was created by an author that was …

Fix: Fatal php error if a template was created by an author that was … #90615

Triggered via push December 12, 2023 19:13
Status Failure
Total duration 18m 17s
Artifacts 2

end2end-test.yml

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

Annotations

8 errors and 8 notices
[chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting: test/e2e/specs/site-editor/new-templates-list.spec.js#L41
1) [chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting ──────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('region', { name: 'Template', includeHidden: true }).getByRole('heading', { includeHidden: true, level: 3 }).first() Expected string: "Tag Archives" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('region', { name: 'Template', includeHidden: true }).getByRole('heading', { includeHidden: true, level: 3 }).first() 39 | } ) 40 | .first(); > 41 | await expect( firstTitle ).toHaveText( 'Tag Archives' ); | ^ 42 | // Ascending by title. 43 | await page 44 | .getByRole( 'menuitemradio', { name: 'Sort ascending' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/new-templates-list.spec.js:41:30
[chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting: test/e2e/specs/site-editor/new-templates-list.spec.js#L41
1) [chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('region', { name: 'Template', includeHidden: true }).getByRole('heading', { includeHidden: true, level: 3 }).first() Expected string: "Tag Archives" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('region', { name: 'Template', includeHidden: true }).getByRole('heading', { includeHidden: true, level: 3 }).first() 39 | } ) 40 | .first(); > 41 | await expect( firstTitle ).toHaveText( 'Tag Archives' ); | ^ 42 | // Ascending by title. 43 | await page 44 | .getByRole( 'menuitemradio', { name: 'Sort ascending' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/new-templates-list.spec.js:41:30
[chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting: test/e2e/specs/site-editor/new-templates-list.spec.js#L41
1) [chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('region', { name: 'Template', includeHidden: true }).getByRole('heading', { includeHidden: true, level: 3 }).first() Expected string: "Tag Archives" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('region', { name: 'Template', includeHidden: true }).getByRole('heading', { includeHidden: true, level: 3 }).first() 39 | } ) 40 | .first(); > 41 | await expect( firstTitle ).toHaveText( 'Tag Archives' ); | ^ 42 | // Ascending by title. 43 | await page 44 | .getByRole( 'menuitemradio', { name: 'Sort ascending' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/new-templates-list.spec.js:41:30
[chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering: test/e2e/specs/site-editor/new-templates-list.spec.js#L61
2) [chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering ────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: getByRole('region', { name: 'Template' }).getByRole('heading', { level: 3 }) Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for getByRole('region', { name: 'Template' }).getByRole('heading', { level: 3 }) - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" 59 | .getByRole( 'region', { name: 'Template' } ) 60 | .getByRole( 'heading', { level: 3 } ); > 61 | await expect( titles ).toHaveCount( 1 ); | ^ 62 | await expect( titles.first() ).toHaveText( 'Tag Archives' ); 63 | await page.getByRole( 'button', { name: 'Reset filters' } ).click(); 64 | await expect( titles ).toHaveCount( 6 ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/new-templates-list.spec.js:61:26
[chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering: test/e2e/specs/site-editor/new-templates-list.spec.js#L61
2) [chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: getByRole('region', { name: 'Template' }).getByRole('heading', { level: 3 }) Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for getByRole('region', { name: 'Template' }).getByRole('heading', { level: 3 }) - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" 59 | .getByRole( 'region', { name: 'Template' } ) 60 | .getByRole( 'heading', { level: 3 } ); > 61 | await expect( titles ).toHaveCount( 1 ); | ^ 62 | await expect( titles.first() ).toHaveText( 'Tag Archives' ); 63 | await page.getByRole( 'button', { name: 'Reset filters' } ).click(); 64 | await expect( titles ).toHaveCount( 6 ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/new-templates-list.spec.js:61:26
[chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering: test/e2e/specs/site-editor/new-templates-list.spec.js#L61
2) [chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering ────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: getByRole('region', { name: 'Template' }).getByRole('heading', { level: 3 }) Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for getByRole('region', { name: 'Template' }).getByRole('heading', { level: 3 }) - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" 59 | .getByRole( 'region', { name: 'Template' } ) 60 | .getByRole( 'heading', { level: 3 } ); > 61 | await expect( titles ).toHaveCount( 1 ); | ^ 62 | await expect( titles.first() ).toHaveText( 'Tag Archives' ); 63 | await page.getByRole( 'button', { name: 'Reset filters' } ).click(); 64 | await expect( titles ).toHaveCount( 6 ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/new-templates-list.spec.js:61:26
[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
3) [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
Playwright - 6
Process completed with exit code 1.
🎭 Playwright Run Summary
127 passed (5.8m)
🎭 Playwright Run Summary
1 skipped 113 passed (5.6m)
🎭 Playwright Run Summary
146 passed (6.7m)
🎭 Playwright Run Summary
1 skipped 152 passed (6.3m)
🎭 Playwright Run Summary
134 passed (6.8m)
🎭 Playwright Run Summary
2 failed [chromium] › site-editor/new-templates-list.spec.js:20:2 › Templates › Sorting ───────────────── [chromium] › site-editor/new-templates-list.spec.js:48:2 › Templates › Filtering ─────────────── 1 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 1 skipped 111 passed (7.1m)
🎭 Playwright Run Summary
3 skipped 119 passed (6.9m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
6.79 MB
flaky-tests-report Expired
2.94 KB