Skip to content

Commit

Permalink
add_users.pm: remove root console check
Browse files Browse the repository at this point in the history
  • Loading branch information
paolostivanin committed Dec 7, 2022
1 parent 3efb2fb commit 645915e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/security/yast2_users/add_users.pm
Expand Up @@ -74,17 +74,10 @@ sub run {
# If no, check the user was created successfully
assert_screen("Yast2-Users-Add-User-Created");
wait_screen_change { send_key "alt-o" };
# Until bsc#1202053 is fixed, we need to send "enter" a couple of times before we can clear the console
send_key "ret";
send_key "ret";

# Enhence code for stability: avoid time racing
clear_console;
assert_screen("root-console-x11");
assert_screen("yast2-user-add_xterm_nokogiri");

# Exit x11 and turn to console
send_key "alt-f4";
assert_screen("generic-desktop");
wait_screen_change { send_key "alt-f4" };
select_console("root-console");
send_key "ctrl-c";
clear_console;
Expand Down

0 comments on commit 645915e

Please sign in to comment.