From 8e929f079f0134550cd73374ef6c24c10833b452 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Feb 21 2024 01:40:55 +0000 Subject: Try and make the archiver test more robust These are some changes @lruzicka left lying around uncommitted on openqa01. Signed-off-by: Adam Williamson --- diff --git a/tests/applications/archiver/archive.pm b/tests/applications/archiver/archive.pm index cd69524..e701e02 100644 --- a/tests/applications/archiver/archive.pm +++ b/tests/applications/archiver/archive.pm @@ -9,11 +9,13 @@ use utils; sub run { my $self = shift; - # We are already in the correct directory, so let's just - # select all the files. + # At first, let us click on one of the icons to get focus + # and then use ctrl-a to select all. + assert_and_click("archiver_file_one"); send_key("ctrl-a"); # Right click on the first of them to open the context menu. assert_and_click("archiver_file_one", button => 'right'); + wait_still_screen(3); # Select to archive it. assert_and_click("archiver_context_archive"); # Wait for the screen to appear and settle