2021-08-10 11:50:19 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This part tests if EoG can show the About window.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2021-08-10 11:50:19 +00:00
|
|
|
# Open the menu
|
2022-01-24 13:09:25 +00:00
|
|
|
assert_and_click("gnome_burger_menu");
|
2022-01-25 10:21:04 +00:00
|
|
|
wait_still_screen(3);
|
2021-08-10 11:50:19 +00:00
|
|
|
# Click on the About item
|
|
|
|
assert_and_click("eog_menu_about");
|
2022-01-25 10:21:04 +00:00
|
|
|
wait_still_screen(3);
|
2021-08-10 11:50:19 +00:00
|
|
|
assert_screen("eog_about_shown");
|
|
|
|
# Click on Credits
|
2022-08-09 01:09:59 +00:00
|
|
|
assert_and_click("gnome_button_credits");
|
2022-01-25 10:21:04 +00:00
|
|
|
wait_still_screen(2);
|
2021-08-10 11:50:19 +00:00
|
|
|
assert_screen("eog_credits_shown");
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
return {always_rollback => 1};
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|