Update template part block to behave more like pattern block #122093
Annotations
8 errors, 9 warnings, and 8 notices
[chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option:
test/e2e/specs/site-editor/template-part.spec.js#L51
1) [chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]').locator('role=button[name="Add block"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]').locator('role=button[name="Add block"i]')
49 | );
50 | await expect( templatePart ).toBeVisible();
> 51 | await expect( addBlockButton ).toBeVisible();
| ^
52 | } );
53 |
54 | test( 'can create template parts via the block placeholder choose existing option', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:51:34
|
[chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option:
test/e2e/specs/site-editor/template-part.spec.js#L51
1) [chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]').locator('role=button[name="Add block"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]').locator('role=button[name="Add block"i]')
49 | );
50 | await expect( templatePart ).toBeVisible();
> 51 | await expect( addBlockButton ).toBeVisible();
| ^
52 | } );
53 |
54 | test( 'can create template parts via the block placeholder choose existing option', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:51:34
|
[chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option:
test/e2e/specs/site-editor/template-part.spec.js#L51
1) [chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]').locator('role=button[name="Add block"i]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]').locator('role=button[name="Add block"i]')
49 | );
50 | await expect( templatePart ).toBeVisible();
> 51 | await expect( addBlockButton ).toBeVisible();
| ^
52 | } );
53 |
54 | test( 'can create template parts via the block placeholder choose existing option', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:51:34
|
[chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part:
test/e2e/specs/site-editor/template-part.spec.js#L351
2) [chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Advanced' })
349 | // Go to Block Inspector -> Advanced.
350 | await editor.openDocumentSettingsSidebar();
> 351 | await page.getByRole( 'button', { name: 'Advanced' } ).click();
| ^
352 |
353 | // Verify that the widget area import button is not there.
354 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:351:58
|
[chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part:
test/e2e/specs/site-editor/template-part.spec.js#L351
2) [chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Advanced' })
349 | // Go to Block Inspector -> Advanced.
350 | await editor.openDocumentSettingsSidebar();
> 351 | await page.getByRole( 'button', { name: 'Advanced' } ).click();
| ^
352 |
353 | // Verify that the widget area import button is not there.
354 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:351:58
|
[chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part:
test/e2e/specs/site-editor/template-part.spec.js#L351
2) [chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Advanced' })
349 | // Go to Block Inspector -> Advanced.
350 | await editor.openDocumentSettingsSidebar();
> 351 | await page.getByRole( 'button', { name: 'Advanced' } ).click();
| ^
352 |
353 | // Verify that the widget area import button is not there.
354 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:351:58
|
Playwright - 6
Process completed with exit code 1.
|
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox:
packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible
at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57
55 | // Wait for the canvas loader to appear first, so that the locator that
56 | // waits for the hidden state doesn't resolve prematurely.
> 57 | await canvasLoader.waitFor( { state: 'visible', timeout: 60_000 } );
| ^
58 | await canvasLoader.waitFor( {
59 | state: 'hidden',
60 | // Bigger timeout is needed for larger entities, like the Large Post
at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
|
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
2 failed
[chromium] › site-editor/template-part.spec.js:22:2 › Template Part › can create template parts via the block placeholder start blank option
[chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part
2 skipped
198 passed (7.8m)
|
🎭 Playwright Run Summary
1 skipped
198 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.5m)
|
🎭 Playwright Run Summary
1 skipped
198 passed (9.6m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (10.1m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (10.2m)
|
|
🎭 Playwright Run Summary
199 passed (10.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
8.22 MB |
|
flaky-tests-report
|
1.1 KB |
|