mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 14:40:16 -05:00
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:
1 parent
c5300a3127
commit
3cd3d175c1
1 file changed
+3
-3
@@ -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])
|
||||
Reference in new issue
Block a user