Skip to content

Commit f8292e5

Browse files
committed
Merge branch 'main' into feature/BCSS-21320-fobtregressiontests-scenario-17
2 parents 8a8d35e + 0b615da commit f8292e5

File tree

5 files changed

+807
-2
lines changed

5 files changed

+807
-2
lines changed

pages/screening_subject_search/advance_fobt_screening_episode_page.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ def __init__(self, page: Page):
131131
name="Redirect to Establish Suitability for Diagnostic Tests",
132132
)
133133
)
134+
self.redirect_to_establish_attendance_at_appointment_button = (
135+
self.page.get_by_role(
136+
"button", name="Redirect to Establish Attendance at Appointment"
137+
)
138+
)
134139
# Contact recording locators
135140
self.contact_direction_dropdown = self.page.get_by_label("Contact Direction")
136141
self.contact_made_between_dropdown = self.page.get_by_label(
@@ -485,3 +490,11 @@ def click_redirect_to_establish_suitability_for_diagnostic_tests_button(
485490
self.safe_accept_dialog(
486491
self.redirect_to_establish_suitability_for_diagnostic_tests_button
487492
)
493+
494+
def click_redirect_to_establish_attendance_at_appointment_button(
495+
self,
496+
) -> None:
497+
"""Click the 'Redirect to Establish Attendance at Appointment' button"""
498+
self.safe_accept_dialog(
499+
self.redirect_to_establish_attendance_at_appointment_button
500+
)

pages/screening_subject_search/contact_with_patient_page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def record_contact(self, outcome: str, patient_contacted: str = "Yes") -> None:
128128
- 'Suitable for Radiological Test'
129129
- 'Close Episode - Patient Choice'
130130
- 'SSP Appointment Required'
131+
- 'Close Episode with Existing result'
131132
patient_contacted (str): Indicates if the patient was contacted. Default is 'Yes'. Options include:
132133
- 'Yes'
133134
- 'No'

tests/regression/regression_tests/fobt_regression_tests/test_scenario_14.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def test_scenario_14(page: Page) -> None:
268268
"latest episode diagnosis date reason": "Null",
269269
"latest episode has diagnosis date": "Yes",
270270
"latest episode includes event status": "A50 Diagnosis date recorded",
271-
"latest event status": "A183 1st Colonoscopy Assessment Appointment Requested ",
271+
"latest event status": "A183 1st Colonoscopy Assessment Appointment Requested",
272272
}
273273
subject_assertion(nhs_number=nhs_no, criteria=criteria)
274274

0 commit comments

Comments
 (0)