1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-11 17:34:23 +00:00

Reintroduce procedure to wait for Software Update.

This commit is contained in:
Lukáš Růžička 2018-07-13 12:48:17 +02:00
parent ca16b82690
commit 03f82987d7

View File

@ -18,15 +18,15 @@ sub run {
if ($desktop eq 'gnome' && check_screen 'gnome_software_welcome', 10) {
send_key 'ret';
}
## go to the 'update' interface. For GNOME, we may be waiting
## some time at a 'Software catalog is being loaded' screen.
#if ($desktop eq 'gnome') {
# for my $n (1..5) {
# last if (check_screen 'desktop_package_tool_update', 120);
# mouse_set 10, 10;
# mouse_hide;
# }
#}
# go to the 'update' interface. For GNOME, we may be waiting
# some time at a 'Software catalog is being loaded' screen.
if ($desktop eq 'gnome') {
for my $n (1..5) {
last if (check_screen 'desktop_package_tool_update', 120);
mouse_set 10, 10;
mouse_hide;
}
}
# If a banner appears that offers enablement of third party, discard it.
if (check_screen('desktop_package_tool_thirdparty_enable', 60)) {