mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 23:23:30 -06:00
test_webui: test_hostgroup: Wait for modal dialog to appear
Modal dialog transition is currently set to 300ms, we have to wait for it to appear in order to interact with it. Double that time is a safe value. Resolves: https://pagure.io/freeipa/issue/8684 Signed-off-by: Michal Polovka <mpolovka@redhat.com> Reviewed-By: Michal Polovka <mpolovka@redhat.com> Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
parent
8082a2d9eb
commit
d0269f2367
@ -278,6 +278,7 @@ class test_hostgroup(UI_driver):
|
||||
assert hostgroup.DESCRIPTION_ERROR_DIALOG in \
|
||||
self.get_last_error_dialog().text
|
||||
self.dialog_button_click('cancel')
|
||||
self.wait(0.6) # wait for modal dialog to appear
|
||||
self.dialog_button_click('cancel')
|
||||
|
||||
# duplicate
|
||||
|
Loading…
Reference in New Issue
Block a user