diff --git a/needles/anaconda/network/rocky-network_host_name_connected-20210815.json b/needles/anaconda/network/rocky-network_host_name_connected-20210815.json new file mode 100644 index 00000000..fb2a5bf9 --- /dev/null +++ b/needles/anaconda/network/rocky-network_host_name_connected-20210815.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "height": 14, + "type": "match", + "width": 70, + "xpos": 724, + "ypos": 362 + }, + { + "xpos": 829, + "ypos": 363, + "width": 71, + "height": 13, + "type": "match" + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky" + ] +} \ No newline at end of file diff --git a/needles/anaconda/network/rocky-network_host_name_connected-20210815.png b/needles/anaconda/network/rocky-network_host_name_connected-20210815.png new file mode 100644 index 00000000..f20b58bb Binary files /dev/null and b/needles/anaconda/network/rocky-network_host_name_connected-20210815.png differ diff --git a/needles/anaconda/network/rocky-network_host_name_not_connected-20210815.json b/needles/anaconda/network/rocky-network_host_name_not_connected-20210815.json new file mode 100644 index 00000000..38e84c99 --- /dev/null +++ b/needles/anaconda/network/rocky-network_host_name_not_connected-20210815.json @@ -0,0 +1,20 @@ +{ + "area": [ + { + "xpos": 718, + "ypos": 361, + "width": 130, + "height": 16, + "type": "match", + "click_point": { + "xpos": 17, + "ypos": 1.5 + } + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "anaconda_main_hub_network_host_name_not_connected" + ] +} \ No newline at end of file diff --git a/needles/anaconda/network/rocky-network_host_name_not_connected-20210815.png b/needles/anaconda/network/rocky-network_host_name_not_connected-20210815.png new file mode 100644 index 00000000..bbb61cc2 Binary files /dev/null and b/needles/anaconda/network/rocky-network_host_name_not_connected-20210815.png differ diff --git a/needles/anaconda/network/rocky-network_host_name_not_connected_with_warning-20210816.json b/needles/anaconda/network/rocky-network_host_name_not_connected_with_warning-20210816.json new file mode 100644 index 00000000..e68331da --- /dev/null +++ b/needles/anaconda/network/rocky-network_host_name_not_connected_with_warning-20210816.json @@ -0,0 +1,20 @@ +{ + "area": [ + { + "height": 16, + "xpos": 718, + "click_point": { + "xpos": 17, + "ypos": 1.5 + }, + "type": "match", + "width": 130, + "ypos": 361 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "anaconda_main_hub_network_host_name_not_connected" + ] +} \ No newline at end of file diff --git a/needles/anaconda/network/rocky-network_host_name_not_connected_with_warning-20210816.png b/needles/anaconda/network/rocky-network_host_name_not_connected_with_warning-20210816.png new file mode 100644 index 00000000..3484b01c Binary files /dev/null and b/needles/anaconda/network/rocky-network_host_name_not_connected_with_warning-20210816.png differ diff --git a/tests/_anaconda_network_enable.pm b/tests/_anaconda_network_enable.pm index 9890c42c..e31769d4 100644 --- a/tests/_anaconda_network_enable.pm +++ b/tests/_anaconda_network_enable.pm @@ -6,31 +6,11 @@ use tapnet; sub run { my $self = shift; - assert_and_click "anaconda_main_hub_network_host_name"; - - #add the stuff here to click the connected button - - assert_and_click "anaconda_network_configure"; - - #assert_and_click "anaconda_network_ipv4"; - #assert_and_click "anaconda_network_method"; - #assert_and_click "anaconda_network_method_manual"; - - #assert_and_click "anaconda_network_address_add"; - #type_safely get_var('ANACONDA_STATIC'); - ## netmask is automatically set - #type_safely "\t\t"; - ## assume gateway - #type_safely "172.16.2.2"; - ## move to DNS servers - #type_safely "\n\t\t\t"; - ## set DNS from host - #type_safely join(',', get_host_dns()); - #type_safely "\t\t\t\t\t\n"; - ## can take a bit of time as it seems to wait for all the pending - ## DHCP requests to time out before applying the static config - + # Anaconda hub + assert_screen "anaconda_main_hub", 300; # + assert_and_click "anaconda_main_hub_network_host_name_not_connected"; + assert_and_click "anaconda_network_connect"; assert_screen "anaconda_network_connected", 90; assert_and_click "anaconda_spoke_done";