mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-29 16:36:25 +00:00
e61cfa699c
That other one didn't help, so let's try this - try and spot if the spoke is in the unexpected state (the needle should only match if the spoke is done processing and still in warning state, it shouldn't match while the needle is still thinking) and click through it again if so.
32 lines
626 B
Perl
32 lines
626 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;
|
|
}
|
|
|
|
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:
|