1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Er, it's last not break in perl. D'oh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-02-18 14:33:32 -08:00
parent 9226ccabe3
commit 43ee54c303

View File

@ -46,19 +46,19 @@ sub run {
# and relog for further interaction. We will check if reconnection is
# needed and if so, we will restart Firefox and login again.
#
break if (check_screen("cockpit_updates_updated"));
last if (check_screen("cockpit_updates_updated"));
if (check_screen("cockpit_updates_reconnect", 1)) {
quit_firefox;
sleep 5;
start_cockpit(1);
select_cockpit_update();
break;
last;
}
# Ignore rebooting the system because we want to finish the test instead.
elsif (check_screen('cockpit_updates_restart_ignore', 1)) {
assert_and_click 'cockpit_updates_restart_ignore';
break;
last;
}
else {
sleep 10;