Skip to content

Commit a2fc856

Browse files
committed
Added click_waiting_decision_to_proceed_with_diagnostic_test
Added click_reopen_following_non_response_button Wip on Scenario 6
1 parent 13f2ee3 commit a2fc856

File tree

3 files changed

+402
-383
lines changed

3 files changed

+402
-383
lines changed

pages/screening_subject_search/advance_fobt_screening_episode_page.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ def __init__(self, page: Page):
5252
"button", name="Decision not to Continue with Diagnostic Test"
5353
)
5454
)
55+
self.waiting_decision_to_proceed_with_diagnostic_test_button = (
56+
self.page.get_by_role(
57+
"button", name="Waiting Decision to Proceed with Diagnostic Test"
58+
)
59+
)
5560

5661
def click_suitable_for_endoscopic_test_button(self) -> None:
5762
"""Click the 'Suitable for Endoscopic Test' button."""
@@ -138,3 +143,9 @@ def click_decision_not_to_continue_with_diagnostic_test(self) -> None:
138143
AdvanceFOBTScreeningEpisodePage(self.page).safe_accept_dialog(
139144
self.decision_not_to_continue_with_diagnostic_test_button
140145
)
146+
147+
def click_waiting_decision_to_proceed_with_diagnostic_test(self) -> None:
148+
"""Click the 'Waiting Decision to Proceed with Diagnostic Test' button."""
149+
AdvanceFOBTScreeningEpisodePage(self.page).safe_accept_dialog(
150+
self.waiting_decision_to_proceed_with_diagnostic_test_button
151+
)

pages/screening_subject_search/reopen_fobt_screening_episode_page.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ def __init__(self, page: Page):
1212
self.reopen_to_book_an_assessment_button = self.page.get_by_role(
1313
"button", name="Reopen to book an assessment"
1414
)
15+
self.reopen_following_non_response_button = self.page.get_by_role(
16+
"button", name="Reopen following Non-Response"
17+
)
1518

1619
def click_reopen_to_book_an_assessment_button(self) -> None:
1720
"""Click the 'Reopen to book an assessment' button."""
1821
self.safe_accept_dialog(self.reopen_to_book_an_assessment_button)
22+
23+
def click_reopen_following_non_response_button(self) -> None:
24+
"""Click the 'Reopen following Non-Response' button."""
25+
self.safe_accept_dialog(self.reopen_following_non_response_button)

0 commit comments

Comments
 (0)