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 ea5147f commit 4a2e86f
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("'#state input").click().type(state);
cy.get("#state input").click().type(state);
cy.get("[role='option']").contains(state).click();
}

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

Expand Down

0 comments on commit 4a2e86f

Please sign in to comment.