From 8e929f079f0134550cd73374ef6c24c10833b452 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 20 Feb 2024 17:40:55 -0800 Subject: [PATCH] Try and make the archiver test more robust These are some changes @lruzicka left lying around uncommitted on openqa01. Signed-off-by: Adam Williamson --- tests/applications/archiver/archive.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/applications/archiver/archive.pm b/tests/applications/archiver/archive.pm index cd695243..e701e021 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