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

Reneedle the Gnome Application StartStop tests.

This commit is contained in:
Lukáš Růžička 2020-03-17 13:07:52 +01:00
parent 2d86c6284e
commit d19cf9553e
87 changed files with 569 additions and 84 deletions

View File

@ -826,6 +826,9 @@ sub start_with_launcher {
wait_still_screen 5; wait_still_screen 5;
} }
# Click on the launcher # Click on the launcher
if (!check_screen($launcher)) {
send_key_until_needlematch($launcher, 'down', 5, 6);
}
assert_and_click $launcher; assert_and_click $launcher;
wait_still_screen 5; wait_still_screen 5;
} }

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_boxes_tutorial"
],
"area": [
{
"xpos": 447,
"ypos": 131,
"width": 130,
"height": 17,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_abrt"
],
"area": [
{
"xpos": 779,
"ypos": 651,
"width": 30,
"height": 44,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_archiver"
],
"area": [
{
"xpos": 203,
"ypos": 282,
"width": 49,
"height": 53,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_boxes"
],
"area": [
{
"xpos": 213,
"ypos": 165,
"width": 51,
"height": 52,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_calculator"
],
"area": [
{
"xpos": 390,
"ypos": 296,
"width": 54,
"height": 40,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_calendar"
],
"area": [
{
"xpos": 355,
"ypos": 182,
"width": 41,
"height": 31,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_chars"
],
"area": [
{
"xpos": 578,
"ypos": 285,
"width": 54,
"height": 50,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_cheese"
],
"area": [
{
"xpos": 492,
"ypos": 174,
"width": 41,
"height": 34,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_clocks"
],
"area": [
{
"xpos": 632,
"ypos": 177,
"width": 36,
"height": 33,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_contacts"
],
"area": [
{
"xpos": 767,
"ypos": 171,
"width": 39,
"height": 38,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_diskusage"
],
"area": [
{
"xpos": 769,
"ypos": 288,
"width": 45,
"height": 42,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_dviewer"
],
"area": [
{
"xpos": 577,
"ypos": 476,
"width": 47,
"height": 52,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_files"
],
"area": [
{
"xpos": 223,
"ypos": 306,
"width": 31,
"height": 43,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_firefox"
],
"area": [
{
"xpos": 351,
"ypos": 320,
"width": 48,
"height": 26,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -1,13 +1,13 @@
{ {
"properties": [], "properties": [],
"tags": [ "tags": [
"apps_menu_ldraw" "apps_menu_fonts"
], ],
"area": [ "area": [
{ {
"xpos": 488, "xpos": 772,
"ypos": 451, "ypos": 473,
"width": 48, "width": 45,
"height": 46, "height": 46,
"type": "match" "type": "match"
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_help"
],
"area": [
{
"xpos": 200,
"ypos": 656,
"width": 55,
"height": 35,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_imageviewer"
],
"area": [
{
"xpos": 386,
"ypos": 655,
"width": 59,
"height": 37,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_lcalc"
],
"area": [
{
"xpos": 491,
"ypos": 323,
"width": 39,
"height": 35,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 403 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_limpress"
],
"area": [
{
"xpos": 629,
"ypos": 320,
"width": 41,
"height": 36,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_logs"
],
"area": [
{
"xpos": 574,
"ypos": 656,
"width": 60,
"height": 28,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_lwriter"
],
"area": [
{
"xpos": 219,
"ypos": 462,
"width": 40,
"height": 31,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_maps"
],
"area": [
{
"xpos": 348,
"ypos": 455,
"width": 45,
"height": 27,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_monitor"
],
"area": [
{
"xpos": 392,
"ypos": 580,
"width": 44,
"height": 38,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_photos"
],
"area": [
{
"xpos": 489,
"ypos": 449,
"width": 46,
"height": 37,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_rhythmbox"
],
"area": [
{
"xpos": 630,
"ypos": 443,
"width": 39,
"height": 37,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_scan"
],
"area": [
{
"xpos": 388,
"ypos": 475,
"width": 59,
"height": 48,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_screenshot"
],
"area": [
{
"xpos": 203,
"ypos": 582,
"width": 51,
"height": 32,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_software"
],
"area": [
{
"xpos": 218,
"ypos": 587,
"width": 40,
"height": 35,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_terminal"
],
"area": [
{
"xpos": 574,
"ypos": 567,
"width": 59,
"height": 38,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_texteditor"
],
"area": [
{
"xpos": 357,
"ypos": 589,
"width": 36,
"height": 38,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_utilities"
],
"area": [
{
"xpos": 486,
"ypos": 584,
"width": 51,
"height": 40,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_videos"
],
"area": [
{
"xpos": 627,
"ypos": 584,
"width": 50,
"height": 39,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_menu_weather"
],
"area": [
{
"xpos": 765,
"ypos": 583,
"width": 44,
"height": 42,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_run_clocks"
],
"area": [
{
"xpos": 552,
"ypos": 40,
"width": 72,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 490,
"height": 25,
"width": 122,
"type": "match",
"ypos": 33
}
],
"properties": [],
"tags": [
"apps_run_ldraw",
"libreoffice_any"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 491,
"height": 25,
"type": "match",
"ypos": 33,
"width": 119
}
],
"properties": [],
"tags": [
"apps_run_ldraw",
"libreoffice_any"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

View File

@ -1,16 +0,0 @@
{
"properties": [],
"tags": [
"apps_run_ldraw",
"libreoffice_any"
],
"area": [
{
"xpos": 490,
"ypos": 33,
"width": 122,
"height": 25,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_run_terminal"
],
"area": [
{
"xpos": 129,
"ypos": 4,
"width": 83,
"height": 22,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"apps_utilities"
],
"area": [
{
"xpos": 463,
"ypos": 154,
"width": 100,
"height": 37,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@ -13,14 +13,18 @@ sub run {
# handling 'auth required' screen appearing as a soft fail, # handling 'auth required' screen appearing as a soft fail,
# check that is started # check that is started
# https://bugzilla.redhat.com/show_bug.cgi?id=1692972 # https://bugzilla.redhat.com/show_bug.cgi?id=1692972
assert_screen ['apps_run_boxes', 'auth_required']; assert_screen ['apps_boxes_tutorial', 'auth_required'];
if (match_has_tag 'auth_required') { if (match_has_tag 'auth_required') {
record_soft_failure "Firewall authentication screen appeared - RHBZ #1692972"; record_soft_failure "Firewall authentication screen appeared - RHBZ #1692972";
my $user_password = get_var("USER_PASSWORD") || "weakpassword"; my $user_password = get_var("USER_PASSWORD") || "weakpassword";
type_very_safely $user_password; type_very_safely $user_password;
send_key 'ret'; send_key 'ret';
assert_screen 'apps_run_boxes'; assert_screen 'apps_boxes_tutorial';
} }
# Let us get rid of the Tutorial window.
send_key 'esc';
assert_screen 'apps_run_boxes';
# Register application # Register application
register_application("gnome-boxes"); register_application("gnome-boxes");
# Close the application # Close the application

View File

@ -1,29 +0,0 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that LibreOffice Draw starts.
sub run {
my $self = shift;
# Start the application
start_with_launcher('apps_menu_ldraw');
# Dismiss 'tip of the day' if necessary
lo_dismiss_tip;
# Check that is started
assert_screen 'apps_run_ldraw';
# Register application
register_application("libreoffice-draw");
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et:

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift; my $self = shift;
# Start the application # Start the application
start_with_launcher('apps_menu_scan'); start_with_launcher('apps_menu_scan', 'apps_menu_utilities');
# Check that is started # Check that is started
assert_screen 'apps_run_scan'; assert_screen 'apps_run_scan';
# Register application # Register application