1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

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>
This commit is contained in:
Adam Williamson 2023-08-23 09:07:06 -07:00
parent 217deee061
commit d000a96fc6
70 changed files with 0 additions and 841 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 102,
"ypos": 140,
"height": 20,
"xpos": 459,
"type": "match"
}
],
"properties": [],
"tags": [
"apps_run_imageviewer"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 94,
"xpos": 444,
"ypos": 340,
"width": 135
}
],
"properties": [],
"tags": [
"eog_about_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 94,
"type": "match",
"width": 135,
"xpos": 444,
"ypos": 340
}
],
"properties": [],
"tags": [
"eog_about_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 57,
"xpos": 460,
"ypos": 411,
"width": 149
}
],
"properties": [],
"tags": [
"eog_credits_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 464,
"ypos": 413,
"width": 149,
"height": 57,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_credits_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 15,
"width": 71,
"xpos": 188,
"ypos": 182
}
],
"properties": [],
"tags": [
"eog_file_select_jpg"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 863,
"ypos": 11,
"width": 153,
"height": 65,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_fullscreen_on"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 862,
"ypos": 165,
"width": 98,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_gallery_show"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 103,
"ypos": 685,
"width": 133,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_gallery_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 676 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 518,
"ypos": 454,
"width": 53,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_help_image_zoom"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"eog_help_shown"
],
"area": [
{
"xpos": 39,
"ypos": 106,
"width": 267,
"height": 45,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 3,
"ypos": 125,
"width": 107,
"height": 38,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_help_zoom_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 14,
"ypos": 6,
"type": "match",
"width": 71,
"height": 91
}
],
"properties": [],
"tags": [
"eog_image_background"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 470,
"xpos": 521,
"width": 183,
"height": 117,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_image_default"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 95,
"width": 155,
"xpos": 408,
"ypos": 355
}
],
"properties": [],
"tags": [
"eog_image_next"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 414,
"ypos": 279,
"width": 145,
"height": 98,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_image_rotated_left"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 43,
"type": "match",
"height": 24,
"xpos": 61,
"width": 72
}
],
"properties": [],
"tags": [
"eog_image_shown_increased"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 820 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"width": 205,
"height": 285,
"xpos": 819,
"ypos": 91
}
],
"properties": [],
"tags": [
"eog_img_info"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 490,
"width": 138,
"type": "match",
"height": 14,
"xpos": 856
}
],
"properties": [],
"tags": [
"eog_menu_about"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 863,
"ypos": 464,
"width": 82,
"height": 14,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_menu_about"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 644 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 75,
"height": 21,
"type": "match",
"ypos": 47,
"xpos": 475
}
],
"properties": [],
"tags": [
"eog_picture_name"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 862,
"ypos": 253,
"width": 114,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_set_wallpaper"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 644 KiB

View File

@ -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"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

View File

@ -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"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 162,
"height": 22,
"type": "match",
"ypos": 93,
"xpos": 797
}
],
"properties": [],
"tags": [
"eog_side_panel"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 860,
"ypos": 350,
"width": 43,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_submenu_show"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 898 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 264,
"width": 111,
"height": 20,
"type": "match",
"xpos": 456
}
],
"properties": [],
"tags": [
"eog_wallpaper_set_window"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 20,
"ypos": 264,
"width": 111,
"type": "match",
"xpos": 456
}
],
"properties": [],
"tags": [
"eog_wallpaper_set_window"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 289,
"ypos": 90,
"width": 188,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"eog_wallpaper_set_window"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 674 KiB

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: