mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13: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:
parent
d000a96fc6
commit
026f70e063
@ -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"; };
|
||||
|
Loading…
Reference in New Issue
Block a user