Rename Suspend to Suspend access and Make user to Change role.
Assistant: grok Assistant-Session: 01a0d25d-d358-7e13-b84a-d007fbb7e34f
This commit is contained in:
parent
8f7cf0c69d
commit
14aee356cf
2 changed files with 46 additions and 11 deletions
|
|
@ -979,6 +979,13 @@ class PortalApplicationTests(unittest.TestCase):
|
|||
self.assertEqual("200 OK", admin_page["status"])
|
||||
self.assertIn(b"Lifecycle diagnostics", html)
|
||||
self.assertIn(b"Restore tenant account", html)
|
||||
self.assertIn(b">Suspend access</button>", html)
|
||||
self.assertIn(b">Change role</button>", html)
|
||||
self.assertNotIn(b">Make user</button>", html)
|
||||
self.assertNotIn(b">Suspend</button>", html)
|
||||
self.assertIn(b'popovertarget="help-role-', html)
|
||||
self.assertIn(b"This person administers the tenant.", html)
|
||||
self.assertIn(b"It does not change the login name.", html)
|
||||
recovered, _ = invoke_confirmed(
|
||||
self.app,
|
||||
f"/admin/tenant:friendly:browser/users/{memberships[0].user_id}/recover",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue