From 2fab3632535863f4fa1bb6b52a7c9aaef26f5697 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Mon, 16 Jul 2018 17:36:34 +0100 Subject: [PATCH] Link to user services on User Information page --- app/templates/views/find-users/user-information.html | 2 +- tests/app/main/views/test_find_users.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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']")