2022-01-25 13:45:38 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This part tests that About can be displayed.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
|
|
|
# Open the menu.
|
|
|
|
assert_and_click("gnome_burger_menu");
|
|
|
|
wait_still_screen(3);
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2022-01-25 13:45:38 +00:00
|
|
|
# Choose the About item.
|
|
|
|
assert_and_click "gte_about";
|
|
|
|
wait_still_screen(2);
|
|
|
|
|
|
|
|
# Check that the About dialogue was opened.
|
|
|
|
assert_screen "gte_about_shown";
|
|
|
|
|
|
|
|
# Click on Credits to move to another screen.
|
2022-08-09 01:09:59 +00:00
|
|
|
assert_and_click "gnome_button_credits";
|
2022-01-25 13:45:38 +00:00
|
|
|
wait_still_screen(2);
|
|
|
|
|
|
|
|
# Check that Credits were shown.
|
|
|
|
assert_screen "gte_credits_shown";
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
2022-07-28 20:32:57 +00:00
|
|
|
return {always_rollback => 1};
|
2022-01-25 13:45:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|