From fb4718e793f3f0c0f61d051e7345800d10600a08 Mon Sep 17 00:00:00 2001 From: Volodymyr Makukha Date: Wed, 4 Dec 2024 17:10:55 +0000 Subject: [PATCH] e2e: fix correct title tag --- test/e2e/specs/editor/editor__page-basic-flow.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/specs/editor/editor__page-basic-flow.ts b/test/e2e/specs/editor/editor__page-basic-flow.ts index 64be82e649fcb..10818c3ab8400 100644 --- a/test/e2e/specs/editor/editor__page-basic-flow.ts +++ b/test/e2e/specs/editor/editor__page-basic-flow.ts @@ -74,7 +74,8 @@ describe( DataHelper.createSuiteTitle( 'Editor: Basic Post Flow' ), function () it( 'Template content loads into editor', async function () { const editorCanvas = await editorPage.getEditorCanvas(); - await editorCanvas.locator( `h1.wp-block:text-is('${ pageTemplateToSelect }')` ).waitFor(); + + await editorCanvas.locator( `h2.wp-block:text-is('${ pageTemplateToSelect }')` ).waitFor(); } ); it( 'Open setting sidebar', async function () {