Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Nov 3, 2024
1 parent bc059dd commit e4018d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/pageobject/Users/UserSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class UserPage {
}

checkUsernameText(username: string) {
cy.get(this.usernameText).should("have.text", username);
cy.get(this.usernameText).should("contain.text", username);
}

checkUsernameBadgeVisibility(shouldBeVisible: boolean) {
Expand Down

0 comments on commit e4018d2

Please sign in to comment.