diff --git a/lib/anaconda.pm b/lib/anaconda.pm index dad4ccc9..22ea85b9 100644 --- a/lib/anaconda.pm +++ b/lib/anaconda.pm @@ -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"; } diff --git a/needles/anaconda/partitioning/scheme-active.json b/needles/anaconda/partitioning/scheme-active.json new file mode 100644 index 00000000..2fb11df6 --- /dev/null +++ b/needles/anaconda/partitioning/scheme-active.json @@ -0,0 +1,16 @@ +{ + "properties": [], + "tags": [ + "ENV-DISTRI-fedora", + "anaconda_part_scheme_active" + ], + "area": [ + { + "xpos": 56, + "ypos": 242, + "width": 47, + "height": 40, + "type": "match" + } + ] +} diff --git a/needles/anaconda/partitioning/scheme-active.png b/needles/anaconda/partitioning/scheme-active.png new file mode 100644 index 00000000..b7cebdec Binary files /dev/null and b/needles/anaconda/partitioning/scheme-active.png differ