Skip to content

Commit 50f90c8

Browse files
committed
AttendDiagnosticTest pages related lines have modified
1 parent 0e75436 commit 50f90c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/smokescreen/test_compartment_5.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
8484

8585
AppointmentCalendar(page).click_view_appointments_on_this_day_button()
8686
ScreeningPractitionerDayView(page).click_calendar_button()
87-
date_from_util = datetime(2025, 4, 30)
87+
date_from_util = datetime(2025, 5, 2)
8888
CalendarPicker(page).v1_calender_picker(date_from_util)
8989

9090
# Select subject from inital test data util
91-
ScreeningPractitionerDayView(page).click_patient_link("DIVIDEND MUZZLE")
91+
ScreeningPractitionerDayView(page).click_patient_link("ENDLESS MUMBO-JUMBO")
9292

9393
# Select Attendance radio button, tick Attended checkbox, set Attended Date to yesterday's (system) date and then press Save
9494
AppointmentDetail(page).check_attendance_radio()
@@ -101,7 +101,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
101101
# Repeat for x Abnormal patients
102102

103103
# Navigate to the 'Subject Screening Summary' screen for the 1st Abnormal patient
104-
nhs_no = "9852356488" # Test NHS NO for DIVIDEND MUZZLE
104+
nhs_no = "9687900415" # Test NHS NO for DIVIDEND MUZZLE
105105
verify_subject_event_status_by_nhs_no(
106106
page, nhs_no, "J10 - Attended Colonoscopy Assessment Appointment"
107107
)
@@ -156,10 +156,10 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
156156
AdvanceFOBTScreeningEpisode(page).click_attend_diagnostic_test_button()
157157

158158
# Select Colonoscopy from drop down list. Enter the actual appointment date as today's date and select 'Save'
159-
AttendDiagnosticTest.select_actual_type_of_test_dropdown_option("Colonoscopy")
160-
AttendDiagnosticTest.click_calendar_button()
159+
AttendDiagnosticTest(page).select_actual_type_of_test_dropdown_option("Colonoscopy")
160+
AttendDiagnosticTest(page).click_calendar_button()
161161
CalendarPicker(page).v1_calender_picker(datetime.today())
162-
AttendDiagnosticTest.click_save_button()
162+
AttendDiagnosticTest(page).click_save_button()
163163
SubjectScreeningSummary(page).verify_latest_event_status_value(
164164
"A259 - Attended Diagnostic Test"
165165
)

0 commit comments

Comments
 (0)