mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
2ca16ff759
This commit FIXES #85.
35 lines
779 B
Perl
35 lines
779 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This test checks that Calendar starts.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
send_key 'alt-f1';
|
|
# wait out animations
|
|
wait_still_screen 2;
|
|
# click on icon button to get the list of icons
|
|
assert_and_click 'apps_activities';
|
|
wait_still_screen 2;
|
|
# click on application icon
|
|
assert_and_click 'apps_menu_calendar';
|
|
wait_still_screen 2;
|
|
# give access to location if the vm asks for it
|
|
if (check_screen('apps_run_access', 1)) {
|
|
assert_and_click 'apps_run_access';
|
|
}
|
|
wait_still_screen 2;
|
|
assert_screen 'apps_run_calendar';
|
|
# close the application
|
|
send_key 'alt-f4';
|
|
wait_still_screen 2;
|
|
assert_screen 'workspace';
|
|
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|