Skip to content

Commit 62cb944

Browse files
authored
Merge pull request #1030 from NHSDigital/needs-consent-sub-statuses
Update test to navigate to the children tab before searching for a child
2 parents 6fa7428 + c75dabb commit 62cb944

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

tests/test_sessions.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def test_consent_filters(
216216
- Consent refused checkbox is checked for the child.
217217
"""
218218
child = children[Programme.HPV][0]
219-
SessionsOverviewPage(page).review_child_with_no_response()
219+
SessionsOverviewPage(page).tabs.click_children_tab()
220220
SessionsChildrenPage(page).search.search_and_click_child(child)
221221
SessionsPatientPage(page).click_record_a_new_consent_response()
222222

@@ -414,26 +414,6 @@ def test_add_child_to_community_clinic_session(
414414
assert SessionsOverviewPage(page).get_session_id_from_offline_excel()
415415

416416

417-
@issue("MAV-2023")
418-
def test_session_verify_consent_reminders_and_pdf_downloads(
419-
setup_fixed_child_future_date,
420-
page,
421-
):
422-
"""
423-
Test: Click the 'Send reminders' link and PDF download links in sessions and
424-
verify there are no errors.
425-
Steps:
426-
1. Open a session with a fixed child.
427-
2. Click 'Send reminders' link and verify no errors.
428-
3. Attempt to download consent PDFs and verify no errors.
429-
Verification:
430-
- No errors occur when sending reminders or downloading PDFs.
431-
"""
432-
433-
SessionsOverviewPage(page).send_consent_reminders()
434-
SessionsOverviewPage(page).download_consent_form(Programme.HPV)
435-
436-
437417
def test_editing_session_programmes(
438418
setup_fixed_child,
439419
children,

0 commit comments

Comments
 (0)