Skip to content

Commit 3cffea3

Browse files
Mamadukamichalczaplinskiafercia
authored andcommitted
Image: Mark connected controls as 'readyonly' (#59059)
* Image: Mark connected controls as 'readyonly' * Update e2e tests Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: michalczaplinski <czapla@git.wordpress.org> Co-authored-by: afercia <afercia@git.wordpress.org>
1 parent 74c11f2 commit 3cffea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/specs/editor/various/block-bindings.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ test.describe( 'Block bindings', () => {
939939
page
940940
.getByRole( 'tabpanel', { name: 'Settings' } )
941941
.getByLabel( 'Alternative text' )
942-
).toBeDisabled();
942+
).toHaveAttribute( 'readonly' );
943943
const altValue = await page
944944
.getByRole( 'tabpanel', { name: 'Settings' } )
945945
.getByLabel( 'Alternative text' )
@@ -1081,7 +1081,7 @@ test.describe( 'Block bindings', () => {
10811081
page
10821082
.getByRole( 'tabpanel', { name: 'Settings' } )
10831083
.getByLabel( 'Title attribute' )
1084-
).toBeDisabled();
1084+
).toHaveAttribute( 'readonly' );
10851085
const titleValue = await page
10861086
.getByRole( 'tabpanel', { name: 'Settings' } )
10871087
.getByLabel( 'Title attribute' )

0 commit comments

Comments
 (0)