1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Saving progress.

This commit is contained in:
Lukas Ruzicka 2018-08-23 10:59:25 +02:00
parent 3b005bf68a
commit acdae30227
2 changed files with 5 additions and 3 deletions

View File

@ -39,7 +39,7 @@ sub run {
assert_and_click 'desktop_package_tool_update','left', 120; assert_and_click 'desktop_package_tool_update','left', 120;
wait_still_screen 2; wait_still_screen 2;
# a banner should inform about new version, download it # a banner should inform about new version, download it
assert_and_click 'desktop_package_tool_download','left', 1800; assert_and_click 'desktop_package_tool_download','left', 120;
wait_still_screen 5; wait_still_screen 5;
# after the download, Install the updates # after the download, Install the updates
assert_and_click 'desktop_package_tool_install','left', 1800; assert_and_click 'desktop_package_tool_install','left', 1800;
@ -65,7 +65,9 @@ sub run {
assert_and_click('desktop_package_tool_authenticate','',60); assert_and_click('desktop_package_tool_authenticate','',60);
assert_and_click('desktop_package_tool_restart','',30); assert_and_click('desktop_package_tool_restart','',30);
while (check_screen('desktop_package_tool_upgrade_progress')) {
sleep 30;
}
boot_to_login_screen; boot_to_login_screen;
} }
else { else {

View File

@ -6,7 +6,7 @@ use utils;
sub run { sub run {
my $self = shift; my $self = shift;
# upgrader should be installed on up-to-date system # upgrader should be installed on up-to-date system
assert_script_run 'dnf -y update --refresh', 1800; # assert_script_run 'dnf -y update --refresh', 1800;
script_run "reboot", 0; script_run "reboot", 0;
# handle bootloader, if requested # handle bootloader, if requested