Skip to content

Commit 60ba472

Browse files
committed
wip
1 parent 5b99087 commit 60ba472

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

tests/regression/regression_tests/fobt_regression_tests/test_scenario_4.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,14 @@ def test_scenario_4(page: Page) -> None:
453453
# When I view the subject
454454
screening_subject_page_searcher.navigate_to_subject_summary_page(page, nhs_no)
455455

456+
# And I view the advance episode options
457+
SubjectScreeningSummaryPage(page).click_advance_fobt_screening_episode_button()
458+
456459
# And I select the advance episode option for "Record Diagnosis Date"
457460
AdvanceFOBTScreeningEpisodePage(page).click_record_diagnosis_date_button()
458461

459-
# And I select Diagnosis Date Reason "Patient choice"
460-
RecordDiagnosisDatePage(page).record_diagnosis_date_with_reason(
461-
date=datetime.now(), reason_text="Patient Choice"
462-
)
462+
# And I enter a Diagnosis Date of "today"
463+
RecordDiagnosisDatePage(page).enter_date_in_diagnosis_date_field(datetime.today())
463464

464465
# # And I save Diagnosis Date Information
465466
RecordDiagnosisDatePage(page).click_save_button()
@@ -498,3 +499,6 @@ def test_scenario_4(page: Page) -> None:
498499
"surveillance due date date of change": "Unchanged",
499500
},
500501
)
502+
503+
logging.info("[TEST COMPLETE] Scenario 4 passed all assertions")
504+
LogoutPage(page).log_out()

utils/batch_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def prepare_and_print_batch(
133133
page.wait_for_timeout(
134134
1000
135135
) # This one second timeout does not affect the time to execute, as it is just used to ensure the reprepare batch button is clicked and does not instantly advance to the next step
136-
ManageActiveBatchPage(page).reprepare_batch_text.wait_for(timeout=60000)
136+
ManageActiveBatchPage(page).reprepare_batch_text.wait_for(timeout=300000)
137137

138138
# This loops through each Retrieve button and clicks each one
139139
retrieve_button_count = 0

0 commit comments

Comments
 (0)