Skip to content

Commit

Permalink
Close dropdown in yast bootloader test module
Browse files Browse the repository at this point in the history
In the test we check value in dropdown, but then it overlaps other
controls. Pressing esc key closes it.
  • Loading branch information
Rodion Iafarov committed Nov 23, 2017
1 parent 080c5a1 commit bb3c3b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions tests/yast2_gui/yast2_bootloader.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ sub run {
# default boot section
assert_and_click 'yast2-bootloader_default-boot-section';
assert_screen 'yast2-bootloader_default-boot-section_tw';
send_key 'esc'; # Close drop down

# proctect boot loader with password
assert_and_click 'yast2-bootloader_protect-bootloader-with-password';
Expand Down
14 changes: 7 additions & 7 deletions tests/yast2_gui/yast2_control_center.pm
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ sub start_vpn_gateway {

sub start_wake_on_lan {
search('wake');
assert_screen [qw(yast2_control-center_wake-on-lan yast2_control_no_modules)];
if (match_has_tag('yast2_control_no_modules') && sle_version_at_least('15')) {
# No wol on SLE 15 atm
record_soft_failure 'bsc#1059569';
return;
}
assert_and_click 'yast2_control-center_wake-on-lan';
assert_screen 'yast2_control-center_wake-on-lan_install_cancel', 60;
send_key 'alt-c';
Expand Down Expand Up @@ -328,13 +334,7 @@ sub run {
start_kernel_dump;
start_common_server_certificate;
start_ca_management;
if (sle_version_at_least '15') {
# No wol on sle 15 ATM
record_soft_failure 'bsc#1059569';
}
else {
start_wake_on_lan;
}
start_wake_on_lan;
# available by default only on SLES
start_authentication_server;
}
Expand Down

0 comments on commit bb3c3b0

Please sign in to comment.