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 () {