Block Bindings: enhance block attribute binding to external sources #97467
Annotations
11 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L89
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' })
locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
87 | await editorSettings
88 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } )
> 89 | .setChecked( true );
| ^
90 |
91 | await expect.poll( editor.getBlocks ).toMatchObject( [
92 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:89:6
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:37:3
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L89
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' })
locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
87 | await editorSettings
88 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } )
> 89 | .setChecked( true );
| ^
90 |
91 | await expect.poll( editor.getBlocks ).toMatchObject( [
92 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:89:6
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:37:3
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L89
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' })
locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
click action done
waiting for scheduled navigations to finish
navigations have finished
============================================================
87 | await editorSettings
88 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } )
> 89 | .setChecked( true );
| ^
90 |
91 | await expect.poll( editor.getBlocks ).toMatchObject( [
92 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:89:6
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:37:3
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L261
2) [chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "edited Editable",
+ "content": "Editable",
"metadata": undefined,
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
259 |
260 | // Check that the overrides remain.
> 261 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
262 | {
263 | name: 'core/paragraph',
264 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:261:41
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L261
2) [chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "edited Editable",
+ "content": "Editable",
"metadata": undefined,
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
259 |
260 | // Check that the overrides remain.
> 261 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
262 | {
263 | name: 'core/paragraph',
264 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:261:41
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L261
2) [chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "edited Editable",
+ "content": "Editable",
"metadata": undefined,
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
259 |
260 | // Check that the overrides remain.
> 261 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
262 | {
263 | name: 'core/paragraph',
264 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:261:41
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L301
3) [chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
TimeoutError: locator.focus: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' })
============================================================
299 | .getByRole( 'document', { name: 'Block: Button' } )
300 | .getByRole( 'textbox', { name: 'Button text' } )
> 301 | .focus();
| ^
302 | await expect(
303 | page.getByRole( 'link', { name: 'wp.org' } )
304 | ).toContainText( 'opens in a new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:301:5
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L301
3) [chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.focus: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' })
============================================================
299 | .getByRole( 'document', { name: 'Block: Button' } )
300 | .getByRole( 'textbox', { name: 'Button text' } )
> 301 | .focus();
| ^
302 | await expect(
303 | page.getByRole( 'link', { name: 'wp.org' } )
304 | ).toContainText( 'opens in a new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:301:5
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L301
3) [chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.focus: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' })
============================================================
299 | .getByRole( 'document', { name: 'Block: Button' } )
300 | .getByRole( 'textbox', { name: 'Button text' } )
> 301 | .focus();
| ^
302 | await expect(
303 | page.getByRole( 'link', { name: 'wp.org' } )
304 | ).toContainText( 'opens in a new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:301:5
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L417
4) [chromium] › editor/various/pattern-overrides.spec.js:383:2 › Pattern Overrides › disables editing of nested patterns
Error: locator.fill: Error: Element is not an <input>, <textarea> or [contenteditable] element
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
elementHandle.fill("Outer heading (edited)")
waiting for element to be visible, enabled and editable
Element is not an <input>, <textarea> or [contenteditable] element
============================================================
415 | await editor.canvas
416 | .getByRole( 'document', { name: 'Block: Heading' } )
> 417 | .fill( 'Outer heading (edited)' );
| ^
418 |
419 | const postId = await editor.publishPost();
420 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:417:5
|
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
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/.
|
Run the tests
6 failed
[chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides
[chromium] › editor/various/pattern-overrides.spec.js:225:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks
[chromium] › editor/various/pattern-overrides.spec.js:272:2 › Pattern Overrides › handles button's link settings
[chromium] › editor/various/pattern-overrides.spec.js:383:2 › Pattern Overrides › disables editing of nested patterns
[chromium] › editor/various/pattern-overrides.spec.js:502:2 › Pattern Overrides › resets overrides after clicking the reset button
[chromium] › editor/various/pattern-overrides.spec.js:594:2 › Pattern Overrides › overridden empty images should not have upload button
1 skipped
157 passed (10.1m)
|
The logs for this run have expired and are no longer available.
Loading