Skip to content

Commit f4c22d2

Browse files
committed
Completing scenario 8
1 parent a453f22 commit f4c22d2

File tree

2 files changed

+897
-0
lines changed

2 files changed

+897
-0
lines changed

pages/screening_subject_search/advance_episode_page.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ def __init__(self, page: Page):
136136
"button", name="Redirect to Establish Attendance at Appointment"
137137
)
138138
)
139+
self.high_risk_findings_result_from_symptomatic_procedure_button = (
140+
self.page.get_by_role(
141+
"button", name="High-risk findings Result from Symptomatic Procedure"
142+
)
143+
)
139144
self.date_of_symptomatic_procedure_input = self.page.get_by_role(
140145
"textbox", name="Date of Symptomatic Procedure"
141146
)
@@ -165,6 +170,9 @@ def __init__(self, page: Page):
165170
self.lnpcp_result_from_symptomatic_procedure_button = self.page.get_by_role(
166171
"button", name="LNPCP Result from Symptomatic Procedure"
167172
)
173+
self.other_post_investigation_contact_required_button = self.page.get_by_role(
174+
"button", name="Other Post-investigation Contact Required"
175+
)
168176

169177
def click_suitable_for_endoscopic_test_button(self) -> None:
170178
"""Click the 'Suitable for Endoscopic Test' button."""
@@ -504,3 +512,15 @@ def enter_date_of_symptomatic_procedure(self, date: datetime) -> None:
504512
CalendarPicker(self.page).calendar_picker_ddmmyyyy(
505513
date, self.date_of_symptomatic_procedure_input
506514
)
515+
516+
def click_high_risk_findings_result_from_symptomatic_procedure_button(
517+
self,
518+
) -> None:
519+
"""Click the 'High-risk findings Result from Symptomatic Procedure' button"""
520+
self.safe_accept_dialog(
521+
self.high_risk_findings_result_from_symptomatic_procedure_button
522+
)
523+
524+
def click_other_post_investigation_contact_required_button(self) -> None:
525+
"""Click the 'Other Post Investigation Contact Required' button."""
526+
self.safe_accept_dialog(self.other_post_investigation_contact_required_button)

0 commit comments

Comments
 (0)