1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Fix the conditionals for the Workstation live check

Sigh, perl. Sigh, me.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-03-09 15:47:39 -08:00
parent f8d78e159d
commit ed62801202

View File

@ -85,14 +85,14 @@ sub run {
mouse_hide;
# https://bugzilla.redhat.com/show_bug.cgi?id=1553935 - see
# if anaconda disappeared in the last 60 seconds...
if (get_var("LIVE") && get_var("DESKTOP" eq 'gnome')) {
if (get_var("LIVE") && get_var("DESKTOP") eq 'gnome') {
last unless (check_screen "workstation_install_running", 1);
}
last if (check_screen "anaconda_install_done", $interval);
$timeout -= $interval;
}
# https://bugzilla.redhat.com/show_bug.cgi?id=1553935
unless (get_var("LIVE") && get_var("DESKTOP" eq 'gnome')) {
unless (get_var("LIVE") && get_var("DESKTOP") eq 'gnome') {
assert_screen "anaconda_install_done";
}
# wait for transition to complete so we don't click in the sidebar
@ -100,7 +100,7 @@ sub run {
# for the memory check test, we *don't* want to leave
unless (get_var("MEMCHECK")) {
# https://bugzilla.redhat.com/show_bug.cgi?id=1553935
unless (get_var("LIVE") && get_var("DESKTOP" eq 'gnome')) {
unless (get_var("LIVE") && get_var("DESKTOP") eq 'gnome') {
assert_and_click "anaconda_install_done";
}
if (get_var('LIVE')) {