Fix mirrorlist not getting recognized with double apply

This commit is contained in:
lumarel 2021-10-08 22:32:26 +02:00
parent a5a3998ee9
commit a00c36b18f
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 482,
"ypos": 199,
"width": 38,
"height": 37,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_main_hub_installation_source_error"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -60,6 +60,18 @@ sub run {
assert_and_click "anaconda_spoke_done";
wait_still_screen 2;
# if the internet connection was too slow the mirrorlist shows as error
# so needs to be applied a second time
if (check_screen('anaconda_main_hub_installation_source_error', 10)) {
# Go into the Install Source spoke
assert_and_click "anaconda_main_hub_installation_source_error";
# and back again
assert_and_click "anaconda_spoke_done";
}
# Anaconda hub
assert_screen "anaconda_main_hub", 300;
}