diff --git a/lib/anaconda.pm b/lib/anaconda.pm index 22ea85b9..5887e6a6 100644 --- a/lib/anaconda.pm +++ b/lib/anaconda.pm @@ -187,6 +187,12 @@ sub custom_change_type { assert_and_click "anaconda_part_device_type"; # 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_device_type_active", 5) { + assert_and_click "anaconda_part_device_type_active"; + mouse_set(10, 10); + } assert_and_click "anaconda_part_device_type_$type"; assert_and_click "anaconda_part_update_settings"; } diff --git a/needles/anaconda/partitioning/device_type_active.json b/needles/anaconda/partitioning/device_type_active.json new file mode 100644 index 00000000..e74d3d41 --- /dev/null +++ b/needles/anaconda/partitioning/device_type_active.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "xpos": 494, + "ypos": 288, + "width": 84, + "height": 49, + "type": "match" + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-fedora", + "anaconda_part_device_type_active" + ] +} \ No newline at end of file diff --git a/needles/anaconda/partitioning/device_type_active.png b/needles/anaconda/partitioning/device_type_active.png new file mode 100644 index 00000000..7327f968 Binary files /dev/null and b/needles/anaconda/partitioning/device_type_active.png differ