Skip to content

Commit

Permalink
Adjust e2e test.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jul 18, 2022
1 parent 100e25e commit 982b607
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 982b607

Please sign in to comment.