d19cf95
@@ -826,6 +826,9 @@
wait_still_screen 5;
}
# Click on the launcher
+ if (!check_screen($launcher)) {
+ send_key_until_needlematch($launcher, 'down', 5, 6);
+ }
assert_and_click $launcher;
@@ -0,0 +1,15 @@
+ {
+ "properties": [],
+ "tags": [
+ "apps_boxes_tutorial"
+ ],
+ "area": [
+ "xpos": 447,
+ "ypos": 131,
+ "width": 130,
+ "height": 17,
+ "type": "match"
+ ]
\ No newline at end of file
@@ -1,16 +1,15 @@
{
"properties": [],
"tags": [
- "apps_run_ldraw",
- "libreoffice_any"
+ "apps_menu_abrt"
],
"area": [
- "xpos": 490,
- "ypos": 33,
- "width": 122,
- "height": 25,
+ "xpos": 779,
+ "ypos": 651,
+ "width": 30,
+ "height": 44,
"type": "match"
]
- }
- {
- "area": [
- "type": "match",
- "ypos": 33
- ],
- "properties": [],
- "tags": [
- ]
+ "apps_menu_archiver"
+ "xpos": 203,
+ "ypos": 282,
+ "width": 49,
+ "height": 53,
+ "apps_menu_boxes"
+ "xpos": 213,
+ "ypos": 165,
+ "width": 51,
+ "height": 52,
+ "apps_menu_calculator"
+ "xpos": 390,
+ "ypos": 296,
+ "width": 54,
+ "height": 40,
+ "apps_menu_calendar"
+ "xpos": 355,
+ "ypos": 182,
+ "width": 41,
+ "height": 31,
+ "apps_menu_chars"
+ "xpos": 578,
+ "ypos": 285,
+ "height": 50,
+ "apps_menu_cheese"
+ "xpos": 492,
+ "ypos": 174,
+ "height": 34,
+ "apps_menu_clocks"
+ "xpos": 632,
+ "ypos": 177,
+ "width": 36,
+ "height": 33,
+ "apps_menu_contacts"
+ "xpos": 767,
+ "ypos": 171,
+ "width": 39,
+ "height": 38,
+ "apps_menu_disks"
+ "ypos": 475,
+ "width": 50,
+ "height": 47,
+ "apps_menu_diskusage"
+ "xpos": 769,
+ "ypos": 288,
+ "width": 45,
+ "height": 42,
+ "apps_menu_dviewer"
+ "xpos": 577,
+ "ypos": 476,
+ "width": 47,
+ "apps_menu_files"
+ "xpos": 223,
+ "ypos": 306,
+ "width": 31,
+ "height": 43,
@@ -1,14 +1,14 @@
- "apps_menu_ldraw"
+ "apps_menu_firefox"
- "xpos": 488,
- "ypos": 451,
+ "xpos": 351,
+ "ypos": 320,
"width": 48,
- "height": 46,
+ "height": 26,
+ "apps_menu_fonts"
+ "xpos": 772,
+ "ypos": 473,
+ "height": 46,
+ "apps_menu_help"
+ "xpos": 200,
+ "ypos": 656,
+ "width": 55,
+ "height": 35,
+ "apps_menu_imageviewer"
+ "xpos": 386,
+ "ypos": 655,
+ "width": 59,
+ "height": 37,
- "xpos": 491,
- "width": 119
+ "apps_menu_lcalc"
+ "xpos": 491,
+ "ypos": 323,
+ "apps_menu_limpress"
+ "xpos": 629,
+ "height": 36,
+ "apps_menu_logs"
+ "xpos": 574,
+ "width": 60,
+ "height": 28,
+ "apps_menu_lwriter"
+ "xpos": 219,
+ "ypos": 462,
+ "width": 40,
+ "apps_menu_maps"
+ "xpos": 348,
+ "ypos": 455,
+ "height": 27,
+ "apps_menu_monitor"
+ "xpos": 392,
+ "ypos": 580,
+ "width": 44,
+ "apps_menu_photos"
+ "xpos": 489,
+ "ypos": 449,
+ "width": 46,
+ "apps_menu_rhythmbox"
+ "xpos": 630,
+ "ypos": 443,
+ "apps_menu_scan"
+ "xpos": 388,
+ "height": 48,
+ "apps_menu_screenshot"
+ "ypos": 582,
+ "height": 32,
+ "apps_menu_settings"
+ "xpos": 756,
+ "ypos": 446,
+ "width": 61,
+ "apps_menu_software"
+ "xpos": 218,
+ "ypos": 587,
+ "apps_menu_terminal"
+ "ypos": 567,
+ "apps_menu_texteditor"
+ "xpos": 357,
+ "ypos": 589,
+ "apps_menu_utilities"
+ "xpos": 486,
+ "ypos": 584,
+ "apps_menu_videos"
+ "xpos": 627,
+ "height": 39,
+ "apps_menu_weather"
+ "xpos": 765,
+ "ypos": 583,
+ "apps_run_clocks"
+ "xpos": 552,
+ "ypos": 40,
+ "width": 72,
+ "height": 23,
+ "apps_run_terminal"
+ "xpos": 129,
+ "ypos": 4,
+ "width": 83,
+ "height": 22,
+ "apps_utilities"
+ "xpos": 463,
+ "ypos": 154,
+ "width": 100,
@@ -13,14 +13,18 @@
# handling 'auth required' screen appearing as a soft fail,
# check that is started
# 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') {
record_soft_failure "Firewall authentication screen appeared - RHBZ #1692972";
my $user_password = get_var("USER_PASSWORD") || "weakpassword";
type_very_safely $user_password;
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("gnome-boxes");
# Close the application
@@ -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:
@@ -9,7 +9,7 @@
my $self = shift;
# Start the application
- start_with_launcher('apps_menu_scan');
+ start_with_launcher('apps_menu_scan', 'apps_menu_utilities');
# Check that is started
assert_screen 'apps_run_scan';
New needles created for all menu applications, light tweaks done in tests.
Fixes #147
Metadata Update from @lruzicka: - Request assigned
Metadata Update from @lruzicka: - Request assignee reset
Metadata Update from @lruzicka: - Pull-request tagged with: improvetest
Metadata Update from @lruzicka: - Pull-request untagged with: improvetest - Pull-request tagged with: easyfix
Build succeeded.
Pull-Request has been merged by adamwill
New needles created for all menu applications, light tweaks done in tests.