SlotFill: use observableMap everywhere, remove manual rerendering #120421
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L183
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
TimeoutError: locator.inputValue: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
181 | .getByRole( 'tabpanel', { name: 'Settings' } )
182 | .getByLabel( 'Alternative text' )
> 183 | .inputValue();
| ^
184 | expect( altValue ).toBe( 'Text Field Value' );
185 |
186 | // Title input should have the original value.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:183:6
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L183
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.inputValue: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
181 | .getByRole( 'tabpanel', { name: 'Settings' } )
182 | .getByLabel( 'Alternative text' )
> 183 | .inputValue();
| ^
184 | expect( altValue ).toBe( 'Text Field Value' );
185 |
186 | // Title input should have the original value.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:183:6
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L183
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.inputValue: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
181 | .getByRole( 'tabpanel', { name: 'Settings' } )
182 | .getByLabel( 'Alternative text' )
> 183 | .inputValue();
| ^
184 | expect( altValue ).toBe( 'Text Field Value' );
185 |
186 | // Title input should have the original value.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:183:6
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L477
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:428:4 › Registered sources › should lock editing › canUserEditValue returns false › image
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: have attribute
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
475 | .getByRole( 'tabpanel', { name: 'Settings' } )
476 | .getByLabel( 'Alternative text' )
> 477 | ).toHaveAttribute( 'readonly' );
| ^
478 | const altValue = await page
479 | .getByRole( 'tabpanel', { name: 'Settings' } )
480 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:477:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L477
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:428:4 › Registered sources › should lock editing › canUserEditValue returns false › image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: have attribute
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
475 | .getByRole( 'tabpanel', { name: 'Settings' } )
476 | .getByLabel( 'Alternative text' )
> 477 | ).toHaveAttribute( 'readonly' );
| ^
478 | const altValue = await page
479 | .getByRole( 'tabpanel', { name: 'Settings' } )
480 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:477:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L477
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:428:4 › Registered sources › should lock editing › canUserEditValue returns false › image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: have attribute
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
475 | .getByRole( 'tabpanel', { name: 'Settings' } )
476 | .getByLabel( 'Alternative text' )
> 477 | ).toHaveAttribute( 'readonly' );
| ^
478 | const altValue = await page
479 | .getByRole( 'tabpanel', { name: 'Settings' } )
480 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:477:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L744
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:713:3 › Registered sources › setValues › should be possible to edit the value of the text custom field from the image alt
Error: Timed out 5000ms waiting for expect(locator).not.toHaveAttribute()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: not have attribute
Received: <element(s) not found>
Call log:
- expect.not.toHaveAttribute with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
742 | .getByRole( 'tabpanel', { name: 'Settings' } )
743 | .getByLabel( 'Alternative text' );
> 744 | await expect( altInputArea ).not.toHaveAttribute( 'readonly' );
| ^
745 | await altInputArea.fill( 'new value' );
746 |
747 | // Check that the image alt attribute didn't change.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:744:37
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L744
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:713:3 › Registered sources › setValues › should be possible to edit the value of the text custom field from the image alt
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toHaveAttribute()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: not have attribute
Received: <element(s) not found>
Call log:
- expect.not.toHaveAttribute with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
742 | .getByRole( 'tabpanel', { name: 'Settings' } )
743 | .getByLabel( 'Alternative text' );
> 744 | await expect( altInputArea ).not.toHaveAttribute( 'readonly' );
| ^
745 | await altInputArea.fill( 'new value' );
746 |
747 | // Check that the image alt attribute didn't change.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:744:37
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L744
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:713:3 › Registered sources › setValues › should be possible to edit the value of the text custom field from the image alt
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toHaveAttribute()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: not have attribute
Received: <element(s) not found>
Call log:
- expect.not.toHaveAttribute with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
742 | .getByRole( 'tabpanel', { name: 'Settings' } )
743 | .getByLabel( 'Alternative text' );
> 744 | await expect( altInputArea ).not.toHaveAttribute( 'readonly' );
| ^
745 | await altInputArea.fill( 'new value' );
746 |
747 | // Check that the image alt attribute didn't change.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:744:37
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L768
4) [chromium] › editor/various/block-bindings/custom-sources.spec.js:761:3 › Registered sources › getFieldsList › should be possible to update attribute value through bindings UI
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('Attributes options')
766 | name: 'core/paragraph',
767 | } );
> 768 | await page.getByLabel( 'Attributes options' ).click();
| ^
769 | await page
770 | .getByRole( 'menuitemcheckbox', {
771 | name: 'Show content',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:768:50
|
Run the tests
40 failed
[chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
[chromium] › editor/various/block-bindings/custom-sources.spec.js:428:4 › Registered sources › should lock editing › canUserEditValue returns false › image
[chromium] › editor/various/block-bindings/custom-sources.spec.js:713:3 › Registered sources › setValues › should be possible to edit the value of the text custom field from the image alt
[chromium] › editor/various/block-bindings/custom-sources.spec.js:761:3 › Registered sources › getFieldsList › should be possible to update attribute value through bindings UI
[chromium] › editor/various/block-bindings/custom-sources.spec.js:784:3 › Registered sources › getFieldsList › should be possible to connect the paragraph content
[chromium] › editor/various/block-bindings/custom-sources.spec.js:797:3 › Registered sources › getFieldsList › should be possible to connect the heading content
[chromium] › editor/various/block-bindings/custom-sources.spec.js:810:3 › Registered sources › getFieldsList › should be possible to connect the button supported attributes
[chromium] › editor/various/block-bindings/custom-sources.spec.js:857:3 › Registered sources › getFieldsList › should be possible to connect the image supported attributes
[chromium] › editor/various/block-bindings/custom-sources.spec.js:892:3 › Registered sources › getFieldsList › should show all the available fields in the dropdown UI
[chromium] › editor/various/block-bindings/custom-sources.spec.js:922:3 › Registered sources › getFieldsList › should show the connected fields in the attributes panel
[chromium] › editor/various/block-bindings/custom-sources.spec.js:1160:2 › Registered sources › should show the label of a source only registered in the server in blocks connected
[chromium] › editor/various/block-bindings/custom-sources.spec.js:1182:2 › Registered sources › should show an "Invalid source" warning for not registered sources
[chromium] › editor/various/block-bindings/post-meta.spec.js:143:4 › Post Meta source › Movie CPT template › Attributes panel › should show the field label if it is defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:174:4 › Post Meta source › Movie CPT template › Attributes panel › should fall back to the field key if the field label is not defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:226:4 › Post Meta source › Movie CPT template › Fields list dropdown › should include movie fields in UI to connect attributes
[chromium] › editor/various/block-bindings/post-meta.spec.js:234:4 › Post Meta source › Movie CPT template › Fields list dropdown › should include global fields in UI to connect attributes
[chromium] › editor/various/block-bindings/post-meta.spec.js:242:4 › Post Meta source › Movie CPT template › Fields list dropdown › should not include protected fields
[chromium] › editor/various/block-bindings/post-meta.spec.js:258:4 › Post Meta source › Movie CPT template › Fields list dropdown › should show the default value if it is defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:268:4 › Post Meta source › Movie CPT template › Fields list dropdown › should not show anything if the default value is not defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:292:3 › Post Meta source › Custom template › should not include post meta fields in UI to connect attributes
[chromium] › editor/various/block-bindings/post-meta.spec.js:527:3 › Post Meta source › Movie CPT post › should be possible to connect movie fields through the attributes panel
[chromium] › editor/various/block-bindings/post-meta.spec.js:550:3 › Post Meta source › Movie CPT post › should not be possible to connect non-supported fields through the attributes panel
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate usi
|
Loading