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