Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/verify/check-reauthorize
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ class TestReauthorize(testlib.MachineCase):
self.login_and_go("/playground/test")
b.click(".super-channel button")
b.wait_in_text(".super-channel span", 'result: ')
self.assertEqual(b.text(".super-channel span"), 'result: access-denied')

# TODO: this should only be 'access-denied'
legit_results = [f'result: {err}' for err in ('access-denied', 'authentication-failed', 'terminated')]
self.assertIn(b.text(".super-channel span"), legit_results)

b.logout()

# So first ask the user to retype their password
Expand Down