mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-26 23:53:08 +00:00
Update needles and tweak test logic for new anaconda-webui
New anaconda-webui changes the disk selection flow a bit, this adapts to it. We can drop the conditional and make it a straight assert-and-click once the new webui is stable for F41 and F42. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
bb1f6e6ba0
commit
47302e9451
15
needles/anaconda/webui/anaconda_webui_select-20240925.json
Normal file
15
needles/anaconda/webui/anaconda_webui_select-20240925.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 270,
|
||||||
|
"ypos": 337,
|
||||||
|
"width": 50,
|
||||||
|
"height": 17,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"anaconda_webui_select"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/webui/anaconda_webui_select-20240925.png
Normal file
BIN
needles/anaconda/webui/anaconda_webui_select-20240925.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
17
needles/anaconda/webui/select_disk_1-webui-20240925.json
Normal file
17
needles/anaconda/webui/select_disk_1-webui-20240925.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"xpos": 363,
|
||||||
|
"ypos": 188,
|
||||||
|
"width": 17,
|
||||||
|
"height": 24
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"anaconda_install_destination_select_disk_1",
|
||||||
|
"ENV-DISTRI-fedora",
|
||||||
|
"ENV-FLAVOR-server"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/webui/select_disk_1-webui-20240925.png
Normal file
BIN
needles/anaconda/webui/select_disk_1-webui-20240925.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 112 KiB |
15
needles/anaconda/webui/webui_disk_select-20240925.json
Normal file
15
needles/anaconda/webui/webui_disk_select-20240925.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 24,
|
||||||
|
"ypos": 249,
|
||||||
|
"xpos": 266,
|
||||||
|
"width": 141,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"anaconda_webui_disk_select"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/webui/webui_disk_select-20240925.png
Normal file
BIN
needles/anaconda/webui/webui_disk_select-20240925.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
@ -17,6 +17,8 @@ sub run {
|
|||||||
if (get_var("NUMDISKS") > 1) {
|
if (get_var("NUMDISKS") > 1) {
|
||||||
assert_and_click "anaconda_webui_disk_select";
|
assert_and_click "anaconda_webui_disk_select";
|
||||||
assert_and_click "anaconda_install_destination_select_disk_1";
|
assert_and_click "anaconda_install_destination_select_disk_1";
|
||||||
|
# since webui 16, we have to click a Select button too
|
||||||
|
click_lastmatch if (check_screen "anaconda_webui_select");
|
||||||
}
|
}
|
||||||
# assume default selection is the appropriate one; if it
|
# assume default selection is the appropriate one; if it
|
||||||
# isn't, we'll fail soon enough
|
# isn't, we'll fail soon enough
|
||||||
|
Loading…
Reference in New Issue
Block a user