diff --git a/test/e2e/specs/editor/various/block-bindings.spec.js b/test/e2e/specs/editor/various/block-bindings.spec.js index 6d0aa11563730d..fc315e522b81ac 100644 --- a/test/e2e/specs/editor/various/block-bindings.spec.js +++ b/test/e2e/specs/editor/various/block-bindings.spec.js @@ -939,7 +939,7 @@ test.describe( 'Block bindings', () => { page .getByRole( 'tabpanel', { name: 'Settings' } ) .getByLabel( 'Alternative text' ) - ).toBeDisabled(); + ).toHaveAttribute( 'readonly' ); const altValue = await page .getByRole( 'tabpanel', { name: 'Settings' } ) .getByLabel( 'Alternative text' ) @@ -1081,7 +1081,7 @@ test.describe( 'Block bindings', () => { page .getByRole( 'tabpanel', { name: 'Settings' } ) .getByLabel( 'Title attribute' ) - ).toBeDisabled(); + ).toHaveAttribute( 'readonly' ); const titleValue = await page .getByRole( 'tabpanel', { name: 'Settings' } ) .getByLabel( 'Title attribute' )