@@ -25,7 +25,6 @@ def before_each(page: Page):
2525 BasePage (page ).go_to_reports_page ()
2626
2727
28-
2928def test_reports_page_navigation (page : Page ) -> None :
3029 """
3130 Confirms all menu items are displayed on the reports page, and that the relevant pages
@@ -131,13 +130,16 @@ def test_failsafe_reports_screening_subjects_with_inactive_open_episode(
131130 ReportsPage (page ).click_generate_report_button ()
132131
133132 # Open a screening subject record
134- ReportsPage (page ).click_fail_safe_reports_screening_subjects_with_inactive_open_episodes_link ()
133+ ReportsPage (
134+ page
135+ ).click_fail_safe_reports_screening_subjects_with_inactive_open_episodes_link ()
135136
136137 # Verify the page title is "Subject Screening Summary"
137138 BasePage (page ).bowel_cancer_screening_page_title_contains_text (
138139 "Subject Screening Summary"
139140 )
140141
142+
141143def test_failsafe_reports_subjects_ceased_due_to_date_of_birth_changes (
142144 page : Page ,
143145) -> None :
@@ -177,6 +179,7 @@ def test_failsafe_reports_subjects_ceased_due_to_date_of_birth_changes(
177179 "Subject Demographic"
178180 )
179181
182+
180183def test_failsafe_reports_allocate_sc_for_patient_movements_within_hub_boundaries (
181184 page : Page , general_properties : dict
182185) -> None :
@@ -320,6 +323,7 @@ def test_failsafe_reports_identify_and_link_new_gp(page: Page) -> None:
320323
321324# Operational Reports
322325
326+
323327def test_operational_reports_appointment_attendance_not_updated (
324328 page : Page , general_properties : dict
325329) -> None :
@@ -450,22 +454,18 @@ def test_operational_reports_screening_practitioner_6_weeks_availability_not_set
450454
451455 # Verify timestamp has updated to current date and time
452456 report_timestamp = DateTimeUtils .report_timestamp_date_format ()
453- ReportsPage (
454- page
455- ).six_weeks_availability_not_set_up_report_timestamp_element .to_contain_text (
456- report_timestamp
457- )
457+ expect (
458+ ReportsPage (page ).six_weeks_availability_not_set_up_report_timestamp_element
459+ ).to_contain_text (report_timestamp )
458460
459461 # Click "Refresh" button
460462 ReportsPage (page ).click_refresh_button ()
461463
462464 # Verify timestamp has updated to current date and time
463465 report_timestamp = DateTimeUtils .report_timestamp_date_format ()
464- ReportsPage (
465- page
466- ).six_weeks_availability_not_set_up_report_timestamp_element .to_contain_text (
467- report_timestamp
468- )
466+ expect (
467+ ReportsPage (page ).six_weeks_availability_not_set_up_report_timestamp_element
468+ ).to_contain_text (report_timestamp )
469469
470470
471471def test_operational_reports_screening_practitioner_appointments (
0 commit comments