From 604c736b9b2acf0b3838b5d84ccf768aba751318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Wed, 28 Jan 2026 16:52:37 +0100 Subject: [PATCH] Fix the call of authenticate function --- tests/applications/media-writer/restore.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/applications/media-writer/restore.pm b/tests/applications/media-writer/restore.pm index 6f3a9c61..c1e32f9a 100644 --- a/tests/applications/media-writer/restore.pm +++ b/tests/applications/media-writer/restore.pm @@ -8,6 +8,7 @@ use mwriter; sub run { my $self = shift; + my $password = get_var("USER_PASSWORD", "weakpassword"); # Start the application menu_launch_type("media-writer", checkstart => 1); @@ -22,7 +23,7 @@ sub run { # Confirm renovation. wait_still_screen(5); - authenticate(); + authenticate($password, timeout => 15, stillscreen => 3); # Wait up to 300 sec and wait for confirmation. # As this operation should be quicker, we do not have to