Project

General

Profile

action #98988

coordination #93668: [epic] Redesign Installation test modules

Implement Select Hard Disk(s) in Guided setup using client libyui-rest-api

Added by JERiveraMoya 8 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
2021-09-21
Due date:
% Done:

0%

Estimated time:

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.

History

#1 Updated by JERiveraMoya 8 months ago

  • Description updated (diff)

#2 Updated by JERiveraMoya 8 months ago

  • Tags deleted (qe-yast-refinement)
  • Status changed from New to Workable

#3 Updated by oorlov 8 months ago

  • Status changed from Workable to Feedback

#4 Updated by oorlov 7 months ago

  • Status changed from Feedback to Workable

#5 Updated by oorlov 7 months ago

  • Status changed from Workable to New

#6 Updated by JERiveraMoya 5 months ago

  • Status changed from New to Closed
  • Assignee set to oorlov

this is already done with the guided partitioner, https://openqa.suse.de/tests/7923749#step/select_disks/1
Let's do the improvement of the test data later.

Also available in: Atom PDF