Work around a partition scheme selection bug on aarch64

Sometimes on aarch64 clicking the partition scheme drop-down
just doesn't seem to make the menu appear, instead the button
goes active but that's all. It's very unlikely we'll be able
to track down why as this doesn't happen in manual testing on
aarch64 (according to @pwhalen), so instead let's just work
around it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-06-15 13:40:13 -07:00
parent 6324db0b87
commit 9b7a9c9cd8
3 changed files with 22 additions and 0 deletions

View File

@ -99,6 +99,12 @@ sub custom_scheme_select {
assert_and_click "anaconda_part_scheme";
# Move the mouse away from the menu
mouse_set(10, 10);
# workaround for bug aarch64 tests sometimes hit - menu doesn't
# open when clicked. just click it again.
if (check_screen "anaconda_part_scheme_active", 5) {
assert_and_click "anaconda_part_scheme_active";
mouse_set(10, 10);
}
assert_and_click "anaconda_part_scheme_$scheme";
}

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"ENV-DISTRI-fedora",
"anaconda_part_scheme_active"
],
"area": [
{
"xpos": 56,
"ypos": 242,
"width": 47,
"height": 40,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB