1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

Try and make the archiver test more robust

These are some changes @lruzicka left lying around uncommitted
on openqa01.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-02-20 17:40:55 -08:00
parent 21887eae3d
commit 8e929f079f

View File

@ -9,11 +9,13 @@ use utils;
sub run { sub run {
my $self = shift; my $self = shift;
# We are already in the correct directory, so let's just # At first, let us click on one of the icons to get focus
# select all the files. # and then use ctrl-a to select all.
assert_and_click("archiver_file_one");
send_key("ctrl-a"); send_key("ctrl-a");
# Right click on the first of them to open the context menu. # Right click on the first of them to open the context menu.
assert_and_click("archiver_file_one", button => 'right'); assert_and_click("archiver_file_one", button => 'right');
wait_still_screen(3);
# Select to archive it. # Select to archive it.
assert_and_click("archiver_context_archive"); assert_and_click("archiver_context_archive");
# Wait for the screen to appear and settle # Wait for the screen to appear and settle