Skip to content

Commit

Permalink
e2e: fix correct title tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nightnei committed Dec 4, 2024
1 parent 43e6df7 commit fb4718e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/specs/editor/editor__page-basic-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit fb4718e

Please sign in to comment.