Project

General

Profile

Actions

action #11182

closed

New Test - check 'enlarge swap for suspend' can be selected in YaST partitioner

Added by RBrownSUSE about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2016-03-11
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Test Description
During YaST installation, a user expects to be able to be able to do the following from the Suggested Partitioning Screen (eg https://openqa.suse.de/tests/292572/modules/partitioning/steps/1 )

  • Click Edit Proposal Settings - Popup appears
  • Press tickbox or keyboard shortuct (alt-s) for Enlarge Swap for Suspend - Confirm tick box is selected
  • Click Ok

openQA implementation advice

Crate a new file in https://github.com/os-autoinst/os-autoinst-distri-opensuse/tests/installation
Suggested name installation_enlargeswap.pm
Have the file do the tasks outlined above in a similar style to partitioning_togglehome.pm

End result must use at least the following openQA calls:

send_key - use it for keyboard shortcuts
assert_screen - use it for confirming UI elements are present and for tickboxes are selected correctly

NOTE in order for this test to work, you will need to set your openQA scenario to include the variable QEMURAM with a value that is probably 4098 or larger
Otherwise the default swapsize SLE will detect will already be large enough and this menu option will be greyed out.

Once the test is written, also edit products/sle/main.pm and products/opensuse/main.pm and add the following lines after the line "loadtest "installation/partitioning.pm";"

if (get_var("ENLARGESWAP") && get_var("QEMURAM", 1024) > 4098) {
loadtest "installation/partitioning_enlargeswap.pm";
}

Actions #1

Updated by RBrownSUSE about 8 years ago

  • Description updated (diff)
Actions #2

Updated by RBrownSUSE about 8 years ago

  • Project changed from openQA Project to openQA Tests
Actions #3

Updated by RBrownSUSE about 8 years ago

  • Status changed from New to Resolved
  • Assignee set to zluo
Actions

Also available in: Atom PDF