From 70e6e63e2cf31c567e1111ab2b2ffa16d5f201e7 Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Tue, 29 Aug 2023 23:44:24 +0900 Subject: [PATCH] Fix e2e test --- test/e2e/specs/site-editor/style-book.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/site-editor/style-book.spec.js b/test/e2e/specs/site-editor/style-book.spec.js index 47001a48edbd1..b0bb840b2b0e2 100644 --- a/test/e2e/specs/site-editor/style-book.spec.js +++ b/test/e2e/specs/site-editor/style-book.spec.js @@ -42,7 +42,7 @@ test.describe( 'Style Book', () => { ).not.toBeVisible(); await expect( page.locator( 'role=button[name="View"i]' ) - ).not.toBeVisible(); + ).toHaveAttribute( 'aria-disabled', 'true' ); } ); test( 'should have tabs containing block examples', async ( { page } ) => {