mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
desktop_browser: handle addon add button not always being visible
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0bda4ad073
commit
f2e87cd128
@ -67,6 +67,9 @@ sub run {
|
|||||||
wait_still_screen(stilltime => 2, similarity_level => 45);
|
wait_still_screen(stilltime => 2, similarity_level => 45);
|
||||||
sleep 2;
|
sleep 2;
|
||||||
type_very_safely "https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/\n";
|
type_very_safely "https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/\n";
|
||||||
|
# sometimes there's some stupid header taking up space and we
|
||||||
|
# need to scroll down to see the 'add' button
|
||||||
|
send_key_until_needlematch "firefox_addon_add", "pgdn", 3, 5;
|
||||||
assert_and_click "firefox_addon_add";
|
assert_and_click "firefox_addon_add";
|
||||||
assert_and_click "firefox_addon_install";
|
assert_and_click "firefox_addon_install";
|
||||||
assert_and_click "firefox_addon_success";
|
assert_and_click "firefox_addon_success";
|
||||||
|
Loading…
Reference in New Issue
Block a user