1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Desktop update: Wait before clicking update apply button

We used to do this only for KDE, but I've seen the new update
tests sometimes fail at this point for no apparent reason, and
I'm thinking a wait may help (in case they're clicking the
button before it's really 'ready').
This commit is contained in:
Adam Williamson 2017-03-02 15:33:23 -08:00
parent 8d55935b41
commit a581d20f8e

View File

@ -48,10 +48,10 @@ sub run {
mouse_hide; mouse_hide;
} }
# KDE annoyingly pops the notification up right over the install # KDE annoyingly pops the notification up right over the install
# button, which doesn't help...wait for it to go away # button, which doesn't help...wait for it to go away. Let's also
if ($desktop eq 'kde') { # wait on GNOME, as we've had tests fail at this point for no
wait_still_screen 5; # obvious reason, a wait may help.
} wait_still_screen 5;
assert_and_click 'desktop_package_tool_update_apply'; assert_and_click 'desktop_package_tool_update_apply';
# on GNOME, wait for reboots. # on GNOME, wait for reboots.
if ($desktop eq 'gnome') { if ($desktop eq 'gnome') {