mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Combine invited and active team members
Right now these are two separate lists. Which makes it harder to add improvements that will make large numbers of users easier to manage.
This commit is contained in:
@@ -461,8 +461,8 @@ def test_manage_users_shows_invited_user(
|
||||
page = client_request.get('main.manage_users', service_id=SERVICE_ONE_ID)
|
||||
|
||||
assert page.h1.string.strip() == 'Team members'
|
||||
assert normalize_spaces(page.select('.user-list')[1].text) == (
|
||||
'invited_user@test.gov.uk '
|
||||
assert normalize_spaces(page.select('.user-list-item')[1].text) == (
|
||||
'invited_user@test.gov.uk (pending) '
|
||||
'Can’t Send messages Can’t Add and edit templates Can’t Manage service Can Access API keys '
|
||||
'Cancel invitation'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user