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:
Chris Hill-Scott
2018-01-26 17:14:00 +00:00
parent 73a685eb0a
commit 79ddf657bf
3 changed files with 24 additions and 66 deletions

View File

@@ -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) '
'Cant Send messages Cant Add and edit templates Cant Manage service Can Access API keys '
'Cancel invitation'
)