diff --git a/cypress/e2e/users_spec/UsersCreation.cy.ts b/cypress/e2e/users_spec/UsersCreation.cy.ts index 2c5797fefa7..392c9ff987d 100644 --- a/cypress/e2e/users_spec/UsersCreation.cy.ts +++ b/cypress/e2e/users_spec/UsersCreation.cy.ts @@ -79,13 +79,10 @@ describe("User Creation", () => { ); userCreationPage.typeIntoElementByIdPostClear("lastName", "Cypress"); userCreationPage.selectDropdownOption("gender", "Male"); - userCreationPage.typeIntoElementByIdPostClear( - "phoneNumber", - "+91" + phone_number, - ); + userCreationPage.typeIntoElementByIdPostClear("phoneNumber", phone_number); userCreationPage.typeIntoElementByIdPostClear( "altPhoneNumber", - "+91" + emergency_phone_number, + emergency_phone_number, ); userCreationPage.typeIntoElementByIdPostClear("email", "test@test.com"); userCreationPage.typeIntoElementByIdPostClear("weekly_working_hours", "14"); diff --git a/cypress/e2e/users_spec/UsersProfile.cy.ts b/cypress/e2e/users_spec/UsersProfile.cy.ts index 8dc1ad7ef0a..3073cebe7ce 100644 --- a/cypress/e2e/users_spec/UsersProfile.cy.ts +++ b/cypress/e2e/users_spec/UsersProfile.cy.ts @@ -10,7 +10,7 @@ describe("Manage User Profile", () => { const date_of_birth = "01011999"; const gender = "Male"; const email = "test@example.com"; - const phone = "+918899887788"; + const phone = "8899887788"; const workinghours = "8"; const qualification = "MBBS"; const doctorYoE = "10"; diff --git a/cypress/pageobject/Facility/FacilityLocation.ts b/cypress/pageobject/Facility/FacilityLocation.ts index be14e9a8c81..31bc30290f7 100644 --- a/cypress/pageobject/Facility/FacilityLocation.ts +++ b/cypress/pageobject/Facility/FacilityLocation.ts @@ -84,7 +84,7 @@ class FacilityLocation { } clickNotification() { - cy.get(".pnotify").click(); + cy.get(".pnotify-container").click(); } enterBedName(name: string) {