Skip to content

Commit

Permalink
E2E Editor Page - Update getTitleElement to WebdriverIO
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo committed Oct 9, 2023
1 parent 8b5bbb2 commit b9b49d1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ class EditorPage {
}
}

const elements =
await this.driver.elementsByAccessibilityId( titleElement );
const elements = await this.driver.$$( `~${ titleElement }` );

if (
elements.length === 0 ||
Expand Down

0 comments on commit b9b49d1

Please sign in to comment.