Fix mirrorlist not getting recognized with double apply (#53)

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
This commit is contained in:
Lukas Magauer 2021-10-22 01:46:48 +02:00 committed by GitHub
parent a5a3998ee9
commit 68818270db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}