1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

webui: only select disk if we have more than 1

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-08-23 09:12:30 -07:00
parent d000a96fc6
commit 026f70e063

View File

@ -14,8 +14,10 @@ sub run {
# long term we'll want two paths through select_disks or
# a webui_select_disks, but for now, just throw it in here
# as it's simple on this single path
assert_and_click "anaconda_webui_disk_select";
assert_and_click "anaconda_install_destination_select_disk_1";
if (get_var("NUMDISKS") > 1) {
assert_and_click "anaconda_webui_disk_select";
assert_and_click "anaconda_install_destination_select_disk_1";
}
# assume default selection is the appropriate one; if it
# isn't, we'll fail soon enough
wait_screen_change { assert_and_click "anaconda_webui_next"; };