Skip to content

Commit

Permalink
Adjust e2e test.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Oct 6, 2022
1 parent fc55e53 commit f757a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/site-editor/title.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test.describe( 'Site editor title', () => {
} );

const title = await page.locator(
'role=region[name="Editor top bar"i] >> role=heading[level=1]'
'role=region[name="Editor top bar"i] >> role=heading[level=2]'
);

await expect( title ).toHaveText( 'Editing template: Index' );
Expand All @@ -40,7 +40,7 @@ test.describe( 'Site editor title', () => {
} );

const title = await page.locator(
'role=region[name="Editor top bar"i] >> role=heading[level=1]'
'role=region[name="Editor top bar"i] >> role=heading[level=2]'
);

await expect( title ).toHaveText( 'Editing template part: header' );
Expand Down

0 comments on commit f757a39

Please sign in to comment.