mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-11 13:53:08 +00:00
37 lines
748 B
Perl
37 lines
748 B
Perl
|
use base "installedtest";
|
||
|
use strict;
|
||
|
use testapi;
|
||
|
use utils;
|
||
|
|
||
|
# This script checks that the About section can be displayed
|
||
|
# in Software.
|
||
|
|
||
|
sub run {
|
||
|
my $self = shift;
|
||
|
|
||
|
# Open the menu
|
||
|
assert_and_click("gnome_burger_menu");
|
||
|
wait_still_screen(2);
|
||
|
|
||
|
# Click on the About menu item.
|
||
|
assert_and_click("software_menu_about");
|
||
|
|
||
|
# Check that About is shown.
|
||
|
assert_screen("software_about");
|
||
|
|
||
|
# The About dialogue also has a Credits tab, click on that.
|
||
|
assert_and_click("gnome_credits_button");
|
||
|
|
||
|
# Check that the Credits tab is displayed.
|
||
|
assert_screen("software_credits");
|
||
|
}
|
||
|
|
||
|
sub test_flags {
|
||
|
# When finished, rollback to the last milestone.
|
||
|
return {always_rollback => 1};
|
||
|
}
|
||
|
|
||
|
1;
|
||
|
|
||
|
# vim: set sw=4 et:
|