From 69ea6ec0fef820b6e4c3d27409fec9aa4f737df8 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:46:46 +0530 Subject: [PATCH 1/2] modified the const value --- cypress/e2e/patient_spec/PatientRegistration.cy.ts | 6 ++++-- cypress/pageobject/Patient/PatientPredefined.ts | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientRegistration.cy.ts b/cypress/e2e/patient_spec/PatientRegistration.cy.ts index c3647ceac3a..b9c6056082e 100644 --- a/cypress/e2e/patient_spec/PatientRegistration.cy.ts +++ b/cypress/e2e/patient_spec/PatientRegistration.cy.ts @@ -40,10 +40,12 @@ describe("Patient Creation with consultation", () => { const patientDateOfBirth = "01012001"; const patientMenstruationStartDate = getRelativeDateString(-10); const patientDateOfDelivery = getRelativeDateString(-20); - const patientOneName = "Patient With No Consultation"; + const patientOneName = "Great Napolean 14"; const patientOneGender = "Male"; const patientOneUpdatedGender = "Female"; - const patientOneAddress = "Test Patient Address"; + const patientOneAddress = `149/J, 3rd Block, + Koramangala + Bangalore, Karnataka - 560034`; const patientOnePincode = "682001"; const patientOneState = "Kerala"; const patientOneDistrict = "Ernakulam"; diff --git a/cypress/pageobject/Patient/PatientPredefined.ts b/cypress/pageobject/Patient/PatientPredefined.ts index a3eb41cb86c..ae0613783ad 100644 --- a/cypress/pageobject/Patient/PatientPredefined.ts +++ b/cypress/pageobject/Patient/PatientPredefined.ts @@ -19,7 +19,9 @@ class PatientPredefined { patientPage.typePatientDateOfBirth("01012001"); patientPage.typePatientName("Patient With Predefined Data"); patientPage.selectPatientGender("Male"); - patientPage.typePatientAddress("Test Patient Address"); + patientPage.typePatientAddress( + "149/J, 3rd Block, Koramangala, Karnataka - 560034", + ); facilityPage.fillPincode("682001"); facilityPage.selectStateOnPincode("Kerala"); facilityPage.selectDistrictOnPincode("Ernakulam"); From 3b3ee935f80a2c33685076a3e4879b623a90e809 Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:24:50 +0530 Subject: [PATCH 2/2] modified the const value --- cypress/e2e/patient_spec/PatientRegistration.cy.ts | 4 ++-- cypress/pageobject/Patient/PatientPredefined.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/patient_spec/PatientRegistration.cy.ts b/cypress/e2e/patient_spec/PatientRegistration.cy.ts index b9c6056082e..2058760f6d2 100644 --- a/cypress/e2e/patient_spec/PatientRegistration.cy.ts +++ b/cypress/e2e/patient_spec/PatientRegistration.cy.ts @@ -44,8 +44,8 @@ describe("Patient Creation with consultation", () => { const patientOneGender = "Male"; const patientOneUpdatedGender = "Female"; const patientOneAddress = `149/J, 3rd Block, - Koramangala - Bangalore, Karnataka - 560034`; + Aluva + Ernakulam, Kerala - 682001`; const patientOnePincode = "682001"; const patientOneState = "Kerala"; const patientOneDistrict = "Ernakulam"; diff --git a/cypress/pageobject/Patient/PatientPredefined.ts b/cypress/pageobject/Patient/PatientPredefined.ts index ae0613783ad..445fbaf9b31 100644 --- a/cypress/pageobject/Patient/PatientPredefined.ts +++ b/cypress/pageobject/Patient/PatientPredefined.ts @@ -20,7 +20,7 @@ class PatientPredefined { patientPage.typePatientName("Patient With Predefined Data"); patientPage.selectPatientGender("Male"); patientPage.typePatientAddress( - "149/J, 3rd Block, Koramangala, Karnataka - 560034", + "149/J, 3rd Block, Aluva, Ernakulam - 682001", ); facilityPage.fillPincode("682001"); facilityPage.selectStateOnPincode("Kerala");