action #98988
closedcoordination #93668: [epic] Redesign Installation test modules
Implement Select Hard Disk(s) in Guided setup using client libyui-rest-api
Description
Right now we don't know easily where we are using this screen. Isolate this logic and extract it from our general guided_setup module would help.
For this screen (check the video in that frame) https://openqa.suse.de/tests/7125869#step/select_guided_setup/1
We should extract logic $guided_setup->setup_disks_to_use(@{$test_data->{disks}}) if $test_data->{disks};
from guided_setup.pm and create new test that could be expanded easily to interact only with this screen.
We could consider to remove test data, as the goal of the test is just select the first disk, so for the corresponding validation module ('validate_first_disk_selection.pm') doesn't matter the prefix, vda or sda, we just need to pick the one ending in 'a'. If we cannot rely on booting a or b, then we need to use somehow UUIDs, but for now this solution was not needed, so we can simplify the validation with regex for the prefix.