From 1affddaabe6a44fb143211b95c2eb348690cf560 Mon Sep 17 00:00:00 2001 From: Serhii Tsymbaliuk Date: Wed, 12 Sep 2018 08:54:08 +0200 Subject: [PATCH] Increase some timeouts in Web UI tests Reviewed-By: Alexander Bokovoy Reviewed-By: Petr Vobornik --- ipatests/test_webui/test_host.py | 2 +- ipatests/test_webui/test_user.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ipatests/test_webui/test_host.py b/ipatests/test_webui/test_host.py index 50926d259..07c8656b4 100644 --- a/ipatests/test_webui/test_host.py +++ b/ipatests/test_webui/test_host.py @@ -501,7 +501,7 @@ class test_host(host_tasks): self.wait() actions = ActionChains(self.driver) actions.send_keys(Keys.ENTER).perform() - self.wait(0.7) + self.wait(2) self.dialog_button_click('cancel') self.assert_no_dialog() diff --git a/ipatests/test_webui/test_user.py b/ipatests/test_webui/test_user.py index 75b9108c1..cdf0c0242 100644 --- a/ipatests/test_webui/test_user.py +++ b/ipatests/test_webui/test_user.py @@ -752,7 +752,7 @@ class TestLifeCycles(UI_driver): self.button_click('batch_stage') self.dialog_button_click('ok') self.assert_no_error_dialog() - self.wait(0.7) + self.wait(2) # fix assert after https://pagure.io/freeipa/issue/7477 is closed self.assert_notification(assert_text='1 users(s) staged') @@ -814,7 +814,7 @@ class TestLifeCycles(UI_driver): self.button_click('batch_stage') self.dialog_button_click('ok') self.assert_no_error_dialog() - self.wait(0.7) + self.wait(2) self.assert_notification(assert_text='2 users(s) staged') # activate multiple users from stage