From 454f736ff387e37b57407d53df3f2d610d2e20b6 Mon Sep 17 00:00:00 2001 From: akasunil Date: Sun, 16 Jun 2024 13:33:13 +0530 Subject: [PATCH] Update e2e test for cover block --- 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 fa5103ebaa4eeb..276964c2cd7fca 100644 --- a/test/e2e/specs/editor/blocks/cover.spec.js +++ b/test/e2e/specs/editor/blocks/cover.spec.js @@ -158,7 +158,7 @@ test.describe( 'Cover', () => { // Ensure there the default value for the minimum height of cover is undefined. const defaultHeightValue = await coverBlockEditorSettings - .getByLabel( 'Minimum height of cover' ) + .getByRole( 'slider', { name: 'Minimum height of cover' } ) .inputValue(); expect( defaultHeightValue ).toBeFalsy();