From 889e0f4b4be93db8fbc6c29710dc7d4b3527621f Mon Sep 17 00:00:00 2001 From: Mario Santos Date: Tue, 28 May 2024 11:01:24 +0200 Subject: [PATCH] Check contenteditable attribute in test --- test/e2e/specs/editor/various/block-bindings.spec.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/specs/editor/various/block-bindings.spec.js b/test/e2e/specs/editor/various/block-bindings.spec.js index e242e7f06ffd74..7c7256b3675665 100644 --- a/test/e2e/specs/editor/various/block-bindings.spec.js +++ b/test/e2e/specs/editor/various/block-bindings.spec.js @@ -1369,7 +1369,10 @@ test.describe( 'Block bindings', () => { await expect( paragraphBlock ).toHaveText( 'Value of the text_custom_field' ); - await expect( paragraphBlock ).toBeEditable(); + await expect( paragraphBlock ).toHaveAttribute( + 'contenteditable', + 'true' + ); await paragraphBlock.fill( 'new value' ); // Check that the paragraph content attribute didn't change. const [ paragraphBlockObject ] = await editor.getBlocks();