Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sporadic issues with key presses for yast2 tftf and samba test modules #7917

Merged
merged 2 commits into from
Jul 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/console/yast2_samba.pm
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ sub setup_yast2_auth_server {

assert_screen 'yast2_ldap_configuration_stand-alone_tls';
# move to next page basic database settings and set base dn, ldap admin password
wait_screen_change { send_key 'alt-n' };
send_key 'alt-n';
assert_screen 'yast2_ldap_basic_db_configuration';
wait_screen_change { send_key 'alt-s' };
type_string($ldap_directives{dn_container});
wait_screen_change { send_key 'alt-a' };
Expand Down
5 changes: 3 additions & 2 deletions tests/console/yast2_tftp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ sub run {
assert_screen 'yast2_tftp_open_port';
send_key $firewall_detail_shortcut; # open firewall details window
assert_screen 'yast2_tftp_firewall_details';
send_key 'alt-o'; # close the window
send_key 'alt-o'; # close the window
assert_screen 'yast2_tftp_open_port'; # assert that window is closed
}

# view log
send_key 'alt-v'; # open log window
send_key 'alt-v'; # open log window

# bsc#1008493 is still open, but error pop-up doesn't always appear immediately
# so wait still screen before assertion
Expand Down