From 11c1e2d8fc35a44f4390259adb38867919638590 Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Fri, 9 Feb 2024 01:09:45 +0900 Subject: [PATCH] Try to fix e2e test --- test/e2e/specs/site-editor/font-library.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/site-editor/font-library.spec.js b/test/e2e/specs/site-editor/font-library.spec.js index 8bc7cfb17ea629..73aac85cdff288 100644 --- a/test/e2e/specs/site-editor/font-library.spec.js +++ b/test/e2e/specs/site-editor/font-library.spec.js @@ -61,7 +61,7 @@ test.describe( 'Font Library', () => { .click(); await expect( page.getByRole( 'dialog' ) ).toBeVisible(); await expect( - page.getByRole( 'heading', { name: 'Fonts' } ) + page.getByRole( 'heading', { name: 'Fonts', exact: true } ) ).toBeVisible(); } );