Remove the EOG app test
EOG has been replaced by Loupe in F39+. We will need to add a test for Loupe, but first let's remove the EOG test so it does not fail on every compose. Signed-off-by: Adam Williamson <awilliam@redhat.com>
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 102,
|
||||
"ypos": 140,
|
||||
"height": 20,
|
||||
"xpos": 459,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"apps_run_imageviewer"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 682 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 94,
|
||||
"xpos": 444,
|
||||
"ypos": 340,
|
||||
"width": 135
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_about_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 357 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 94,
|
||||
"type": "match",
|
||||
"width": 135,
|
||||
"xpos": 444,
|
||||
"ypos": 340
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_about_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 406 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 57,
|
||||
"xpos": 460,
|
||||
"ypos": 411,
|
||||
"width": 149
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_credits_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 228 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 464,
|
||||
"ypos": 413,
|
||||
"width": 149,
|
||||
"height": 57,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_credits_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 396 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 15,
|
||||
"width": 71,
|
||||
"xpos": 188,
|
||||
"ypos": 182
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_file_select_jpg"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 36 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 863,
|
||||
"ypos": 11,
|
||||
"width": 153,
|
||||
"height": 65,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_fullscreen_on"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 929 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 862,
|
||||
"ypos": 165,
|
||||
"width": 98,
|
||||
"height": 19,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_gallery_show"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 929 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 103,
|
||||
"ypos": 685,
|
||||
"width": 133,
|
||||
"height": 26,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_gallery_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 676 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 518,
|
||||
"ypos": 454,
|
||||
"width": 53,
|
||||
"height": 22,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_help_image_zoom"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 71 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_help_shown"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 39,
|
||||
"ypos": 106,
|
||||
"width": 267,
|
||||
"height": 45,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 89 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 3,
|
||||
"ypos": 125,
|
||||
"width": 107,
|
||||
"height": 38,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_help_zoom_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 50 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 14,
|
||||
"ypos": 6,
|
||||
"type": "match",
|
||||
"width": 71,
|
||||
"height": 91
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_image_background"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 417 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 470,
|
||||
"xpos": 521,
|
||||
"width": 183,
|
||||
"height": 117,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_image_default"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 320 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 95,
|
||||
"width": 155,
|
||||
"xpos": 408,
|
||||
"ypos": 355
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_image_next"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 586 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 414,
|
||||
"ypos": 279,
|
||||
"width": 145,
|
||||
"height": 98,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_image_rotated_left"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 512 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 43,
|
||||
"type": "match",
|
||||
"height": 24,
|
||||
"xpos": 61,
|
||||
"width": 72
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_image_shown_increased"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 820 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 205,
|
||||
"height": 285,
|
||||
"xpos": 819,
|
||||
"ypos": 91
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_img_info"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 321 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 490,
|
||||
"width": 138,
|
||||
"type": "match",
|
||||
"height": 14,
|
||||
"xpos": 856
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_menu_about"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 313 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 863,
|
||||
"ypos": 464,
|
||||
"width": 82,
|
||||
"height": 14,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_menu_about"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 644 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 75,
|
||||
"height": 21,
|
||||
"type": "match",
|
||||
"ypos": 47,
|
||||
"xpos": 475
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_picture_name"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 320 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 862,
|
||||
"ypos": 253,
|
||||
"width": 114,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_set_wallpaper"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 644 KiB |
@ -1,22 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 106,
|
||||
"ypos": 137,
|
||||
"width": 124,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 568,
|
||||
"ypos": 138,
|
||||
"width": 62,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_shortcuts_alt_shown"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 136 KiB |
@ -1,22 +0,0 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_shortcuts_shown"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 107,
|
||||
"ypos": 132,
|
||||
"width": 63,
|
||||
"height": 26,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 640,
|
||||
"ypos": 134,
|
||||
"width": 46,
|
||||
"height": 22,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 69 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 162,
|
||||
"height": 22,
|
||||
"type": "match",
|
||||
"ypos": 93,
|
||||
"xpos": 797
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_side_panel"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 320 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 860,
|
||||
"ypos": 350,
|
||||
"width": 43,
|
||||
"height": 21,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_submenu_show"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 898 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 264,
|
||||
"width": 111,
|
||||
"height": 20,
|
||||
"type": "match",
|
||||
"xpos": 456
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_wallpaper_set_window"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 473 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 20,
|
||||
"ypos": 264,
|
||||
"width": 111,
|
||||
"type": "match",
|
||||
"xpos": 456
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_wallpaper_set_window"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 297 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 289,
|
||||
"ypos": 90,
|
||||
"width": 188,
|
||||
"height": 24,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"eog_wallpaper_set_window"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 674 KiB |
@ -1,54 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This script will download the test data for evince, start the application,
|
||||
# and set a milestone as a starting point for the other EoG tests.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# Switch to console
|
||||
$self->root_console(tty => 3);
|
||||
# Perform git test
|
||||
check_and_install_git();
|
||||
# Download the test data
|
||||
download_testdata();
|
||||
# Exit the terminal
|
||||
desktop_vt;
|
||||
|
||||
# Start the application
|
||||
my $launch = "eye of gnome";
|
||||
$launch = "image viewer" if (get_var("CANNED"));
|
||||
menu_launch_type($launch);
|
||||
# Check that is started
|
||||
assert_screen 'apps_run_imageviewer';
|
||||
|
||||
# Fullsize the EoG window.
|
||||
send_key("super-up");
|
||||
|
||||
# Open the test file to create a starting point for the other EoG tests.
|
||||
send_key("ctrl-o");
|
||||
|
||||
if (get_var("CANNED") && !check_screen("gnome_dirs_pictures")) {
|
||||
# open the Pictures folder.
|
||||
assert_and_click("gnome_dirs_pictures", button => "left", timeout => 30);
|
||||
}
|
||||
|
||||
# Select the image.jpg file.
|
||||
assert_and_click("eog_file_select_jpg", button => "left", timeout => 30);
|
||||
|
||||
# Hit enter to open it.
|
||||
send_key("ret");
|
||||
|
||||
# Check that the file has been successfully opened.
|
||||
assert_screen("eog_image_default");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1, milestone => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,30 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if EoG can show the About window.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
|
||||
# Open the menu
|
||||
assert_and_click("gnome_burger_menu");
|
||||
wait_still_screen(3);
|
||||
# Click on the About item
|
||||
assert_and_click("eog_menu_about");
|
||||
wait_still_screen(3);
|
||||
assert_screen("eog_about_shown");
|
||||
# Click on Credits
|
||||
assert_and_click("gnome_button_credits");
|
||||
wait_still_screen(2);
|
||||
assert_screen("eog_credits_shown");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,31 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application basic layout shows basic info.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
|
||||
# Check that the picture name is shown
|
||||
assert_screen "eog_picture_name";
|
||||
|
||||
# Check that the Side panel is visible, try to make it visible if it is not.
|
||||
if (!check_screen("eog_side_panel")) {
|
||||
send_key("f9");
|
||||
wait_still_screen(2);
|
||||
}
|
||||
assert_screen("eog_side_panel");
|
||||
|
||||
# Check that info on side panel is correct
|
||||
assert_screen("eog_img_info");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,27 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can navigate through the current folder.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
|
||||
# Go to next picture.
|
||||
send_key("right");
|
||||
wait_still_screen(2);
|
||||
assert_screen("eog_image_next");
|
||||
# Go to previous picture
|
||||
send_key("left");
|
||||
wait_still_screen;
|
||||
assert_and_click("eog_image_default");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,28 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can be switched to full screen.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
|
||||
# Toggle full screen
|
||||
send_key("f11");
|
||||
wait_still_screen 2;
|
||||
assert_screen("eog_fullscreen_on");
|
||||
|
||||
# Return to normal mode
|
||||
send_key("f11");
|
||||
wait_still_screen 2;
|
||||
assert_screen("eog_image_default");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,28 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can show help.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
sleep 2;
|
||||
|
||||
# Open the shortcuts
|
||||
send_key("f1");
|
||||
wait_still_screen(3);
|
||||
assert_screen("eog_help_shown");
|
||||
# Try another screen
|
||||
assert_and_click("eog_help_image_zoom");
|
||||
wait_still_screen(2);
|
||||
assert_screen("eog_help_zoom_shown");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,36 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can put an image as a wallpaper.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
sleep 2;
|
||||
|
||||
# Go to the menu
|
||||
assert_and_click("gnome_burger_menu");
|
||||
# Set as background
|
||||
assert_and_click("eog_set_wallpaper");
|
||||
wait_still_screen(3);
|
||||
# Check that the dialogue has appeared
|
||||
assert_screen("eog_wallpaper_set_window");
|
||||
# Confirm
|
||||
send_key("tab");
|
||||
send_key("ret");
|
||||
# Close the application
|
||||
send_key("ctrl-q");
|
||||
wait_still_screen(3);
|
||||
# Check that the wallpaper was set
|
||||
assert_screen("eog_image_background");
|
||||
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,27 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can rotate the displayed picture.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
|
||||
# Rotate left
|
||||
send_key("shift-ctrl-r");
|
||||
wait_still_screen(2);
|
||||
assert_screen("eog_image_rotated_left");
|
||||
# Rotate right
|
||||
send_key("ctrl-r");
|
||||
wait_still_screen(2);
|
||||
assert_and_click("eog_image_default");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,39 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can save the image as a different file.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
sleep 2;
|
||||
assert_screen("eog_image_default");
|
||||
|
||||
# Shift-ctrl-S to save a file as a new file.
|
||||
send_key("shift-ctrl-s");
|
||||
wait_still_screen(3);
|
||||
|
||||
# Type the new name, this should be possible without any intervention.
|
||||
type_very_safely("new_image");
|
||||
# Hit enter to confirm
|
||||
send_key("ret");
|
||||
wait_still_screen("2");
|
||||
|
||||
# Go to console
|
||||
$self->root_console(tty => 3);
|
||||
|
||||
# List the location
|
||||
assert_script_run("ls /home/test/Pictures/");
|
||||
|
||||
# Compare the files
|
||||
assert_script_run("diff /home/test/Pictures/leaves.jpg /home/test/Pictures/new_image.jpg");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,29 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can show the shortcuts.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
sleep 2;
|
||||
|
||||
# Open the shortcuts
|
||||
send_key("ctrl-?");
|
||||
wait_still_screen(3);
|
||||
assert_screen("eog_shortcuts_shown");
|
||||
# Try another screen
|
||||
send_key("right");
|
||||
send_key("ret");
|
||||
wait_still_screen(3);
|
||||
assert_screen("eog_shortcuts_alt_shown");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,36 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can show the image gallery.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
sleep 2;
|
||||
|
||||
# Show the image gallery.
|
||||
send_key("ctrl-f9");
|
||||
unless (check_screen("eog_gallery_shown")) {
|
||||
record_soft_failure("Key combo does not work, issue https://gitlab.gnome.org/GNOME/gtk/-/issues/4171");
|
||||
# Open the menu
|
||||
assert_and_click("gnome_burger_menu");
|
||||
wait_still_screen(2);
|
||||
# Open Submenu Show
|
||||
assert_and_click("eog_submenu_show");
|
||||
wait_still_screen(2);
|
||||
# Toggle gallery
|
||||
assert_and_click("eog_gallery_show");
|
||||
wait_still_screen(2);
|
||||
|
||||
}
|
||||
assert_screen("eog_gallery_shown");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,27 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This part tests if the application can change the zoom for the displayed picture.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
sleep 2;
|
||||
|
||||
# Make the image size 1:1
|
||||
send_key("1");
|
||||
wait_still_screen(2);
|
||||
assert_screen("eog_image_shown_increased");
|
||||
# Return to the best fit
|
||||
send_key("f");
|
||||
assert_and_click("eog_image_default");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {always_rollback => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|