mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
Work around IoT incomplete hub issue
This is a workaround for https://github.com/osbuild/images/issues/309 , the IoT installer showing incomplete spokes in the main hub. We work around it by visiting them all. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
a5f9c88584
commit
8da5b7c010
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 247,
|
||||||
|
"ypos": 304,
|
||||||
|
"width": 35,
|
||||||
|
"height": 31,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"anaconda_main_hub",
|
||||||
|
"anaconda_main_hub_keyboard_layout_incomplete"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
15
needles/anaconda/main_hub/time_date_incomplete-20240306.json
Normal file
15
needles/anaconda/main_hub/time_date_incomplete-20240306.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 247,
|
||||||
|
"ypos": 440,
|
||||||
|
"width": 35,
|
||||||
|
"height": 38,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"anaconda_main_hub_time_date_incomplete"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/main_hub/time_date_incomplete-20240306.png
Normal file
BIN
needles/anaconda/main_hub/time_date_incomplete-20240306.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
@ -6,6 +6,22 @@ use utils;
|
|||||||
use tapnet;
|
use tapnet;
|
||||||
use anaconda;
|
use anaconda;
|
||||||
|
|
||||||
|
sub _handle_incomplete_hub {
|
||||||
|
if (match_has_tag "anaconda_main_hub_keyboard_layout_incomplete") {
|
||||||
|
# workaround IoT/osbuild issue
|
||||||
|
# https://github.com/osbuild/images/issues/309
|
||||||
|
# by visiting the incomplete spokes
|
||||||
|
assert_and_click "anaconda_main_hub_keyboard_layout_incomplete";
|
||||||
|
wait_still_screen 3;
|
||||||
|
assert_and_click "anaconda_spoke_done";
|
||||||
|
assert_and_click "anaconda_main_hub_time_date_incomplete";
|
||||||
|
wait_still_screen 3;
|
||||||
|
assert_and_click "anaconda_spoke_done";
|
||||||
|
wait_still_screen 3;
|
||||||
|
send_key "shift-tab";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
if (get_var("IS_PXE")) {
|
if (get_var("IS_PXE")) {
|
||||||
@ -183,6 +199,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# this is when the hub appeared already, we're done
|
# this is when the hub appeared already, we're done
|
||||||
|
_handle_incomplete_hub;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -201,6 +218,7 @@ sub run {
|
|||||||
# show by now it never will, so we'll just wait for the
|
# show by now it never will, so we'll just wait for the
|
||||||
# hub to show up.
|
# hub to show up.
|
||||||
assert_screen "anaconda_main_hub", 900;
|
assert_screen "anaconda_main_hub", 900;
|
||||||
|
_handle_incomplete_hub;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user