mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
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:
parent
6324db0b87
commit
9b7a9c9cd8
@ -99,6 +99,12 @@ sub custom_scheme_select {
|
|||||||
assert_and_click "anaconda_part_scheme";
|
assert_and_click "anaconda_part_scheme";
|
||||||
# Move the mouse away from the menu
|
# Move the mouse away from the menu
|
||||||
mouse_set(10, 10);
|
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";
|
assert_and_click "anaconda_part_scheme_$scheme";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
16
needles/anaconda/partitioning/scheme-active.json
Normal file
16
needles/anaconda/partitioning/scheme-active.json
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/partitioning/scheme-active.png
Normal file
BIN
needles/anaconda/partitioning/scheme-active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
Loading…
Reference in New Issue
Block a user