mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +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:
parent
8d55935b41
commit
a581d20f8e
@ -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
|
||||||
|
# obvious reason, a wait may help.
|
||||||
wait_still_screen 5;
|
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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user