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:
Adam Williamson 2018-04-25 15:01:43 -07:00
parent ef322198eb
commit 0ab8c6bd3f
3 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,16 @@
{
"properties": [],
"area": [
{
"width": 84,
"type": "match",
"ypos": 103,
"xpos": 357,
"height": 28
}
],
"tags": [
"ENV-DISTRI-fedora",
"anaconda_select_install_lang",
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -50,8 +50,9 @@ sub run {
assert_and_click "live_start_anaconda_icon", '', 300; assert_and_click "live_start_anaconda_icon", '', 300;
} }
my $language = get_var('LANGUAGE') || 'english'; my $language = get_var('LANGUAGE') || 'english';
# wait for anaconda to appear # wait for anaconda to appear; we click to work around
assert_screen "anaconda_select_install_lang", 300; # RHBZ #1566066 if it happens
assert_and_click "anaconda_select_install_lang", '', 300;
# Select install language # Select install language
wait_screen_change { assert_and_click "anaconda_select_install_lang_input"; }; wait_screen_change { assert_and_click "anaconda_select_install_lang_input"; };
type_safely $language; type_safely $language;