Skip to content

Commit 7a67286

Browse files
As per PR # 107 comments, code change is implemented.
1 parent 83e54a7 commit 7a67286

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pages/screening_subject_search/advance_fobt_screening_episode_page.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def __init__(self, page: Page):
1717
self.calendar_button = self.page.get_by_role("button", name="Calendar")
1818
self.test_type_dropdown = self.page.locator("#UI_EXT_TEST_TYPE_2233")
1919
self.test_type_dropdown_2 = self.page.locator("#UI_EXT_TEST_TYPE_4325")
20+
self.advance_checkbox = self.page.get_by_label("There are some events available which should only be used in exceptional circumstances. If you wish to see them, check this box")
2021
self.invite_for_diagnostic_test_button = self.page.get_by_role(
2122
"button", name="Invite for Diagnostic Test >>"
2223
)
@@ -111,3 +112,7 @@ def click_record_diagnosis_date_button(self) -> None:
111112
def click_record_contact_with_patient_button(self) -> None:
112113
"""Click the 'Record Contact with Patient' button."""
113114
self.click(self.record_contact_with_patient_button)
115+
116+
def check_advance_checkbox(self) -> None:
117+
"""Selects the 'Advance FOBT' checkbox"""
118+
self.advance_checkbox.check()

0 commit comments

Comments
 (0)