mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-18 19:21:28 +00:00
ee2a3daefd
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.
34 lines
711 B
Perl
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:
|