@@ -52,11 +52,11 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
5252
5353 page .get_by_role ("button" , name = "View appointments on this day" ).click ()
5454 page .get_by_role ("button" , name = "Calendar" ).click ()
55- date_from_util = datetime (2025 , 4 , 28 )
55+ date_from_util = datetime (2025 , 4 , 29 )
5656 CalendarPicker (page ).v1_calender_picker (date_from_util )
5757
5858 # Select subject from inital test data util
59- page .get_by_role ("link" , name = "HAT-PIN UNTRUTH " ).click ()
59+ page .get_by_role ("link" , name = "DELIRIOUS DELUXE " ).click ()
6060
6161 # Select Attendance radio button, tick Attended checkbox, set Attended Date to yesterday's (system) date and then press Save
6262 page .get_by_role ("radio" , name = "Attendance" ).check ()
@@ -69,13 +69,13 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
6969 # Repeat for x Abnormal patients
7070
7171 # Navigate to the 'Subject Screening Summary' screen for the 1st Abnormal patient
72- nhs_no = "9543076472 " # Test NHS NO for Scaliding Cod
72+ nhs_no = "9937265193 " # Test NHS NO for Scaliding Cod
7373 verify_subject_event_status_by_nhs_no (
7474 page , nhs_no , "J10 - Attended Colonoscopy Assessment Appointment"
7575 )
7676
7777 # Click on 'Datasets' link
78- page . get_by_role ( "link" , name = "Datasets" ). click ()
78+ SubjectScreeningSummary ( page ). click_datasets_link ()
7979
8080 # Click on 'Show Dataset' next to the Colonoscopy Assessment
8181
@@ -100,7 +100,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
100100
101101 # On the Subject Screening Summary click on the 'Advance FOBT Screening Episode' button and then click on the 'Suitable for Endoscopic Test' button
102102 # Click OK after message
103- page . get_by_role ( "button" , name = "Advance FOBT Screening Episode" ). click ()
103+ SubjectScreeningSummary ( page ). click_advance_fobt_screening_episode_button ()
104104 page .once ("dialog" , lambda dialog : dialog .accept ())
105105 page .get_by_role ("button" , name = "Suitable for Endoscopic Test" ).click ()
106106
@@ -136,7 +136,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
136136 verify_subject_event_status_by_nhs_no (
137137 page , nhs_no , "A259 - Attended Diagnostic Test"
138138 )
139- page . get_by_role ( "button" , name = "Advance FOBT Screening Episode" ). click ()
139+ SubjectScreeningSummary ( page ). click_advance_fobt_screening_episode_button ()
140140
141141 # Click 'Other Post-investigation Contact Required' button
142142 # Click 'OK'
0 commit comments