From 3cd3d175c17a3f581184d52ea0d25368afef075a Mon Sep 17 00:00:00 2001 From: Francisco Trivino Date: Jan 30 2025 18:21:20 +0000 Subject: ipatests: increase delays for WebUI host test Previously, it waited 0.5 seconds before checking if the record was present, but this delay was often insufficient, causing intermittent failures. Fixes: https://pagure.io/freeipa/issue/9721 Signed-off-by: Francisco Trivino Reviewed-By: Florence Blanc-Renaud --- diff --git a/ipatests/test_webui/test_host.py b/ipatests/test_webui/test_host.py index 2619fd4..94dbd29 100644 --- a/ipatests/test_webui/test_host.py +++ b/ipatests/test_webui/test_host.py @@ -766,17 +766,17 @@ class test_host(host_tasks): self.fill_search_filter(self.pkey2) actions = ActionChains(self.driver) actions.send_keys(Keys.ENTER).perform() - self.wait(0.5) + self.wait(1.5) self.assert_record(self.pkey2) # negative search filter self.fill_search_filter(self.pkey3) actions = ActionChains(self.driver) actions.send_keys(Keys.ENTER).perform() - self.wait(0.5) + self.wait(1.5) self.assert_record(self.pkey4, negative=True) # cleanup self.fill_search_filter('') actions = ActionChains(self.driver) actions.send_keys(Keys.ENTER).perform() - self.wait(0.5) + self.wait(1.5) self.delete_record([self.pkey2, self.pkey3])