Skip to content

Commit

Permalink
Fix issue introduced with os-autoinst#16059
Browse files Browse the repository at this point in the history
  • Loading branch information
paolostivanin committed Dec 7, 2022
1 parent e44777c commit de5eb20
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/security/yast2_users/add_users.pm
Expand Up @@ -74,8 +74,16 @@ sub run {
# If no, check the user was created successfully
assert_screen("Yast2-Users-Add-User-Created");
wait_screen_change { send_key "alt-o" };
assert_screen("yast2-user-add_xterm_nokogiri");

# Until bsc#1202053 is fixed, we need to send "enter" a couple of times before we can clear the console
if (check_screen("yast2-user-add_xterm_nokogiri", 10) {
send_key "ret";
send_key "ret";
}

clear_console;
assert_screen("root-console-x11");

# Exit x11 and turn to console
wait_screen_change { send_key "alt-f4" };
select_console("root-console");
Expand Down

0 comments on commit de5eb20

Please sign in to comment.