diff --git a/tests/app/main/views/accounts/test_choose_accounts.py b/tests/app/main/views/accounts/test_choose_accounts.py index 4a3309737..b2834d027 100644 --- a/tests/app/main/views/accounts/test_choose_accounts.py +++ b/tests/app/main/views/accounts/test_choose_accounts.py @@ -310,7 +310,7 @@ def test_should_not_show_back_to_service_if_user_doesnt_belong_to_service( ) assert normalize_spaces( - page.select_one('.grid-row').text + page.select_one('.grid-row .grid-col-8').text ).startswith( normalize_spaces(expected_page_text) )