os-autoinst-distri-rocky-mi.../tests/disk_guided_empty.pm
Adam Williamson ee2a3daefd Try to work around #1444225 with a sleep in disk_guided_empty
IIRC disk_guided_empty is the only storage test that clicks
through INSTALLATION DESTINATION *really* fast, so let's try
adding a 2-second sleep to it to see if it works around the
'sometimes spoke shows as incomplete' bug that cropped up in
F26 and hasn't been fixed yet and tends to cause failures.
2017-07-06 13:15:20 -07:00

34 lines
711 B
Perl

use base "anacondatest";
use strict;
use testapi;
use anaconda;
sub run {
my $self = shift;
# Anaconda hub
# Go to INSTALLATION DESTINATION and ensure one disk is selected.
select_disks();
# updates.img tests work by changing the appearance of the INSTALLATION
# DESTINATION screen, so check that if needed.
if (get_var('TEST_UPDATES')){
assert_screen "anaconda_install_destination_updates", 30;
}
# try and workaround #1444225 by waiting a bit before clicking Done
sleep 2;
assert_and_click "anaconda_spoke_done";
# Anaconda hub
assert_screen "anaconda_main_hub", 300; #
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: