2015-08-19 21:41:41 +00:00
|
|
|
use base "anacondatest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
2020-08-11 20:34:37 +00:00
|
|
|
use utils;
|
2017-01-18 07:15:44 +00:00
|
|
|
use anaconda;
|
2015-08-19 21:41:41 +00:00
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
|
|
|
# Go to INSTALLATION DESTINATION and ensure the disk is selected.
|
|
|
|
# Because PARTITIONING starts with 'custom_', this will select custom.
|
2017-01-18 07:15:44 +00:00
|
|
|
select_disks();
|
2015-08-19 21:41:41 +00:00
|
|
|
assert_and_click "anaconda_spoke_done";
|
|
|
|
|
|
|
|
# Manual partitioning spoke should be displayed
|
|
|
|
assert_and_click "anaconda_part_automatic";
|
2020-08-11 20:34:37 +00:00
|
|
|
# Make / smaller
|
|
|
|
send_key_until_needlematch("anaconda_part_mountpoint_selected", "tab", 20);
|
|
|
|
# One tab on from 'mount point selected' is 'size'
|
|
|
|
send_key "tab";
|
|
|
|
type_very_safely "8 GiB";
|
|
|
|
assert_and_click "anaconda_part_update_settings";
|
2021-03-17 19:15:44 +00:00
|
|
|
wait_still_screen 5;
|
2020-08-11 20:34:37 +00:00
|
|
|
# Add swap
|
2021-08-11 19:15:46 +00:00
|
|
|
assert_and_click "anaconda_add";
|
2020-08-11 20:34:37 +00:00
|
|
|
type_very_safely "swap";
|
|
|
|
send_key "tab";
|
|
|
|
assert_and_click "anaconda_part_add_mountpoint";
|
2015-08-19 21:41:41 +00:00
|
|
|
assert_and_click "anaconda_spoke_done";
|
|
|
|
assert_and_click "anaconda_part_accept_changes";
|
|
|
|
|
|
|
|
# Anaconda hub
|
2022-07-28 20:32:57 +00:00
|
|
|
assert_screen "anaconda_main_hub", 300;
|
2015-08-19 21:41:41 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
2022-07-28 20:32:57 +00:00
|
|
|
return {fatal => 1};
|
2015-08-19 21:41:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|