1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13: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:
Adam Williamson 2021-11-04 10:47:34 -07:00
parent a4737f13ad
commit 2f0e75ed26

View File

@ -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