1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-23 02:33:08 +00:00
os-autoinst-distri-fedora/tests/applications/loupe/browse.pm
Adam Williamson 475ee6b89c loupe: add a wait at start of browse test
We often get a failure where it's stuck at a spinner here, let's
see if waiting to settle the snapshot resume helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-17 15:33:53 -07:00

28 lines
531 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This part tests if the application can navigate through the current folder.
sub run {
my $self = shift;
# wait to settle from snapshot
wait_still_screen 3;
# Go to next picture.
send_key("right");
assert_screen("loupe_image_next", timeout => 90);
# Go to previous picture
send_key("left");
assert_and_click("loupe_image_default", timeout => 90);
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: