6363)
6464
6565
66- @pytest .mark .wip
6766@pytest .mark .vpn_required
6867@pytest .mark .regression
6968@pytest .mark .surveillance_regression_tests
@@ -276,6 +275,7 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
276275 "surveillance due date reason" : "Reopened episode" ,
277276 }
278277 subject_assertion (nhs_no , criteria )
278+
279279 # When I view the subject
280280 screening_subject_page_searcher .navigate_to_subject_summary_page (page , nhs_no )
281281
@@ -307,15 +307,6 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
307307 },
308308 )
309309
310- # When I view the subject
311- screening_subject_page_searcher .navigate_to_subject_summary_page (page , nhs_no )
312-
313- # Then I "can" postpone the subject's surveillance episode
314- SubjectScreeningSummaryPage (page ).can_postpone_surveillance_episode ()
315-
316- # When I view the advance episode options
317- SubjectScreeningSummaryPage (page ).click_advance_surveillance_episode_button ()
318-
319310 # And I select Diagnostic Test Type "Colonoscopy"
320311 AdvanceSurveillanceEpisodePage (page ).select_test_type_dropdown_option ("Colonoscopy" )
321312
@@ -335,13 +326,9 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
335326 "latest event status" : "A59 Invited for Diagnostic Test" ,
336327 },
337328 )
338-
339329 # When I view the subject
340330 screening_subject_page_searcher .navigate_to_subject_summary_page (page , nhs_no )
341331
342- # Then I "can" postpone the subject's surveillance episode
343- SubjectScreeningSummaryPage (page ).can_postpone_surveillance_episode ()
344-
345332 # When I select the advance episode option for "Attend Diagnostic Test"
346333 SubjectScreeningSummaryPage (page ).click_advance_surveillance_episode_button ()
347334 AdvanceSurveillanceEpisodePage (page ).click_attend_diagnostic_test_button ()
@@ -503,6 +490,7 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
503490 "surveillance due date reason" : "Reinstate Surveillance" ,
504491 }
505492 subject_assertion (nhs_no , criteria )
493+
506494 # When I view the subject
507495 screening_subject_page_searcher .navigate_to_subject_summary_page (page , nhs_no )
508496
@@ -554,8 +542,6 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
554542 {"latest event status" : "A99 Suitable for Endoscopic Test" },
555543 )
556544
557- # When I view the advance episode options
558- SubjectScreeningSummaryPage (page ).click_advance_surveillance_episode_button ()
559545 # And I select Diagnostic Test Type "Colonoscopy"
560546 AdvanceSurveillanceEpisodePage (page ).select_test_type_dropdown_option ("Colonoscopy" )
561547 # And I enter a Diagnostic Test First Offered Appointment Date of "today"
@@ -571,7 +557,6 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
571557 )
572558
573559 # When I select the advance episode option for "Attend Diagnostic Test"
574- SubjectScreeningSummaryPage (page ).click_advance_surveillance_episode_button ()
575560 AdvanceSurveillanceEpisodePage (page ).click_attend_diagnostic_test_button ()
576561 # And I attend the subject's diagnostic test today
577562 AttendDiagnosticTestPage (page ).click_calendar_button ()
@@ -690,7 +675,6 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
690675 )
691676
692677 # When I select the advance episode option for "Record other post-investigation contact"
693- SubjectScreeningSummaryPage (page ).click_advance_surveillance_episode_button ()
694678 AdvanceSurveillanceEpisodePage (
695679 page
696680 ).click_record_other_post_investigation_contact_button ()
@@ -740,7 +724,8 @@ def test_scenario_8(page: Page, general_properties: dict) -> None:
740724 },
741725 )
742726
743- # When I view the advance episode options
727+ # When I view the subject
728+ screening_subject_page_searcher .navigate_to_subject_summary_page (page , nhs_no )
744729 SubjectScreeningSummaryPage (page ).click_advance_surveillance_episode_button ()
745730
746731 # And I select the advance episode option for "High-risk findings Result from Symptomatic Procedure"-recheck tomorrow
0 commit comments