1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 18:33:07 +00:00
os-autoinst-distri-fedora/tests/applications/contacts/about.pm

36 lines
750 B
Perl
Raw Normal View History

2022-07-25 09:34:20 +00:00
use base "installedtest";
use strict;
use testapi;
use utils;
# This script will start the Gnome Contacts application and save the status
# for any subsequent tests.
sub run {
my $self = shift;
# Wait some time to settle down.
sleep(5);
# Open the menu and click on item.
assert_and_click("gnome_burger_menu");
assert_and_click("contacts_menu_about");
# Check that the About window has appeared.
assert_screen("contacts_about_shown");
# Click on Credits to move to credits and check we
# have moved.
assert_and_click("gnome_button_credits");
assert_screen("contacts_credits_shown");
}
sub test_flags {
# Rollback after the test.
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: