Skip to content

Commit 26e2f65

Browse files
committed
Fixed failing test
1 parent a1afcfb commit 26e2f65

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pages/screening_subject_search/record_diagnosis_date_page.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def get_alert_message(self) -> str:
4444
else:
4545
return ""
4646

47-
4847
def record_diagnosis_reason(self, reason_text: str) -> None:
4948
"""
5049
Selects a diagnosis reason from the dropdown and saves the form.

tests/regression/regression_tests/fobt_regression_tests/test_scenario_4.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,7 @@ def test_scenario_4(page: Page) -> None:
459459
AdvanceFOBTScreeningEpisodePage(page).click_record_diagnosis_date_button()
460460

461461
# And I select Diagnosis Date Reason "Patient choice"
462-
RecordDiagnosisDatePage(page).record_diagnosis_reason(reason_text="Patient Choice")
463-
464-
# And I save Diagnosis Date Information
465-
RecordDiagnosisDatePage(page).click_save_button()
462+
RecordDiagnosisDatePage(page).record_diagnosis_reason(reason_text="Patient choice")
466463

467464
# Then my subject has been updated as follows:
468465
subject_assertion(

0 commit comments

Comments
 (0)