Image: Mark connected controls as 'readonly' #97093
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L879
1) [chromium] › editor/various/block-bindings.spec.js:840:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to a registered source
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
877 | .getByRole( 'tabpanel', { name: 'Settings' } )
878 | .getByLabel( 'Alternative text' )
> 879 | ).toBeDisabled();
| ^
880 | const altValue = await page
881 | .getByRole( 'tabpanel', { name: 'Settings' } )
882 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:879:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L879
1) [chromium] › editor/various/block-bindings.spec.js:840:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to a registered source
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
877 | .getByRole( 'tabpanel', { name: 'Settings' } )
878 | .getByLabel( 'Alternative text' )
> 879 | ).toBeDisabled();
| ^
880 | const altValue = await page
881 | .getByRole( 'tabpanel', { name: 'Settings' } )
882 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:879:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L879
1) [chromium] › editor/various/block-bindings.spec.js:840:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to a registered source
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>text_custom_field</textarea>
- unexpected value "enabled"
877 | .getByRole( 'tabpanel', { name: 'Settings' } )
878 | .getByLabel( 'Alternative text' )
> 879 | ).toBeDisabled();
| ^
880 | const altValue = await page
881 | .getByRole( 'tabpanel', { name: 'Settings' } )
882 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:879:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L942
2) [chromium] › editor/various/block-bindings.spec.js:903:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to an undefined source
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
940 | .getByRole( 'tabpanel', { name: 'Settings' } )
941 | .getByLabel( 'Alternative text' )
> 942 | ).toBeDisabled();
| ^
943 | const altValue = await page
944 | .getByRole( 'tabpanel', { name: 'Settings' } )
945 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:942:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L942
2) [chromium] › editor/various/block-bindings.spec.js:903:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to an undefined source
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
940 | .getByRole( 'tabpanel', { name: 'Settings' } )
941 | .getByLabel( 'Alternative text' )
> 942 | ).toBeDisabled();
| ^
943 | const altValue = await page
944 | .getByRole( 'tabpanel', { name: 'Settings' } )
945 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:942:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L942
2) [chromium] › editor/various/block-bindings.spec.js:903:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to an undefined source
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Alternative text')
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
- locator resolved to <textarea rows="4" readonly id="inspector-textarea-control…>default alt value</textarea>
- unexpected value "enabled"
940 | .getByRole( 'tabpanel', { name: 'Settings' } )
941 | .getByLabel( 'Alternative text' )
> 942 | ).toBeDisabled();
| ^
943 | const altValue = await page
944 | .getByRole( 'tabpanel', { name: 'Settings' } )
945 | .getByLabel( 'Alternative text' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:942:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1021
3) [chromium] › editor/various/block-bindings.spec.js:966:4 › Block bindings › Template context › Image › Should disable title input when title is bound to a registered source
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
1019 | .getByRole( 'tabpanel', { name: 'Settings' } )
1020 | .getByLabel( 'Title attribute' )
> 1021 | ).toBeDisabled();
| ^
1022 | const titleValue = await page
1023 | .getByRole( 'tabpanel', { name: 'Settings' } )
1024 | .getByLabel( 'Title attribute' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1021:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1021
3) [chromium] › editor/various/block-bindings.spec.js:966:4 › Block bindings › Template context › Image › Should disable title input when title is bound to a registered source
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
1019 | .getByRole( 'tabpanel', { name: 'Settings' } )
1020 | .getByLabel( 'Title attribute' )
> 1021 | ).toBeDisabled();
| ^
1022 | const titleValue = await page
1023 | .getByRole( 'tabpanel', { name: 'Settings' } )
1024 | .getByLabel( 'Title attribute' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1021:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1021
3) [chromium] › editor/various/block-bindings.spec.js:966:4 › Block bindings › Template context › Image › Should disable title input when title is bound to a registered source
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="text_custom_field" i…/>
- unexpected value "enabled"
1019 | .getByRole( 'tabpanel', { name: 'Settings' } )
1020 | .getByLabel( 'Title attribute' )
> 1021 | ).toBeDisabled();
| ^
1022 | const titleValue = await page
1023 | .getByRole( 'tabpanel', { name: 'Settings' } )
1024 | .getByLabel( 'Title attribute' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1021:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1084
4) [chromium] › editor/various/block-bindings.spec.js:1029:4 › Block bindings › Template context › Image › Should disable title input when title is bound to an undefined source
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for getByRole('tabpanel', { name: 'Settings' }).getByLabel('Title attribute')
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
- locator resolved to <input readonly type="text" value="default title value"…/>
- unexpected value "enabled"
1082 | .getByRole( 'tabpanel', { name: 'Settings' } )
1083 | .getByLabel( 'Title attribute' )
> 1084 | ).toBeDisabled();
| ^
1085 | const titleValue = await page
1086 | .getByRole( 'tabpanel', { name: 'Settings' } )
1087 | .getByLabel( 'Title attribute' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1084: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/.
|
Run the tests
8 failed
[chromium] › editor/various/block-bindings.spec.js:840:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:903:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to an undefined source
[chromium] › editor/various/block-bindings.spec.js:966:4 › Block bindings › Template context › Image › Should disable title input when title is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:1029:4 › Block bindings › Template context › Image › Should disable title input when title is bound to an undefined source
[chromium] › editor/various/block-bindings.spec.js:1092:4 › Block bindings › Template context › Image › Multiple bindings should lock the appropriate controls
[chromium] › editor/various/block-bindings.spec.js:1508: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:1574: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:1650:4 › Block bindings › Post/page context › Image › Multiple bindings should show the value of the custom fields
157 passed (11.6m)
|
The logs for this run have expired and are no longer available.
Loading