mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 02:48:45 -04:00
Link to user services on User Information page
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<ul>
|
||||
{% for service in services %}
|
||||
<li class="browse-list-item">
|
||||
<p class="browse-list-hint">{{ service.name }}</p>
|
||||
<a class="browse-list-hint" href={{url_for('.service_dashboard', service_id=service.id)}}>{{ service.name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
@@ -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']")
|
||||
|
||||
Reference in New Issue
Block a user