diff --git a/app/templates/views/find-users/user-information.html b/app/templates/views/find-users/user-information.html index 95be9726c..7cfa7b8fd 100644 --- a/app/templates/views/find-users/user-information.html +++ b/app/templates/views/find-users/user-information.html @@ -18,7 +18,7 @@ diff --git a/tests/app/main/views/test_find_users.py b/tests/app/main/views/test_find_users.py index 821811713..ed1a1f38b 100644 --- a/tests/app/main/views/test_find_users.py +++ b/tests/app/main/views/test_find_users.py @@ -115,8 +115,8 @@ def test_user_information_page_shows_information_about_user( assert document.xpath("//p/text()[normalize-space()='+447700900986']") assert document.xpath("//h2/text()[normalize-space()='Services']") - assert document.xpath("//p/text()[normalize-space()='Fresh Orchard Juice']") - assert document.xpath("//p/text()[normalize-space()='Nature Therapy']") + assert document.xpath("//a/text()[normalize-space()='Fresh Orchard Juice']") + assert document.xpath("//a/text()[normalize-space()='Nature Therapy']") assert document.xpath("//h2/text()[normalize-space()='Last login']") assert not document.xpath("//p/text()[normalize-space()='0 failed login attempts']")