Skip to content

Commit

Permalink
Update validatePageTitle() fn (#1310)
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr authored Jan 20, 2025
1 parent f38f55b commit 09a7bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ export function deleteApplicationTableRows(): void {
deleteAllRows();
}
export function validatePageTitle(pageTitle: string) {
return cy.get(pageTitle).then((h1) => {
return cy.get("h1").then((h1) => {
return h1.text().includes(pageTitle);
});
}
Expand Down

0 comments on commit 09a7bcd

Please sign in to comment.