Block Bindings: Add block context needed for bindings in PHP #96900
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
6m 52s
Report to GitHub
3m 32s
Annotations
24 errors, 10 warnings, and 8 notices
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L112
1) [chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).getByText('Top Level Item 1')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).getByText('Top Level Item 1')
110 | } )
111 | .getByText( 'Top Level Item 1' )
> 112 | ).toBeVisible();
| ^
113 |
114 | await expect(
115 | listView
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:112:5
|
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus:
test/e2e/specs/editor/blocks/navigation-list-view.spec.js#L419
2) [chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('treegrid', { name: 'Block navigation structure' }).getByRole('gridcell', { name: 'Page Link' }).filter({ hasText: 'Block 1 of 2, Level 1' }).locator('xpath=..').getByRole('button', { name: 'Options for Page Link' })
============================================================
417 |
418 | // Open the options menu.
> 419 | await firstItemOptions.click();
| ^
420 |
421 | // Add the submenu.
422 | // usage of `page` is required because the options menu is rendered into a slot
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-list-view.spec.js:419:26
|
[chromium] › editor/blocks/navigation.spec.js:23:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to a list of pages if there are no menus:
test/e2e/specs/editor/blocks/navigation.spec.js#L34
3) [chromium] › editor/blocks/navigation.spec.js:23:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to a list of pages if there are no menus
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Page List' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Page List' })
32 | } );
33 |
> 34 | await expect( pageListBlock ).toBeVisible( {
| ^
35 | // Wait for the Nav and Page List block API requests to resolve.
36 | // Note: avoid waiting on network requests as these are not perceivable
37 | // to the user.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:34:34
|
[chromium] › editor/blocks/navigation.spec.js:127:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my most recently created menu:
test/e2e/specs/editor/blocks/navigation.spec.js#L166
4) [chromium] › editor/blocks/navigation.spec.js:127:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my most recently created menu
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Menu 2 Link"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="Menu 2 Link"')
164 | `role=textbox[name="Navigation link text"i] >> text="Menu 2 Link"`
165 | )
> 166 | ).toBeVisible();
| ^
167 |
168 | // Check the block in the frontend.
169 | await page.goto( `/?p=${ postId }` );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:166:6
|
[chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically:
test/e2e/specs/editor/blocks/navigation.spec.js#L236
5) [chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=textbox[name="Navigation link text"i]').locator('text="WordPress"')
234 | `role=textbox[name="Navigation link text"i] >> text="WordPress"`
235 | )
> 236 | ).toBeVisible();
| ^
237 |
238 | const navigationBlock = editor.canvas.getByRole( 'document', {
239 | name: 'Block: Navigation',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:236:6
|
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L211
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('p')
- Expected - 2
+ Received + 2
Array [
- "I would word it this way",
+ "This paragraph can be edited",
"This one can’t",
- "This one is different",
+ "This paragraph can be edited",
"This one can’t",
]
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
209 | .click();
210 |
> 211 | await expect( page.locator( 'p' ) ).toContainText( [
| ^
212 | 'I would word it this way',
213 | 'This one can’t',
214 | 'This one is different',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:211:40
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:125:3
|
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L211
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('p')
- Expected - 2
+ Received + 2
Array [
- "I would word it this way",
+ "This paragraph can be edited",
"This one can’t",
- "This one is different",
+ "This paragraph can be edited",
"This one can’t",
]
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
209 | .click();
210 |
> 211 | await expect( page.locator( 'p' ) ).toContainText( [
| ^
212 | 'I would word it this way',
213 | 'This one can’t',
214 | 'This one is different',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:211:40
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:125:3
|
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L211
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('p')
- Expected - 2
+ Received + 2
Array [
- "I would word it this way",
+ "This paragraph can be edited",
"This one can’t",
- "This one is different",
+ "This paragraph can be edited",
"This one can’t",
]
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('p')
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
- locator resolved to 4 elements
209 | .click();
210 |
> 211 | await expect( page.locator( 'p' ) ).toContainText( [
| ^
212 | 'I would word it this way',
213 | 'This one can’t',
214 | 'This one is different',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:211:40
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:125:3
|
[chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L489
2) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading', { level: 2 })
Expected string: "Outer heading (edited)"
Received string: "Outer heading"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 2 })
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
487 | await page.goto( `/?p=${ postId }` );
488 |
> 489 | await expect( page.getByRole( 'heading', { level: 2 } ) ).toHaveText(
| ^
490 | 'Outer heading (edited)'
491 | );
492 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:489:61
|
[chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L489
2) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading', { level: 2 })
Expected string: "Outer heading (edited)"
Received string: "Outer heading"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 2 })
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
487 | await page.goto( `/?p=${ postId }` );
488 |
> 489 | await expect( page.getByRole( 'heading', { level: 2 } ) ).toHaveText(
| ^
490 | 'Outer heading (edited)'
491 | );
492 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:489:61
|
[chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L489
2) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('heading', { level: 2 })
Expected string: "Outer heading (edited)"
Received string: "Outer heading"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 2 })
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
- locator resolved to <h2 class="wp-block-heading">Outer heading</h2>
- unexpected value "Outer heading"
487 | await page.goto( `/?p=${ postId }` );
488 |
> 489 | await expect( page.getByRole( 'heading', { level: 2 } ) ).toHaveText(
| ^
490 | 'Outer heading (edited)'
491 | );
492 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:489:61
|
Playwright - 5
Process completed with exit code 1.
|
Playwright - 5
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Playwright - 3
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/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists:
test/e2e/specs/editor/various/block-bindings.spec.js#L756
1) [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
754 | name: 'Block: Paragraph',
755 | } );
> 756 | await expect( paragraphBlock ).toHaveText(
| ^
757 | 'Value of the text_custom_field'
758 | );
759 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:756:36
|
[chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists:
test/e2e/specs/editor/various/block-bindings.spec.js#L756
1) [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
754 | name: 'Block: Paragraph',
755 | } );
> 756 | await expect( paragraphBlock ).toHaveText(
| ^
757 | 'Value of the text_custom_field'
758 | );
759 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:756:36
|
[chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists:
test/e2e/specs/editor/various/block-bindings.spec.js#L756
1) [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
754 | name: 'Block: Paragraph',
755 | } );
> 756 | await expect( paragraphBlock ).toHaveText(
| ^
757 | 'Value of the text_custom_field'
758 | );
759 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:756:36
|
[chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists:
test/e2e/specs/editor/various/block-bindings.spec.js#L798
2) [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "non_existing_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
796 | name: 'Block: Paragraph',
797 | } );
> 798 | await expect( paragraphBlock ).toHaveText(
| ^
799 | 'non_existing_custom_field'
800 | );
801 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:798:36
|
[chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists:
test/e2e/specs/editor/various/block-bindings.spec.js#L798
2) [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "non_existing_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
796 | name: 'Block: Paragraph',
797 | } );
> 798 | await expect( paragraphBlock ).toHaveText(
| ^
799 | 'non_existing_custom_field'
800 | );
801 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:798:36
|
[chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists:
test/e2e/specs/editor/various/block-bindings.spec.js#L798
2) [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "non_existing_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
796 | name: 'Block: Paragraph',
797 | } );
> 798 | await expect( paragraphBlock ).toHaveText(
| ^
799 | 'non_existing_custom_field'
800 | );
801 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:798:36
|
[chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field:
test/e2e/specs/editor/various/block-bindings.spec.js#L838
3) [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
836 | name: 'Block: Heading',
837 | } );
> 838 | await expect( headingBlock ).toHaveText(
| ^
839 | 'Value of the text_custom_field'
840 | );
841 | // Heading is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:838:33
|
[chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field:
test/e2e/specs/editor/various/block-bindings.spec.js#L838
3) [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
836 | name: 'Block: Heading',
837 | } );
> 838 | await expect( headingBlock ).toHaveText(
| ^
839 | 'Value of the text_custom_field'
840 | );
841 | // Heading is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:838:33
|
[chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field:
test/e2e/specs/editor/various/block-bindings.spec.js#L838
3) [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
836 | name: 'Block: Heading',
837 | } );
> 838 | await expect( headingBlock ).toHaveText(
| ^
839 | 'Value of the text_custom_field'
840 | );
841 | // Heading is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:838:33
|
[chromium] › editor/various/block-bindings.spec.js:857:4 › Block bindings › Post/page context › Button › Should show the value of the custom field when text is bound:
test/e2e/specs/editor/various/block-bindings.spec.js#L888
4) [chromium] › editor/various/block-bindings.spec.js:857:4 › Block bindings › Post/page context › Button › Should show the value of the custom field when text is bound
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button', exact: true }).getByRole('textbox')
============================================================
886 | } )
887 | .getByRole( 'textbox' );
> 888 | await buttonBlock.click();
| ^
889 | await expect( buttonBlock ).toHaveText(
890 | 'Value of the text_custom_field'
891 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:888:23
|
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 - 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 - 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 - 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 - 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 - 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/.
|
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/.
|
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
189 passed (7.9m)
|
🎭 Playwright Run Summary
11 skipped
152 passed (8.1m)
|
🎭 Playwright Run Summary
3 skipped
129 passed (7.8m)
|
🎭 Playwright Run Summary
4 skipped
157 passed (8.3m)
|
🎭 Playwright Run Summary
5 flaky
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
[chromium] › editor/blocks/navigation.spec.js:23:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to a list of pages if there are no menus
[chromium] › editor/blocks/navigation.spec.js:127:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my most recently created menu
[chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
1 skipped
154 passed (9.1m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides
[chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns
1 skipped
156 passed (8.9m)
|
🎭 Playwright Run Summary
162 passed (8.7m)
|
🎭 Playwright Run Summary
10 failed
[chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
[chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
[chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
[chromium] › editor/various/block-bindings.spec.js:857:4 › Block bindings › Post/page context › Button › Should show the value of the custom field when text is bound
[chromium] › editor/various/block-bindings.spec.js:913:4 › Block bindings › Post/page context › Button › Should use the value of the custom field when url is bound
[chromium] › editor/various/block-bindings.spec.js:951:4 › Block bindings › Post/page context › Button › Should use the values of the custom fields when text and url are bound
[chromium] › editor/various/block-bindings.spec.js:1020:4 › Block bindings › Post/page context › Image › Should show the value of the custom field when url is bound
[chromium] › editor/various/block-bindings.spec.js:1071:4 › Block bindings › Post/page context › Image › Should show value of the custom field in the alt textarea when alt is bound
[chromium] › editor/various/block-bindings.spec.js:1137:4 › Block bindings › Post/page context › Image › Should show value of the custom field in the title input when title is bound
[chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Image › Multiple bindings should show the value of the custom fields
153 passed (13.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
6.6 MB |
|
flaky-tests-report
Expired
|
6.37 KB |
|