mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
WebUI tests: Fix timeout issues for reset password tests
- Increase wait timeout after password reset - Wait for server response after login in TestLoginScreen.test_reset_password_and_login_view Ticket: https://pagure.io/freeipa/issue/8012 Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
b7ad11572d
commit
6316a00632
@ -157,7 +157,7 @@ class TestLoginScreen(UI_driver):
|
||||
new_pass_field.send_keys(new_password)
|
||||
verify_pass_field.send_keys(new_password)
|
||||
verify_pass_field.send_keys(Keys.RETURN)
|
||||
self.wait()
|
||||
self.wait(0.5)
|
||||
self.assert_notification(assert_text='Password change complete',
|
||||
link_text=link_text, link_url=link_url)
|
||||
|
||||
@ -369,6 +369,7 @@ class TestLoginScreen(UI_driver):
|
||||
# check click on 'Cancel' button
|
||||
self.check_cancel()
|
||||
self.button_click_on_login_screen('login')
|
||||
self.wait_for_request()
|
||||
|
||||
# check if user is not logged
|
||||
assert not self.logged_in()
|
||||
|
Loading…
Reference in New Issue
Block a user