os-autoinst-distri-rocky/tests/_anaconda_network_enable.pm

31 lines
600 B
Perl
Raw Normal View History

2021-08-15 05:11:53 +00:00
use base "anacondatest";
use strict;
use testapi;
use utils;
use tapnet;
sub run {
my $self = shift;
# Anaconda hub
assert_screen "anaconda_main_hub", 300; #
2021-08-15 05:11:53 +00:00
if (check_screen ["anaconda_network_connected"], 60) {
# network is connected already, we're done
return;
}
assert_and_click "anaconda_main_hub_network_host_name_not_connected";
assert_and_click "anaconda_network_connect";
2021-08-15 05:11:53 +00:00
assert_screen "anaconda_network_connected", 90;
assert_and_click "anaconda_spoke_done";
}
sub test_flags {
return {fatal => 1};
2021-08-15 05:11:53 +00:00
}
1;
# vim: set sw=4 et: