Skip to content

Commit

Permalink
Fix input selectors in UserSearch.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Mar 6, 2024
1 parent 5dd77e4 commit ea5147f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/pageobject/Users/UserSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ export class UserPage {
}

selectState(state: string) {
cy.get("input[name='state']").click().type(state);
cy.get("'#state input").click().type(state);
cy.get("[role='option']").contains(state).click();
}

selectDistrict(district: string) {
cy.get("input[name='district']").click().type(district);
cy.get("'#district input").click().type(district);
cy.get("[role='option']").contains(district).click();
}

Expand Down

0 comments on commit ea5147f

Please sign in to comment.