From 7586f2f0904f64ab64d63d4d1853981a530c9f34 Mon Sep 17 00:00:00 2001 From: akasunil Date: Mon, 17 Jun 2024 12:12:14 +0530 Subject: [PATCH] Fix e2e test for cover block height control --- test/e2e/specs/editor/blocks/cover.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/editor/blocks/cover.spec.js b/test/e2e/specs/editor/blocks/cover.spec.js index 7755af1c05867e..c0c146288e21ae 100644 --- a/test/e2e/specs/editor/blocks/cover.spec.js +++ b/test/e2e/specs/editor/blocks/cover.spec.js @@ -160,7 +160,7 @@ test.describe( 'Cover', () => { const defaultHeightValue = await coverBlockEditorSettings .getByRole( 'slider', { name: 'Minimum height' } ) .inputValue(); - expect( defaultHeightValue ).toBeFalsy(); + expect( defaultHeightValue ).toEqual( '0' ); // There is no accessible locator for the draggable block resize edge, // which is he bottom edge of the Cover block.