1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-09 01:57:22 +00:00
os-autoinst-distri-fedora/tests/applications/calculator/aaa_setup.pm
Adam Williamson 6e95581865 Calculator: delay before snapshotting
In some tests on staging this seems to help with the 'clicks
don't work in later test steps' problem we're seeing a lot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-03 15:12:44 -08:00

27 lines
493 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This script starts the Calculator and stores an image.
sub run {
my $self = shift;
# Set update notification timestamp
set_update_notification_timestamp();
# Run the application
menu_launch_type("Calculator");
assert_screen("apps_run_calculator");
# wait for system to settle before snapshotting
sleep 10;
}
sub test_flags {
return {fatal => 1, milestone => 1};
}
1;
# vim: set sw=4 et: