1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 10:44:22 +00:00

Fix if statements.

This commit is contained in:
Lukas Ruzicka 2018-07-11 10:49:59 +02:00
parent 013d312752
commit 49c4fdaa96

View File

@ -28,7 +28,7 @@ sub run {
# } # }
#} #}
if (match_has_tag 'desktop_package_tool_thirdparty_enable', 10) { if (match_has_tag('desktop_package_tool_thirdparty_enable', 10)) {
assert_and_click 'desktop_package_tool_thirdparty_enable_cancel','left', 10; assert_and_click 'desktop_package_tool_thirdparty_enable_cancel','left', 10;
} }
@ -62,7 +62,7 @@ sub run {
# logged in (but don't fail if it doesn't as we're not testing # logged in (but don't fail if it doesn't as we're not testing
# that) # that)
if match_has_tag('desktop_package_tool_password'){ if (match_has_tag('desktop_package_tool_password')){
type_very_safely(get_var('USER_PASSWORD','weakpassword')); type_very_safely(get_var('USER_PASSWORD','weakpassword'));
assert_and_click('desktop_package_tool_authenticate','',30); assert_and_click('desktop_package_tool_authenticate','',30);
} }