@@ -55,11 +55,11 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
5555
5656 page .get_by_role ("button" , name = "View appointments on this day" ).click ()
5757 page .get_by_role ("button" , name = "Calendar" ).click ()
58- date_from_util = datetime (2025 , 4 , 28 )
58+ date_from_util = datetime (2025 , 4 , 29 )
5959 CalendarPicker (page ).v1_calender_picker (date_from_util )
6060
6161 # Select subject from inital test data util
62- page .get_by_role ("link" , name = "HAT-PIN UNTRUTH " ).click ()
62+ page .get_by_role ("link" , name = "DELIRIOUS DELUXE " ).click ()
6363
6464 # Select Attendance radio button, tick Attended checkbox, set Attended Date to yesterday's (system) date and then press Save
6565 page .get_by_role ("radio" , name = "Attendance" ).check ()
@@ -72,13 +72,13 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
7272 # Repeat for x Abnormal patients
7373
7474 # Navigate to the 'Subject Screening Summary' screen for the 1st Abnormal patient
75- nhs_no = "9543076472 " # Test NHS NO for Scaliding Cod
75+ nhs_no = "9937265193 " # Test NHS NO for Scaliding Cod
7676 verify_subject_event_status_by_nhs_no (
7777 page , nhs_no , "J10 - Attended Colonoscopy Assessment Appointment"
7878 )
7979
8080 # Click on 'Datasets' link
81- page . get_by_role ( "link" , name = "Datasets" ). click ()
81+ SubjectScreeningSummary ( page ). click_datasets_link ()
8282
8383 # Click on 'Show Dataset' next to the Colonoscopy Assessment
8484
@@ -103,7 +103,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
103103
104104 # On the Subject Screening Summary click on the 'Advance FOBT Screening Episode' button and then click on the 'Suitable for Endoscopic Test' button
105105 # Click OK after message
106- page . get_by_role ( "button" , name = "Advance FOBT Screening Episode" ). click ()
106+ SubjectScreeningSummary ( page ). click_advance_fobt_screening_episode_button ()
107107 AdvanceFOBTScreeningEpisode (page ).click_suitable_for_escopic_test_button ()
108108
109109 # Enter a 'First Offered Appointment Date' (enter a date after the attended appt)
@@ -137,7 +137,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
137137 verify_subject_event_status_by_nhs_no (
138138 page , nhs_no , "A259 - Attended Diagnostic Test"
139139 )
140- page . get_by_role ( "button" , name = "Advance FOBT Screening Episode" ). click ()
140+ SubjectScreeningSummary ( page ). click_advance_fobt_screening_episode_button ()
141141
142142 # Click 'Other Post-investigation Contact Required' button
143143 # Click 'OK'
0 commit comments