From 5171b313277c72313010c77cfd6b711540cc6494 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Thu, 12 Jul 2018 15:51:07 +0200 Subject: [PATCH] Get rid of nonworking condition --- tests/desktop_upgrade_graphical.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/desktop_upgrade_graphical.pm b/tests/desktop_upgrade_graphical.pm index b7fdec68..29fffb13 100644 --- a/tests/desktop_upgrade_graphical.pm +++ b/tests/desktop_upgrade_graphical.pm @@ -63,10 +63,8 @@ sub run { # logged in (but don't fail if it doesn't as we're not testing # that) - if (check_screen('desktop_package_tool_password')){ - type_very_safely(get_var('USER_PASSWORD','weakpassword')); - assert_and_click('desktop_package_tool_authenticate','',30); - } + type_very_safely(get_var('USER_PASSWORD','weakpassword')); + assert_and_click('desktop_package_tool_authenticate','',30); assert_and_click('desktop_package_tool_restart','',30);