mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
freeipa_webui: handle scrolling for add_user button
In https://openqa.fedoraproject.org/tests/1051360 Firefox showed an "Open previous tabs?" bar which put this button just off the bottom of the screen, so we need to scroll to it if that happens. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
a4737f13ad
commit
2f0e75ed26
@ -22,6 +22,9 @@ sub run {
|
||||
type_safely "allow-test3";
|
||||
type_safely "\t\t\t";
|
||||
send_key "ret";
|
||||
# if firefox shows a stupid infobar or something this is juuust
|
||||
# offscreen
|
||||
send_key_until_needlematch("freeipa_webui_policy_add_user", "down", 3, 3);
|
||||
assert_and_click "freeipa_webui_policy_add_user";
|
||||
wait_still_screen 2;
|
||||
# filter users
|
||||
|
Loading…
Reference in New Issue
Block a user