Skip to content

Commit 375f83c

Browse files
committed
Update test to navigate to the children tab before searching for a child
This test was expecting the session overview's action list to include the link "1 child with no response" but it didn't appear because that child's programme status was `needs_consent_request_scheduled` rather than `needs_consent_no_response`. Mavis expanded programme statuses with consent-related sub-statuses. A patient that previously appeared under the filter “No response” is will now appear under “Request scheduled”. We can still allow the test to continue the journey by clicking on the "Childrens" tab before searching for the child's name. Jira-Issue: MAV-502
1 parent 3239abc commit 375f83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_sessions.py

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)