@@ -21,7 +21,7 @@ def setup_session_for_mmr(setup_session_and_batches_with_fixed_child):
2121def test_recording_mmr_vaccination_e2e_with_triage (
2222 url_with_mmr_session_scheduled ,
2323 setup_session_for_mmr ,
24- online_consent_page ,
24+ online_consent_wizard_page ,
2525 sessions_search_page ,
2626 sessions_overview_page ,
2727 sessions_register_page ,
@@ -57,18 +57,18 @@ def test_recording_mmr_vaccination_e2e_with_triage(
5757 Programme .health_questions (Programme .MMR , ConsentOption .MMR_EITHER )
5858 )
5959
60- online_consent_page .go_to_url (url_with_mmr_session_scheduled )
60+ online_consent_wizard_page .go_to_url (url_with_mmr_session_scheduled )
6161 start_page .start ()
6262
63- online_consent_page .fill_details (child , child .parents [0 ], schools )
64- online_consent_page .agree_to_mmr_vaccination (ConsentOption .MMR_EITHER )
65- online_consent_page .fill_address_details (* child .address )
66- online_consent_page .answer_health_questions (
63+ online_consent_wizard_page .fill_details (child , child .parents [0 ], schools )
64+ online_consent_wizard_page .agree_to_mmr_vaccination (ConsentOption .MMR_EITHER )
65+ online_consent_wizard_page .fill_address_details (* child .address )
66+ online_consent_wizard_page .answer_health_questions (
6767 number_of_health_questions ,
6868 yes_to_health_questions = True ,
6969 )
70- online_consent_page .click_confirm ()
71- online_consent_page .check_final_consent_message (
70+ online_consent_wizard_page .click_confirm ()
71+ online_consent_wizard_page .check_final_consent_message (
7272 child ,
7373 programmes = [Programme .MMR ],
7474 yes_to_health_questions = True ,
@@ -106,7 +106,7 @@ def test_recording_mmr_vaccination_e2e_with_triage(
106106def test_verify_child_cannot_be_vaccinated_twice_for_mmr_on_same_day (
107107 url_with_mmr_session_scheduled ,
108108 setup_session_for_mmr ,
109- online_consent_page ,
109+ online_consent_wizard_page ,
110110 sessions_search_page ,
111111 sessions_overview_page ,
112112 sessions_register_page ,
@@ -143,18 +143,20 @@ def test_verify_child_cannot_be_vaccinated_twice_for_mmr_on_same_day(
143143 Programme .health_questions (Programme .MMR , ConsentOption .MMR_WITHOUT_GELATINE )
144144 )
145145
146- online_consent_page .go_to_url (url_with_mmr_session_scheduled )
146+ online_consent_wizard_page .go_to_url (url_with_mmr_session_scheduled )
147147 start_page .start ()
148148
149- online_consent_page .fill_details (child , child .parents [0 ], schools )
150- online_consent_page .agree_to_mmr_vaccination (ConsentOption .MMR_WITHOUT_GELATINE )
151- online_consent_page .fill_address_details (* child .address )
152- online_consent_page .answer_health_questions (
149+ online_consent_wizard_page .fill_details (child , child .parents [0 ], schools )
150+ online_consent_wizard_page .agree_to_mmr_vaccination (
151+ ConsentOption .MMR_WITHOUT_GELATINE
152+ )
153+ online_consent_wizard_page .fill_address_details (* child .address )
154+ online_consent_wizard_page .answer_health_questions (
153155 number_of_health_questions ,
154156 yes_to_health_questions = False ,
155157 )
156- online_consent_page .click_confirm ()
157- online_consent_page .check_final_consent_message (
158+ online_consent_wizard_page .click_confirm ()
159+ online_consent_wizard_page .check_final_consent_message (
158160 child ,
159161 programmes = [Programme .MMR ],
160162 yes_to_health_questions = False ,
@@ -190,7 +192,7 @@ def test_verify_child_cannot_be_vaccinated_twice_for_mmr_on_same_day(
190192def test_recording_mmr_vaccination_e2e_with_imported_dose_one (
191193 url_with_mmr_session_scheduled ,
192194 setup_session_for_mmr ,
193- online_consent_page ,
195+ online_consent_wizard_page ,
194196 sessions_search_page ,
195197 sessions_overview_page ,
196198 sessions_register_page ,
@@ -234,18 +236,18 @@ def test_recording_mmr_vaccination_e2e_with_imported_dose_one(
234236 log_in_page .log_out ()
235237
236238 # Proceed with consent and vaccination process
237- online_consent_page .go_to_url (url_with_mmr_session_scheduled )
239+ online_consent_wizard_page .go_to_url (url_with_mmr_session_scheduled )
238240 start_page .start ()
239241
240- online_consent_page .fill_details (child , child .parents [0 ], schools )
241- online_consent_page .agree_to_mmr_vaccination (ConsentOption .MMR_EITHER )
242- online_consent_page .fill_address_details (* child .address )
243- online_consent_page .answer_health_questions (
242+ online_consent_wizard_page .fill_details (child , child .parents [0 ], schools )
243+ online_consent_wizard_page .agree_to_mmr_vaccination (ConsentOption .MMR_EITHER )
244+ online_consent_wizard_page .fill_address_details (* child .address )
245+ online_consent_wizard_page .answer_health_questions (
244246 number_of_health_questions ,
245247 yes_to_health_questions = True ,
246248 )
247- online_consent_page .click_confirm ()
248- online_consent_page .check_final_consent_message (
249+ online_consent_wizard_page .click_confirm ()
250+ online_consent_wizard_page .check_final_consent_message (
249251 child ,
250252 programmes = [Programme .MMR ],
251253 yes_to_health_questions = True ,
0 commit comments