Show Template: Refactor rendering mode management in editor provider and store to persist it #122748
Annotations
20 errors, 9 warnings, and 8 notices
[chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles:
test/e2e/specs/site-editor/block-style-variations.spec.js#L226
1) [chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('[name="revisions"]').contentFrame().getByRole('document', { name: 'Block: Content' }).locator('[data-type="core/group"]').first()
Expected string: "dotted"
Received: <element(s) not found>
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('[name="revisions"]').contentFrame().getByRole('document', { name: 'Block: Content' }).locator('[data-type="core/group"]').first()
224 |
225 | // Check parent styles have current revision.
> 226 | await expect( revisionFirstGroup ).toHaveCSS(
| ^
227 | 'border-style',
228 | 'dotted'
229 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-style-variations.spec.js:226:38
|
[chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles:
test/e2e/specs/site-editor/block-style-variations.spec.js#L226
1) [chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('[name="revisions"]').contentFrame().getByRole('document', { name: 'Block: Content' }).locator('[data-type="core/group"]').first()
Expected string: "dotted"
Received: <element(s) not found>
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('[name="revisions"]').contentFrame().getByRole('document', { name: 'Block: Content' }).locator('[data-type="core/group"]').first()
224 |
225 | // Check parent styles have current revision.
> 226 | await expect( revisionFirstGroup ).toHaveCSS(
| ^
227 | 'border-style',
228 | 'dotted'
229 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-style-variations.spec.js:226:38
|
[chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles:
test/e2e/specs/site-editor/block-style-variations.spec.js#L226
1) [chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('[name="revisions"]').contentFrame().getByRole('document', { name: 'Block: Content' }).locator('[data-type="core/group"]').first()
Expected string: "dotted"
Received: <element(s) not found>
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('[name="revisions"]').contentFrame().getByRole('document', { name: 'Block: Content' }).locator('[data-type="core/group"]').first()
224 |
225 | // Check parent styles have current revision.
> 226 | await expect( revisionFirstGroup ).toHaveCSS(
| ^
227 | 'border-style',
228 | 'dotted'
229 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/block-style-variations.spec.js:226:38
|
[chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page:
test/e2e/specs/site-editor/command-center.spec.js#L37
2) [chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().getByLabel('Block: Title').locator('[data-rich-text-placeholder="No title"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByLabel('Block: Title').locator('[data-rich-text-placeholder="No title"]')
35 | .getByLabel( 'Block: Title' )
36 | .locator( '[data-rich-text-placeholder="No title"]' )
> 37 | ).toBeVisible();
| ^
38 | } );
39 |
40 | test( 'Open the command palette and navigate to a template', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/command-center.spec.js:37:5
|
[chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page:
test/e2e/specs/site-editor/command-center.spec.js#L37
2) [chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().getByLabel('Block: Title').locator('[data-rich-text-placeholder="No title"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByLabel('Block: Title').locator('[data-rich-text-placeholder="No title"]')
35 | .getByLabel( 'Block: Title' )
36 | .locator( '[data-rich-text-placeholder="No title"]' )
> 37 | ).toBeVisible();
| ^
38 | } );
39 |
40 | test( 'Open the command palette and navigate to a template', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/command-center.spec.js:37:5
|
[chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page:
test/e2e/specs/site-editor/command-center.spec.js#L37
2) [chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().getByLabel('Block: Title').locator('[data-rich-text-placeholder="No title"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByLabel('Block: Title').locator('[data-rich-text-placeholder="No title"]')
35 | .getByLabel( 'Block: Title' )
36 | .locator( '[data-rich-text-placeholder="No title"]' )
> 37 | ).toBeVisible();
| ^
38 | } );
39 |
40 | test( 'Open the command palette and navigate to a template', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/command-center.spec.js:37:5
|
[chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded:
test/e2e/specs/site-editor/preload.spec.js#L46
3) [chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "/wp/v2/settings",
"/wp/v2/users/me",
+ "/wp/v2/settings",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // There are two separate settings OPTIONS requests. We should fix
48 | // so the one for canUser and getEntityRecord are reused.
49 | '/wp/v2/settings',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
[chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded:
test/e2e/specs/site-editor/preload.spec.js#L46
3) [chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "/wp/v2/settings",
"/wp/v2/users/me",
+ "/wp/v2/settings",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // There are two separate settings OPTIONS requests. We should fix
48 | // so the one for canUser and getEntityRecord are reused.
49 | '/wp/v2/settings',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
[chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded:
test/e2e/specs/site-editor/preload.spec.js#L46
3) [chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "/wp/v2/settings",
"/wp/v2/users/me",
+ "/wp/v2/settings",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // There are two separate settings OPTIONS requests. We should fix
48 | // so the one for canUser and getEntityRecord are reused.
49 | '/wp/v2/settings',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
4) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByLabel('Sample Page')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Sample Page')
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
- locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-189-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-189-label" aria-describedby="view-list-0-189-description"></button>
- unexpected value "not focused"
111 | // Use arrow up/down to move through the list.
112 | await page.keyboard.press( 'ArrowDown' );
> 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused();
| ^
114 |
115 | await page.keyboard.press( 'ArrowUp' );
116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
|
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option:
test/e2e/specs/site-editor/template-hierarchy.spec.js#L29
1) [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Title"]')
Expected string: "Sample Page"
Received: <element(s) not found>
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Title"]')
27 | await expect(
28 | editor.canvas.locator( 'role=document[name="Block: Title"]' )
> 29 | ).toContainText( 'Sample Page' );
| ^
30 |
31 | await admin.visitAdminPage( 'options-reading.php' );
32 | await page.click( 'input[name="show_on_front"][value="posts"]' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-hierarchy.spec.js:29:5
|
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option:
test/e2e/specs/site-editor/template-hierarchy.spec.js#L29
1) [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Title"]')
Expected string: "Sample Page"
Received: <element(s) not found>
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Title"]')
27 | await expect(
28 | editor.canvas.locator( 'role=document[name="Block: Title"]' )
> 29 | ).toContainText( 'Sample Page' );
| ^
30 |
31 | await admin.visitAdminPage( 'options-reading.php' );
32 | await page.click( 'input[name="show_on_front"][value="posts"]' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-hierarchy.spec.js:29:5
|
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option:
test/e2e/specs/site-editor/template-hierarchy.spec.js#L29
1) [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Title"]')
Expected string: "Sample Page"
Received: <element(s) not found>
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Title"]')
27 | await expect(
28 | editor.canvas.locator( 'role=document[name="Block: Title"]' )
> 29 | ).toContainText( 'Sample Page' );
| ^
30 |
31 | await admin.visitAdminPage( 'options-reading.php' );
32 | await page.click( 'input[name="show_on_front"][value="posts"]' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-hierarchy.spec.js:29:5
|
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.:
test/e2e/specs/site-editor/template-part-focus-mode.spec.js#L26
2) [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('h1')
Expected string: "Blog Home"
Received string: "Sample Page· Homepage"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('h1')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
24 |
25 | // Check that we're editing the template
> 26 | await expect( page.locator( 'h1' ) ).toContainText( 'Blog Home' );
| ^
27 | await expect( page.locator( 'h1' ) ).toContainText( 'Template' );
28 |
29 | // Click Template Part
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part-focus-mode.spec.js:26:40
|
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.:
test/e2e/specs/site-editor/template-part-focus-mode.spec.js#L26
2) [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('h1')
Expected string: "Blog Home"
Received string: "Sample Page· Homepage"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('h1')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
24 |
25 | // Check that we're editing the template
> 26 | await expect( page.locator( 'h1' ) ).toContainText( 'Blog Home' );
| ^
27 | await expect( page.locator( 'h1' ) ).toContainText( 'Template' );
28 |
29 | // Click Template Part
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part-focus-mode.spec.js:26:40
|
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.:
test/e2e/specs/site-editor/template-part-focus-mode.spec.js#L26
2) [chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('h1')
Expected string: "Blog Home"
Received string: "Sample Page· Homepage"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('h1')
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
- locator resolved to <h1 data-wp-c16t="true" data-wp-component="Text" class="components-truncate components-text css-bc6pwz e19lxcc00">…</h1>
- unexpected value "Sample Page· Homepage"
24 |
25 | // Check that we're editing the template
> 26 | await expect( page.locator( 'h1' ) ).toContainText( 'Blog Home' );
| ^
27 | await expect( page.locator( 'h1' ) ).toContainText( 'Template' );
28 |
29 | // Click Template Part
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part-focus-mode.spec.js:26:40
|
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option:
test/e2e/specs/site-editor/template-part.spec.js#L66
3) [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]')
- 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"
64 |
65 | // There should be 1 template part already in the index template.
> 66 | await expect( headerTemplateParts ).toHaveCount( 1 );
| ^
67 |
68 | // Insert a new template block and choose an existing header pattern.
69 | await editor.insertBlock( { name: 'core/template-part' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:66:39
|
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option:
test/e2e/specs/site-editor/template-part.spec.js#L66
3) [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]')
- 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"
64 |
65 | // There should be 1 template part already in the index template.
> 66 | await expect( headerTemplateParts ).toHaveCount( 1 );
| ^
67 |
68 | // Insert a new template block and choose an existing header pattern.
69 | await editor.insertBlock( { name: 'core/template-part' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:66:39
|
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option:
test/e2e/specs/site-editor/template-part.spec.js#L66
3) [chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/template-part"]')
- 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"
64 |
65 | // There should be 1 template part already in the index template.
> 66 | await expect( headerTemplateParts ).toHaveCount( 1 );
| ^
67 |
68 | // Insert a new template block and choose an existing header pattern.
69 | await editor.insertBlock( { name: 'core/template-part' } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:66:39
|
[chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part:
packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts#L17
4) [chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menu', { name: 'Options' }).getByRole('menuitem', { name: 'Create Template part' })
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17
15 | .getByRole( 'menu', { name: 'Options' } )
16 | .getByRole( 'menuitem', { name: label } )
> 17 | .click();
| ^
18 | }
19 |
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17:4)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:100:3
|
Playwright - 3
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 - 2
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 - 1
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 - 6
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
1 skipped
184 passed (8.6m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
210 passed (9.7m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.7m)
|
🎭 Playwright Run Summary
1 skipped
205 passed (10.1m)
|
🎭 Playwright Run Summary
207 passed (10.3m)
|
🎭 Playwright Run Summary
3 failed
[chromium] › site-editor/block-style-variations.spec.js:98:2 › Block Style Variations › update block style variations in global styles and check revisions match styles
[chromium] › site-editor/command-center.spec.js:20:2 › Site editor command palette › Open the command palette and navigate to the page create page
[chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
1 flaky
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
1 skipped
196 passed (11.0m)
|
🎭 Playwright Run Summary
15 failed
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option
[chromium] › site-editor/template-part-focus-mode.spec.js:15:2 › Template Part Focus mode › Should navigate to template part and back.
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option
[chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part
[chromium] › site-editor/template-part.spec.js:117:2 › Template Part › can convert multiple blocks to a template part
[chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part
[chromium] › site-editor/template-part.spec.js:219:2 › Template Part › shows changes in a template when a template part it contains is modified
[chromium] › site-editor/template-part.spec.js:337:2 › Template Part › can not import a widget area into a non-empty template part
[chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template
[chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
[chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload
[chromium] › site-editor/template-revert.spec.js:105:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar
[chromium] › site-editor/template-revert.spec.js:135:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
[chromium] › site-editor/template-revert.spec.js:168:2 › Template Revert › should show the edited content after revert, clicking undo in the header toolbar, save and reload
[chromium] › site-editor/undo.spec.js:15:2 › undo › does not empty header ──────────────────────
2 skipped
180 passed (14.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
105 MB |
|
flaky-tests-report
|
1.29 KB |
|