Click on language select screen (RHBZ #1566066)
We've been seeing an odd case lately where the language select screen is not foregrounded when it appears (so all text is grey). It happens very occasionally on x86_64, but a lot on ppc64. To work around this, let's add a needle that matches the inactive screen, and click on the screen when it appears just to make sure it's active. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
ef322198eb
commit
0ab8c6bd3f
@ -0,0 +1,16 @@
|
||||
{
|
||||
"properties": [],
|
||||
"area": [
|
||||
{
|
||||
"width": 84,
|
||||
"type": "match",
|
||||
"ypos": 103,
|
||||
"xpos": 357,
|
||||
"height": 28
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ENV-DISTRI-fedora",
|
||||
"anaconda_select_install_lang",
|
||||
]
|
||||
}
|
BIN
needles/anaconda/lang_select/install_lang_inactive-20180425.png
Normal file
BIN
needles/anaconda/lang_select/install_lang_inactive-20180425.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 112 KiB |
@ -50,8 +50,9 @@ sub run {
|
||||
assert_and_click "live_start_anaconda_icon", '', 300;
|
||||
}
|
||||
my $language = get_var('LANGUAGE') || 'english';
|
||||
# wait for anaconda to appear
|
||||
assert_screen "anaconda_select_install_lang", 300;
|
||||
# wait for anaconda to appear; we click to work around
|
||||
# RHBZ #1566066 if it happens
|
||||
assert_and_click "anaconda_select_install_lang", '', 300;
|
||||
# Select install language
|
||||
wait_screen_change { assert_and_click "anaconda_select_install_lang_input"; };
|
||||
type_safely $language;
|
||||
|
Loading…
Reference in New Issue
Block a user