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 <ftrivino@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Francisco Trivino authored and Rob Crittenden committed 2025-01-30 13:21:20 -05:00
1 parent c5300a3127
commit 3cd3d175c1
1 file changed
+3 -3
+3 -3
View File
@@ -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])