#86 Create tests to start and stop graphical applications.
Merged 5 years ago by adamwill. Opened 5 years ago by lruzicka.

file modified
+45 -1
@@ -7,7 +7,7 @@ 

  

  use lockapi;

  use testapi;

- our @EXPORT = qw/run_with_error_check type_safely type_very_safely desktop_vt boot_to_login_screen console_login console_switch_layout desktop_switch_layout console_loadkeys_us do_bootloader boot_decrypt check_release menu_launch_type start_cockpit repo_setup gnome_initial_setup anaconda_create_user check_desktop_clean download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages/;

+ our @EXPORT = qw/run_with_error_check type_safely type_very_safely desktop_vt boot_to_login_screen console_login console_switch_layout desktop_switch_layout console_loadkeys_us do_bootloader boot_decrypt check_release menu_launch_type start_cockpit repo_setup gnome_initial_setup anaconda_create_user check_desktop_clean download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut/;

  

  sub run_with_error_check {

      my ($func, $error_screen) = @_;
@@ -645,6 +645,50 @@ 

      console_login(user=>'root');

  }

  

+ sub start_with_launcher {

+ # Get the name of the needle with a launcher, find the launcher in the menu

+ # and click on it to start the application.

+ 

+     # $launcher holds the launcher needle, but some of the apps are hidden in a submenu

+     # so this must be handled first to find the launcher needle.

+  

+     my ($launcher,$submenu) = @_;

+     $submenu //= '';

+     

+     my $screen_to_check = $submenu || $launcher;

+ 

+     # Start the Activities page

+     send_key 'alt-f1';

+     wait_still_screen 5;

+ 

+     # Click on the menu icon to come into the menus

+     assert_and_click 'apps_activities';

+     wait_still_screen 5;

+ 

+     # Find the application launcher in the current menu page. 

+     # If it cannot be found there, hit PageDown to go to another page.

+ 

+     send_key_until_needlematch($screen_to_check, 'pgdn', 5, 3);

+ 

+     # If there was a submenu, click on that first.

+     if ($submenu) {

+         assert_and_click $submenu;

+         wait_still_screen 5;

+     }

+     # Click on the launcher

+     assert_and_click $launcher;

+     wait_still_screen 5;

+ 

+ }

+ 

+ sub quit_with_shortcut {

+ # Quit the application using the Alt-F4 keyboard shortcut

+     send_key 'alt-f4';

+     wait_still_screen 5;

+     assert_screen 'workspace';

+ 

+ }

+ 

  sub advisory_get_installed_packages {

      # For update tests (this only works if we've been through

      # _repo_setup_updates), figure out which packages from the update

file modified
+19
@@ -18,6 +18,7 @@ 

  use testapi;

  use autotest;

  use needle;

+ use File::Basename;

  

  # distribution-specific implementations of expected methods

  my $distri = testapi::get_var("CASEDIR") . '/lib/fedoradistribution.pm';
@@ -323,6 +324,8 @@ 

      if (get_var("STORE_HDD_1") || get_var("PUBLISH_HDD_1")) {

          autotest::loadtest "tests/_console_shutdown.pm";

      }

+     

+ 

  }

  

  ## LOADING STARTS HERE
@@ -350,6 +353,22 @@ 

      load_postinstall_tests;

  }

  

+ # load application start-stop tests 

+ if (get_var("STARTSTOP")) {

+     my $desktop = get_var('DESKTOP');

+     my $casedir = get_var('CASEDIR');

+     # Find all tests from a directory defined by the DESKTOP variable

+     my @apptests = glob "${casedir}/tests/apps_startstop/${desktop}/*.pm";

+ 

+     # Load the terminal test extra, because it must run first for settings.

+     autotest::loadtest "tests/apps_startstop/${desktop}/terminal.pm";

+ 

+     # Load all desktop tests

+     foreach my $filepath (@apptests) {

+ 	    my $file = basename($filepath);

+         autotest::loadtest "tests/apps_startstop/${desktop}/${file}";

+     }

+ }

  1;

  

  # vim: set sw=4 et:

@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_cheese"

+   ],

+   "area": [

+     {

+       "xpos": 116,

+       "ypos": 5,

+       "width": 52,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_activities"

+   ],

+   "area": [

+     {

+       "xpos": 22,

+       "ypos": 612,

+       "width": 52,

+       "height": 54,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_abrt"

+   ],

+   "area": [

+     {

+       "xpos": 219,

+       "ypos": 304,

+       "width": 30,

+       "height": 43,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_archiver"

+   ],

+   "area": [

+     {

+       "xpos": 207,

+       "ypos": 325,

+       "width": 42,

+       "height": 30,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_boxes"

+   ],

+   "area": [

+     {

+       "xpos": 210,

+       "ypos": 161,

+       "width": 47,

+       "height": 44,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "ypos": 158,

+       "type": "match",

+       "width": 52,

+       "height": 54,

+       "xpos": 207

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_boxes"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_calculator"

+   ],

+   "area": [

+     {

+       "xpos": 347,

+       "ypos": 162,

+       "width": 51,

+       "height": 48,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_calendar"

+   ],

+   "area": [

+     {

+       "xpos": 492,

+       "ypos": 167,

+       "width": 40,

+       "height": 38,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_chars"

+   ],

+   "area": [

+     {

+       "xpos": 365,

+       "ypos": 325,

+       "width": 20,

+       "height": 31,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_cheese"

+   ],

+   "area": [

+     {

+       "xpos": 622,

+       "ypos": 156,

+       "width": 44,

+       "height": 51,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_clocks"

+   ],

+   "area": [

+     {

+       "xpos": 770,

+       "ypos": 167,

+       "width": 40,

+       "height": 35,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "type": "match",

+       "width": 45,

+       "height": 49,

+       "xpos": 766,

+       "ypos": 159

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_clocks"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_contacts"

+   ],

+   "area": [

+     {

+       "xpos": 218,

+       "ypos": 305,

+       "width": 36,

+       "height": 38,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_disks"

+   ],

+   "area": [

+     {

+       "xpos": 632,

+       "ypos": 315,

+       "width": 39,

+       "height": 24,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "xpos": 631,

+       "ypos": 305,

+       "width": 40,

+       "height": 51,

+       "type": "match"

+     }

+   ],

+   "tags": [

+     "apps_menu_disks"

+   ],

+   "properties": []

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_diskusage"

+   ],

+   "area": [

+     {

+       "xpos": 485,

+       "ypos": 317,

+       "width": 52,

+       "height": 29,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_documents"

+   ],

+   "area": [

+     {

+       "xpos": 491,

+       "ypos": 298,

+       "width": 36,

+       "height": 47,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_dviewer"

+   ],

+   "area": [

+     {

+       "xpos": 349,

+       "ypos": 303,

+       "width": 44,

+       "height": 39,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_evolution"

+   ],

+   "area": [

+     {

+       "xpos": 621,

+       "ypos": 313,

+       "width": 47,

+       "height": 33,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_files"

+   ],

+   "area": [

+     {

+       "xpos": 771,

+       "ypos": 303,

+       "width": 36,

+       "height": 48,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_firefox"

+   ],

+   "area": [

+     {

+       "xpos": 213,

+       "ypos": 443,

+       "width": 41,

+       "height": 45,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_fonts"

+   ],

+   "area": [

+     {

+       "xpos": 765,

+       "ypos": 303,

+       "width": 53,

+       "height": 54,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_help"

+   ],

+   "area": [

+     {

+       "xpos": 212,

+       "ypos": 450,

+       "width": 44,

+       "height": 39,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_imageviewer"

+   ],

+   "area": [

+     {

+       "xpos": 349,

+       "ypos": 445,

+       "width": 35,

+       "height": 36,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_lcalc"

+   ],

+   "area": [

+     {

+       "xpos": 348,

+       "ypos": 456,

+       "width": 48,

+       "height": 40,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_ldraw"

+   ],

+   "area": [

+     {

+       "xpos": 488,

+       "ypos": 451,

+       "width": 48,

+       "height": 46,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_limpress"

+   ],

+   "area": [

+     {

+       "xpos": 628,

+       "ypos": 453,

+       "width": 46,

+       "height": 40,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_logs"

+   ],

+   "area": [

+     {

+       "xpos": 495,

+       "ypos": 443,

+       "width": 43,

+       "height": 45,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "type": "match",

+       "height": 45,

+       "xpos": 483,

+       "ypos": 442,

+       "width": 43

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_logs"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_lwriter"

+   ],

+   "area": [

+     {

+       "xpos": 766,

+       "ypos": 455,

+       "width": 47,

+       "height": 38,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_maps"

+   ],

+   "area": [

+     {

+       "xpos": 217,

+       "ypos": 575,

+       "width": 33,

+       "height": 48,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "tags": [

+     "apps_menu_maps"

+   ],

+   "properties": [],

+   "area": [

+     {

+       "xpos": 761,

+       "ypos": 446,

+       "width": 58,

+       "height": 37,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_monitor"

+   ],

+   "area": [

+     {

+       "xpos": 763,

+       "ypos": 449,

+       "width": 54,

+       "height": 46,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_photos"

+   ],

+   "area": [

+     {

+       "xpos": 344,

+       "ypos": 583,

+       "width": 53,

+       "height": 37,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "tags": [

+     "apps_menu_photos"

+   ],

+   "properties": [],

+   "area": [

+     {

+       "xpos": 203,

+       "ypos": 590,

+       "width": 58,

+       "height": 37,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_rhythmbox"

+   ],

+   "area": [

+     {

+       "xpos": 488,

+       "ypos": 576,

+       "width": 47,

+       "height": 59,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_scan"

+   ],

+   "area": [

+     {

+       "xpos": 765,

+       "ypos": 575,

+       "width": 45,

+       "height": 50,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_screenshot"

+   ],

+   "area": [

+     {

+       "xpos": 632,

+       "ypos": 446,

+       "width": 40,

+       "height": 44,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_settings"

+   ],

+   "area": [

+     {

+       "xpos": 634,

+       "ypos": 583,

+       "width": 37,

+       "height": 37,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_software"

+   ],

+   "area": [

+     {

+       "xpos": 213,

+       "ypos": 173,

+       "width": 41,

+       "height": 35,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "tags": [

+     "apps_menu_software"

+   ],

+   "properties": [],

+   "area": [

+     {

+       "xpos": 770,

+       "ypos": 588,

+       "width": 38,

+       "height": 30,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_sundry"

+   ],

+   "area": [

+     {

+       "xpos": 350,

+       "ypos": 160,

+       "width": 12,

+       "height": 18,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_terminal"

+   ],

+   "area": [

+     {

+       "xpos": 209,

+       "ypos": 591,

+       "width": 45,

+       "height": 32,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_terminal"

+   ],

+   "area": [

+     {

+       "xpos": 207,

+       "height": 32,

+       "width": 45,

+       "type": "match",

+       "ypos": 588

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_texteditor"

+   ],

+   "area": [

+     {

+       "xpos": 490,

+       "ypos": 170,

+       "width": 37,

+       "height": 42,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_utilities"

+   ],

+   "area": [

+     {

+       "xpos": 615,

+       "ypos": 156,

+       "width": 77,

+       "height": 88,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "ypos": 155,

+       "width": 77,

+       "type": "match",

+       "height": 88,

+       "xpos": 475

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_utilities"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "type": "match",

+       "xpos": 614,

+       "height": 88,

+       "ypos": 153,

+       "width": 77

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_utilities"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_videos"

+   ],

+   "area": [

+     {

+       "xpos": 764,

+       "ypos": 157,

+       "width": 54,

+       "height": 60,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_menu_weather"

+   ],

+   "area": [

+     {

+       "xpos": 214,

+       "ypos": 309,

+       "width": 28,

+       "height": 32,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_abrt"

+   ],

+   "area": [

+     {

+       "xpos": 447,

+       "ypos": 41,

+       "width": 133,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_access"

+   ],

+   "area": [

+     {

+       "xpos": 603,

+       "ypos": 456,

+       "width": 98,

+       "height": 25,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_archiver"

+   ],

+   "area": [

+     {

+       "xpos": 117,

+       "ypos": 4,

+       "width": 117,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_boxes"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 5,

+       "width": 47,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_calculator"

+   ],

+   "area": [

+     {

+       "xpos": 117,

+       "ypos": 4,

+       "width": 72,

+       "height": 22,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_calendar"

+   ],

+   "area": [

+     {

+       "xpos": 114,

+       "ypos": 5,

+       "width": 66,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_chars"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 5,

+       "width": 79,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "height": 17,

+       "xpos": 115,

+       "ypos": 5,

+       "width": 49,

+       "type": "match"

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_run_clocks"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_clocks_access"

+   ],

+   "area": [

+     {

+       "xpos": 602,

+       "ypos": 478,

+       "width": 105,

+       "height": 21,

+       "type": "ocr"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_contacts"

+   ],

+   "area": [

+     {

+       "xpos": 117,

+       "ypos": 5,

+       "width": 112,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_disks"

+   ],

+   "area": [

+     {

+       "xpos": 116,

+       "ypos": 4,

+       "width": 42,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_diskusage"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 6,

+       "width": 80,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_documents"

+   ],

+   "area": [

+     {

+       "xpos": 114,

+       "ypos": 5,

+       "width": 83,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_dviewer"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 5,

+       "width": 127,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_evolution"

+   ],

+   "area": [

+     {

+       "xpos": 402,

+       "ypos": 87,

+       "width": 68,

+       "height": 18,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_evolution_warning"

+   ],

+   "area": [

+     {

+       "xpos": 688,

+       "ypos": 644,

+       "width": 32,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_evolution_welcome"

+   ],

+   "area": [

+     {

+       "xpos": 856,

+       "ypos": 723,

+       "width": 56,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "ypos": 723,

+       "xpos": 856,

+       "height": 23,

+       "type": "match",

+       "width": 56

+     }

+   ],

+   "tags": [

+     "apps_run_evolution_welcome"

+   ],

+   "properties": []

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_files"

+   ],

+   "area": [

+     {

+       "xpos": 116,

+       "ypos": 6,

+       "width": 37,

+       "height": 17,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_firefox"

+   ],

+   "area": [

+     {

+       "xpos": 460,

+       "ypos": 36,

+       "width": 108,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_firefox_stop"

+   ],

+   "area": [

+     {

+       "xpos": 662,

+       "ypos": 451,

+       "width": 75,

+       "height": 18,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_fonts"

+   ],

+   "area": [

+     {

+       "xpos": 480,

+       "ypos": 72,

+       "width": 66,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_help"

+   ],

+   "area": [

+     {

+       "xpos": 116,

+       "ypos": 5,

+       "width": 35,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_imageviewer"

+   ],

+   "area": [

+     {

+       "xpos": 116,

+       "ypos": 5,

+       "width": 96,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_lcalc"

+   ],

+   "area": [

+     {

+       "xpos": 495,

+       "ypos": 36,

+       "width": 115,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_ldraw"

+   ],

+   "area": [

+     {

+       "xpos": 490,

+       "ypos": 33,

+       "width": 122,

+       "height": 25,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_limpress"

+   ],

+   "area": [

+     {

+       "xpos": 481,

+       "ypos": 33,

+       "width": 142,

+       "height": 25,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_limpress_start"

+   ],

+   "area": [

+     {

+       "xpos": 833,

+       "ypos": 679,

+       "width": 49,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_logs"

+   ],

+   "area": [

+     {

+       "xpos": 117,

+       "ypos": 5,

+       "width": 35,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_lwriter"

+   ],

+   "area": [

+     {

+       "xpos": 486,

+       "ypos": 35,

+       "width": 133,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_maps"

+   ],

+   "area": [

+     {

+       "xpos": 114,

+       "ypos": 5,

+       "width": 44,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "xpos": 117,

+       "ypos": 3,

+       "width": 107,

+       "height": 24,

+       "type": "match"

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_run_monitor"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_nautilus"

+   ],

+   "area": [

+     {

+       "xpos": 116,

+       "ypos": 6,

+       "width": 37,

+       "height": 17,

+       "type": "ocr"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_photos"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 4,

+       "width": 51,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_rhythmbox"

+   ],

+   "area": [

+     {

+       "xpos": 469,

+       "ypos": 82,

+       "width": 85,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_scan"

+   ],

+   "area": [

+     {

+       "xpos": 467,

+       "ypos": 137,

+       "width": 92,

+       "height": 22,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_screenshot"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 4,

+       "width": 82,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_settings"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 6,

+       "width": 62,

+       "height": 20,

+       "type": "ocr"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_software"

+   ],

+   "area": [

+     {

+       "xpos": 114,

+       "ypos": 4,

+       "width": 70,

+       "height": 22,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "xpos": 446,

+       "ypos": 554,

+       "width": 132,

+       "height": 23,

+       "type": "match"

+     }

+   ],

+   "tags": [

+     "apps_run_software_welcome"

+   ],

+   "properties": []

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_terminal"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 5,

+       "width": 66,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_texteditor"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 5,

+       "width": 81,

+       "height": 18,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_videos"

+   ],

+   "area": [

+     {

+       "xpos": 115,

+       "ypos": 5,

+       "width": 51,

+       "height": 20,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_weather"

+   ],

+   "area": [

+     {

+       "xpos": 114,

+       "ypos": 5,

+       "width": 66,

+       "height": 19,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_run_weather_access"

+   ],

+   "area": [

+     {

+       "xpos": 601,

+       "ypos": 474,

+       "width": 105,

+       "height": 27,

+       "type": "ocr"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_settings_black_select"

+   ],

+   "area": [

+     {

+       "xpos": 863,

+       "ypos": 149,

+       "width": 50,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_settings_black_visible"

+   ],

+   "area": [

+     {

+       "xpos": 716,

+       "ypos": 462,

+       "width": 142,

+       "height": 86,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_settings_choose_background"

+   ],

+   "area": [

+     {

+       "xpos": 419,

+       "ypos": 455,

+       "width": 105,

+       "height": 27,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_settings_choose_color"

+   ],

+   "area": [

+     {

+       "xpos": 616,

+       "ypos": 149,

+       "width": 47,

+       "height": 21,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_settings_menu_background"

+   ],

+   "area": [

+     {

+       "xpos": 39,

+       "ypos": 135,

+       "width": 88,

+       "height": 23,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,16 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_settings_screen_black",

+     "workspace"

+   ],

+   "area": [

+     {

+       "xpos": 382,

+       "ypos": 280,

+       "width": 238,

+       "height": 171,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_stop"

+   ],

+   "area": [

+     {

+       "xpos": 918,

+       "ypos": 81,

+       "width": 32,

+       "height": 32,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "properties": [],

+   "tags": [

+     "apps_sub_utilities"

+   ],

+   "area": [

+     {

+       "xpos": 616,

+       "ypos": 159,

+       "width": 71,

+       "height": 58,

+       "type": "match"

+     }

+   ]

+ } 

\ No newline at end of file

empty or binary file added
file modified
+21
@@ -580,6 +580,17 @@ 

                      },

                      {

                        machine    => { name => "64bit" },

+                       prio       => 40,

+                       product    => {

+                                       arch    => "x86_64",

+                                       distri  => "fedora",

+                                       flavor  => "Workstation-live-iso",

+                                       version => "*",

+                                     },

+                       test_suite => { name => "apps_startstop" },

+                     },

+                     {

+                       machine    => { name => "64bit" },

                        prio       => 32,

                        product    => {

                                        arch    => "x86_64",
@@ -5579,6 +5590,16 @@ 

                        ],

                      },

                      {

+                       name => "apps_startstop",

+                       settings => [

+                         { key => "DESKTOP", value => "gnome"},

+                         { key => "START_AFTER_TEST", value => "install_default_upload" },

+                         { key => "BOOTFROM", value => "c" },

+                         { key => "HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" },

+                         { key => "STARTSTOP", value => "true" },

+                       ],

+                     },

+                     {

                        name => "desktop_notifications_live",

                        settings => [

                          { key => "ENTRYPOINT", value => "desktop_notifications" },

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that ABRT starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_abrt', 'apps_menu_sundry');

+     # Check that it is started

+     assert_screen 'apps_run_abrt';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Archive Manager starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_archiver', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_archiver';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Boxes starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_boxes');

+     # Check that is started

+     assert_screen 'apps_run_boxes';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Calculator starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_calculator');

+     # Check that it is started

+     assert_screen 'apps_run_calculator';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,31 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Calendar starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_calendar');

+     

+     # give access to location if the vm asks for it

+     if (check_screen('apps_run_access', 1)) {

+         assert_and_click 'apps_run_access';

+     }

+     wait_still_screen 2;

+     assert_screen 'apps_run_calendar';

+     # close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Chars starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_chars', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_chars';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Cheese starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_cheese');

+     # Check that is started

+     assert_screen 'apps_run_cheese';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,28 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Clocks starts.

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_clocks');

+     # give access rights if asked

+     if (check_screen('apps_run_access', 1)) {

+         assert_and_click 'apps_run_access';

+     }

+     assert_screen 'apps_run_clocks';

+     # close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Contacts starts.

+ 

+ sub run {

+     my $self = shift;

+ 

+     # Start the application

+     start_with_launcher('apps_menu_contacts');

+     # Check that is started

+     assert_screen 'apps_run_contacts';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,24 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Disks starts.

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_disks', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_disks';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Disk Usage starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_diskusage', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_diskusage';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,24 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Document Viewer starts.

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_dviewer');

+     # Check that is started

+     assert_screen 'apps_run_dviewer';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,30 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Evolution starts.

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_evolution');

+     # get rid of the welcome screen

+     if ('apps_run_evolution_warning') {

+         assert_and_click 'apps_run_evolution_warning';

+     }

+     assert_and_click 'apps_run_evolution_welcome';

+     wait_still_screen 2;

+     # Check that is started

+     assert_screen 'apps_run_evolution';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This tests if Files starts 

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_files');

+     # Check that is started

+     assert_screen 'apps_run_files';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,31 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks whether Firefox starts when clicking the icon

+ # in the activity menu. It does not test any other functionality.

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_firefox');

+     # check that the applicatin is running

+     assert_screen 'apps_run_firefox';

+     # Close the application, but since Firefox needs special handling

+     # we are not using the common routine, but deal with this individually instead

+     send_key 'alt-f4';

+     # deal with warning screen

+     assert_and_click 'apps_run_firefox_stop';

+     wait_still_screen 2;

+     # check that the application has stopped

+     assert_screen 'workspace';

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Fonts starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_fonts', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_fonts';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,24 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Help starts.

+ 

+ sub run {

+     my $self = shift;

+     # Start the application

+     start_with_launcher('apps_menu_help', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_help';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Image Viewer starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_imageviewer', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_imageviewer';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that LibreOffice Calc starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_lcalc');

+     # Check that is started

+     assert_screen 'apps_run_lcalc';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ 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');

+     # Check that is started

+     assert_screen 'apps_run_ldraw';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that LibreOffice Impress starts.

+ 

+ sub run {

+     my $self = shift;

+ 

+     # Start the application

+     start_with_launcher('apps_menu_limpress');

+     # Check that is started

+     assert_and_click 'apps_run_limpress_start';

+     assert_screen 'apps_run_limpress';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Logs starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_logs', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_logs';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that LibreOffice Writer starts.

+ 

+ sub run {

+     my $self = shift;

+ 

+     # Start the application

+     start_with_launcher('apps_menu_lwriter');

+     # Check that is started

+     assert_screen 'apps_run_lwriter';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,30 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Maps starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_maps');

+     # Check that is started

+     # give access rights if asked

+     if (check_screen('apps_run_access', 1)) {

+         assert_and_click 'apps_run_access';

+     }

+     assert_screen 'apps_run_maps';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Monitor starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_monitor', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_monitor';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Photos starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_photos');

+     # Check that is started

+     assert_screen 'apps_run_photos';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Rhythmbox starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_rhythmbox');

+     # Check that is started

+     assert_screen 'apps_run_rhythmbox';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Simple Scan starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_scan');

+     # Check that is started

+     assert_screen 'apps_run_scan';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,26 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Screenshot starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_screenshot', 'apps_menu_utilities');

+     # Check that is started

+     assert_screen 'apps_run_screenshot';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,58 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test tests that Settings starts and the it can be used to

+ # change the desktop settings. 

+ # This test was originally used to set the virtual machine desktop

+ # to black to support other tests. This functionality has been taken

+ # by the Terminal test.

+ # You can put this test anywhere in the suite without any problems.

+ 

+ sub run {

+     my $self = shift;

+     # start the settings application

+     send_key 'alt-f1';

+     type_very_safely 'settings';

+     send_key 'ret';

+     

+     # select Background menu item

+     assert_and_click 'apps_settings_menu_background';

+     wait_still_screen 5;

+     assert_and_click 'apps_settings_choose_background';

+     wait_still_screen 5;

+     

+     # select the Background color menu and move down until black is found, then click it.

+     assert_and_click 'apps_settings_choose_color';

+     wait_still_screen 5;

+     my $black_visible = 0;

+     while ($black_visible == 0) {

+         send_key 'down';

+         if (check_screen('apps_settings_black_visible', 1)) {

+             $black_visible = 1;

+         }

+     }

+     assert_and_click 'apps_settings_black_visible';

+     wait_still_screen 5;

+ 

+     # confirm the selection

+     assert_and_click 'apps_settings_black_select';

+     wait_still_screen 5;

+ 

+     # close the application

+     send_key 'alt-f4';

+     wait_still_screen 5;

+ 

+     # check that the screen really is black

+     assert_screen 'workspace';

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,32 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Software starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_software');

+     

+     

+     # check if a welcome screen appears, if so, click on it

+     if (check_screen('apps_run_software_welcome', 1)) {

+         assert_and_click 'apps_run_software_welcome';

+         wait_still_screen 2;

+     }

+     assert_screen 'apps_run_software';

+     # Close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,41 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test tests if Terminal starts and uses it to change desktop settings for all the following tests.

+ # Therefore, if you want to use all the tests from the APPS family, this should be the very first to do.

+ 

+ sub run {

+     my $self = shift;

+     # open the application, let use the method that does not require any needles, 

+     # because this way, the terminal will always start even if some needles

+     # might fail because of changing background in various releases.

+     send_key 'alt-f1';

+     wait_still_screen 2;

+     type_very_safely 'terminal';

+     send_key 'ret';  

+     wait_still_screen 5;

+ 

+     # When the application opens, run command in it to set the background to black

+     type_very_safely "gsettings set org.gnome.desktop.background picture-uri ''";

+     send_key 'ret';

+     wait_still_screen 2;

+     type_very_safely "gsettings set org.gnome.desktop.background primary-color '#000000'";

+     send_key 'ret';

+     wait_still_screen 2;

+     quit_with_shortcut();

+     # check that is has changed color

+     assert_screen 'apps_settings_screen_black';

+ }

+ 

+ # If this test fails, the others will probably start failing too, 

+ # so there is no need to continue.

+ # Also, when subsequent tests fail, the suite will revert to this state for further testing.

+ sub test_flags {

+     return { fatal => 1, milestone => 1 };

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Text Editor starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_texteditor');

+     # Check that is started

+     assert_screen 'apps_run_texteditor';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,25 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Videos starts.

+ 

+ sub run {

+     my $self = shift;

+     

+     # Start the application

+     start_with_launcher('apps_menu_videos');

+     # Check that is started

+     assert_screen 'apps_run_videos';

+     # Close the application

+     quit_with_shortcut();

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

@@ -0,0 +1,29 @@ 

+ use base "installedtest";

+ use strict;

+ use testapi;

+ use utils;

+ 

+ # This test checks that Weather starts.

+ 

+ sub run {

+     my $self = shift;

+     # start the application

+     start_with_launcher('apps_menu_weather');

+     # give access rights if asked

+     if (check_screen('apps_run_access', 1)) {

+         assert_and_click 'apps_run_access';

+     }

+     wait_still_screen 2;

+     assert_screen 'apps_run_weather';

+     # close the application

+     quit_with_shortcut();

+     

+ }

+ 

+ sub test_flags {

+     return {always_rollback => 1};

+ }

+ 

+ 1;

+ 

+ # vim: set sw=4 et:

Metadata Update from @lruzicka:
- Request assigned

5 years ago

Yikes, that's big! Thanks.

So: this needs to be hit with the DRY stick. There seems to be an awful lot of duplication of 'open the menu and click on the icon' code between all these tests. That should all be factored out into a helper function in lib/utils.pm or something.

The comment on apps_preset.pm seems to be wrong, and it is not clear what that test is for. It seems to be partly duplicated with apps_terminal.pm. It is also not actually included in the templates entry so would never be run, I think. Is it a vestige you forgot to remove?

How long does this test take?

You could also consider doing the loading more smartly. Rather than a gigantic list of test names in ENTRYPOINT, perhaps there could be a variable identifying this test, and code in main.pm to - when that variable is seen - load all tests named in a certain way, for instance?

Yeah, I understand what you mean. I am on it. Hopefully, I will be able to find out how to do it properly using helping methods.

1 new commit added

  • Write starting and closing methods to start apps.
5 years ago

rebased onto 430fc4cafe44cc417ebad6d6bdbd896c30d4a8c9

5 years ago

1 new commit added

  • Delete useless lines.
5 years ago

2 new commits added

  • Fix conflict.
  • Fix tests to work on my pet machine.
5 years ago

3 new commits added

  • Delete useless namespace.
  • Merge branch 'apps_testing' of ssh://pagure.io/fedora-qa/os-autoinst-distri-fedora into apps_testing
  • Add to exported routines.
5 years ago

1 new commit added

  • Rewrite tests.
5 years ago

1 new commit added

  • Rewrite more tests.
5 years ago

1 new commit added

  • Fix errors.
5 years ago

1 new commit added

  • Fix more errors.
5 years ago

1 new commit added

  • Fix impress test.
5 years ago

rebased onto 494ccbb01a742374bba407c6e92116724e371f03

5 years ago

1 new commit added

  • Change variable read in.
5 years ago

1 new commit added

  • Fix conflict.
5 years ago

1 new commit added

  • Move running tests to main.pm
5 years ago

1 new commit added

  • Rewrite template.
5 years ago

rebased onto f07e232c70b1f52280a0f52e019b0baee2177a1a

5 years ago

Hello, so I have completed the rewriting of these tests:

  1. I have removed apps_preset.pm because it was indeed a remnant of the first design.
  2. I have added subroutines into lib/utils.pm that are able to handle starting and quitting most of the apps
  3. I have added an if statement into main.pm that runs those tests if the STARTSTOP variable is set.

I hope that it is better this time.

Great! Sorry for the delay, I am having trouble with my email since I upgraded to Rawhide (new emails outside of inbox aren't reliably appearing in Evo) so I missed this message. I will take a look at this tomorrow or next week. Thanks!

No, problem. Have a nice weekend.

This is...not really how we do variables in perl =) You can just have the tests that don't need a submenu not pass the arg at all. After the my ($launcher, $submenu) = @_; line you can do $submenu //= '', which defines it to the empty string if it's undefined. Then here you can just do if ($submenu) { [SUBMENU BEHAVIOUR] } else { [NO SUBMENU BEHAVIOUR] }.

You still have an awful lot of redundant code in these two blocks. You don't need all of that. Why not just this:

my $screentocheck = $submenu || $launcher;
while (!check_screen($screentocheck, 0)) {

...
assert_and_click $submenu if ($submenu);

something along those lines?

This is dangerous because it loops forever: if the launcher icon changes, or something, the test will just loop here until it hits the 2 hour timeout. There is a slightly more sophisticated version of this in the 'installation source' test you can crib from, but there is also actually an implementation in testapi now, called send_key_until_needlematch, which lets you set a counter (number of times to send the key before giving up). Maybe look into using that instead.

This is better, but I still think it could be even better - we can make it more magic. As we have a sort of standardized filename for the tests - 'apps_(somename).pm' - you could use perl glob - http://perldoc.perl.org/functions/glob.html - to find all such files (use get_var("CASEDIR") to find the top-level tests directory) and just load each one. That way adding or removing one of these tests is as simple as adding or removing a file that follows the naming convention - you don't have to both add or remove a file and remember to update this list of names.

I also think we could make the naming a bit more robust. This is 'for gnome', but nothing in the name indicates that. I'd maybe want to do something like tests/apps_startstop/gnome/(appname).pm as the file names, APPS_STARTSTOP as the var and also have DESKTOP=gnome set, and have the loader code do my $desktop = get_var('DESKTOP') then look for all files in "tests/apps_startstop/${desktop}", for e.g. Something that makes the names more robust and allows us to extend this to other desktops, basically.

What is the point of this tag and the two needles that provide it? I don't see anything that matches it.

What is apps_first_services for? Seems to be for nothing.

I think you can drop this and instead set DESKTOP to "gnome"; this should cause load_postinstall_tests to DTRT.

I don't think anything is using quick_login.pm any more, right? Ditch it.

rebased onto ffbe725c78b30e52d6dd8a8fc59d8bb86e5ea563

5 years ago

1 new commit added

  • Fix another conflict.
5 years ago

1 new commit added

  • Correct PR after review.
5 years ago

1 new commit added

  • Further changes post review.
5 years ago

1 new commit added

  • Find out how to run tests.
5 years ago

1 new commit added

  • Add enhancements to make the tests more endurable
5 years ago

1 new commit added

  • Clean and comment, update templates.
5 years ago

4 new commits added

  • Modify the tests according to the review.
  • Correct PR after review.
  • Fix another conflict.
  • Fix merge conflict.
5 years ago

rebased onto 03b60ed57ba0f2f9a5f6cb6ce35940aaac18ad9a

5 years ago

I hope that this time it will be better. I have tried to fix it according to the above suggestions.

rebased onto 05fb8c4d6a9c015d509febb57c959ffd324d434f

5 years ago

rebased onto 835308e0c41caedcf8d4e202052084c8caf7d978

5 years ago

rebased onto 26ef298dde1c17f0617d221bab0f0f5019cbca32

5 years ago

The tests were developed on Fedora 29 and they work there pretty fine. However, I am getting some needle errors for Rawhide, so I am recreating the necessary needles to cover the changes in icons (shapes, colours). Might take some more time.

1 new commit added

  • Add needles to cope with F30 Rawhide.
5 years ago

Always develop on Rawhide :D

This looks pretty good by eyeball now. Will try and test it on staging in a bit.

I'd still kinda like it if you added a $submenu //= ''; here. It's kinda bad practice in perl to leave a variable you're going to use later potentially undefined, and sometimes things actually fail on undefined variables. Defining it to an empty string if it's not passed would be better practice.

the default counter for send_key_until_needlematch is 20, which is pretty high for this, I think? IIRC you should never need to hit pgdn more than two or three times in the GNOME overview. Maybe set it to 5 or so instead? I might also set the timeout to 2 or 3 instead of 1, given that gnome can be a bit laggy at times.

1 new commit added

  • Add needles and modify tests to comply with Rawhide.
5 years ago

1 new commit added

  • Add options as requested.
5 years ago

rebased onto f6a1789fa817907496a0cb478c166c4e61846a03

5 years ago

After the latest update:
- I have added the options, as you suggested
- created the necessary needles to work with F30
- deleted one test (because it is no more needed as the application disappeared from default apps)

rebased onto 9f1bccd8f0994a891f1ddd61f7432cfecaa1a300

5 years ago

Thanks. I've put the staging instance on the git branch for this PR and reloaded the templates; we'll see how the test runs there.

...or...we will once #1663040 is fixed, I guess :/

rebased onto ffb1a80177f7ec52120616f01fbdb366fa218c06

5 years ago

rebased onto d749cff7bf2095c794fa88c8f1e75a3ed0ae60c4

5 years ago

rebased onto 1e9bafa7bc57f62b25a31edca558b5befe59a376

5 years ago

rebased onto 52338bf0ef4fb2e83601011b890951244835f7e4

5 years ago

rebased onto 39d3427

5 years ago

I fixed a few bugs I saw (a spurious .png.png file, wrong test suite name used in the templates...) and got the test to run: https://openqa.stg.fedoraproject.org/tests/456719# . It seems to have worked pretty well - one subtest failed, but the failure seems 'legit', it looks like running the image viewer actually triggered a GNOME crash, and then the test run rolled back to a snapshot and continued successfully (which is exactly what we want). So that's good.

I'll go ahead and merge this now, I think. Thanks for all the work.

Commit 39d3427 fixes this pull-request

Pull-Request has been merged by adamwill

5 years ago

Pull-Request has been merged by adamwill

5 years ago
Metadata
Changes Summary 245
+45 -1
file changed
lib/utils.pm
+19 -0
file changed
main.pm
+15
file added
needles/gnome/apps/app_run_cheese.json
+0
file added
needles/gnome/apps/app_run_cheese.png
+15
file added
needles/gnome/apps/apps_activities.json
+0
file added
needles/gnome/apps/apps_activities.png
+0
file added
needles/gnome/apps/apps_first_services.png
+15
file added
needles/gnome/apps/apps_menu_abrt.json
+0
file added
needles/gnome/apps/apps_menu_abrt.png
+15
file added
needles/gnome/apps/apps_menu_archiver.json
+0
file added
needles/gnome/apps/apps_menu_archiver.png
+15
file added
needles/gnome/apps/apps_menu_boxes.json
+0
file added
needles/gnome/apps/apps_menu_boxes.png
+15
file added
needles/gnome/apps/apps_menu_boxes_f30.json
+0
file added
needles/gnome/apps/apps_menu_boxes_f30.png
+15
file added
needles/gnome/apps/apps_menu_calculator.json
+0
file added
needles/gnome/apps/apps_menu_calculator.png
+15
file added
needles/gnome/apps/apps_menu_calendar.json
+0
file added
needles/gnome/apps/apps_menu_calendar.png
+15
file added
needles/gnome/apps/apps_menu_chars.json
+0
file added
needles/gnome/apps/apps_menu_chars.png
+15
file added
needles/gnome/apps/apps_menu_cheese.json
+0
file added
needles/gnome/apps/apps_menu_cheese.png
+15
file added
needles/gnome/apps/apps_menu_clocks.json
+0
file added
needles/gnome/apps/apps_menu_clocks.png
+15
file added
needles/gnome/apps/apps_menu_clocks_f30.json
+0
file added
needles/gnome/apps/apps_menu_clocks_f30.png
+15
file added
needles/gnome/apps/apps_menu_contacts.json
+0
file added
needles/gnome/apps/apps_menu_contacts.png
+15
file added
needles/gnome/apps/apps_menu_disks.json
+0
file added
needles/gnome/apps/apps_menu_disks.png
+15
file added
needles/gnome/apps/apps_menu_disks_f30.json
+0
file added
needles/gnome/apps/apps_menu_disks_f30.png
+15
file added
needles/gnome/apps/apps_menu_diskusage.json
+0
file added
needles/gnome/apps/apps_menu_diskusage.png
+15
file added
needles/gnome/apps/apps_menu_documents.json
+0
file added
needles/gnome/apps/apps_menu_documents.png
+15
file added
needles/gnome/apps/apps_menu_dviewer.json
+0
file added
needles/gnome/apps/apps_menu_dviewer.png
+15
file added
needles/gnome/apps/apps_menu_evolution.json
+0
file added
needles/gnome/apps/apps_menu_evolution.png
+15
file added
needles/gnome/apps/apps_menu_files.json
+0
file added
needles/gnome/apps/apps_menu_files.png
+15
file added
needles/gnome/apps/apps_menu_firefox.json
+0
file added
needles/gnome/apps/apps_menu_firefox.png
+15
file added
needles/gnome/apps/apps_menu_fonts.json
+0
file added
needles/gnome/apps/apps_menu_fonts.png
+15
file added
needles/gnome/apps/apps_menu_help.json
+0
file added
needles/gnome/apps/apps_menu_help.png
+15
file added
needles/gnome/apps/apps_menu_imageviewer.json
+0
file added
needles/gnome/apps/apps_menu_imageviewer.png
+15
file added
needles/gnome/apps/apps_menu_lcalc.json
+0
file added
needles/gnome/apps/apps_menu_lcalc.png
+15
file added
needles/gnome/apps/apps_menu_ldraw.json
+0
file added
needles/gnome/apps/apps_menu_ldraw.png
+15
file added
needles/gnome/apps/apps_menu_limpress.json
+0
file added
needles/gnome/apps/apps_menu_limpress.png
+15
file added
needles/gnome/apps/apps_menu_logs.json
+0
file added
needles/gnome/apps/apps_menu_logs.png
+15
file added
needles/gnome/apps/apps_menu_logs_f30.json
+0
file added
needles/gnome/apps/apps_menu_logs_f30.png
+15
file added
needles/gnome/apps/apps_menu_lwriter.json
+0
file added
needles/gnome/apps/apps_menu_lwriter.png
+15
file added
needles/gnome/apps/apps_menu_maps.json
+0
file added
needles/gnome/apps/apps_menu_maps.png
+15
file added
needles/gnome/apps/apps_menu_maps_f30.json
+0
file added
needles/gnome/apps/apps_menu_maps_f30.png
+15
file added
needles/gnome/apps/apps_menu_monitor.json
+0
file added
needles/gnome/apps/apps_menu_monitor.png
+15
file added
needles/gnome/apps/apps_menu_photos.json
+0
file added
needles/gnome/apps/apps_menu_photos.png
+15
file added
needles/gnome/apps/apps_menu_photos_f30.json
+0
file added
needles/gnome/apps/apps_menu_photos_f30.png
+15
file added
needles/gnome/apps/apps_menu_rhythmbox.json
+0
file added
needles/gnome/apps/apps_menu_rhythmbox.png
+15
file added
needles/gnome/apps/apps_menu_scan.json
+0
file added
needles/gnome/apps/apps_menu_scan.png
+15
file added
needles/gnome/apps/apps_menu_screenshot.json
+0
file added
needles/gnome/apps/apps_menu_screenshot.png
+15
file added
needles/gnome/apps/apps_menu_settings.json
+0
file added
needles/gnome/apps/apps_menu_settings.png
+15
file added
needles/gnome/apps/apps_menu_software.json
+0
file added
needles/gnome/apps/apps_menu_software.png
+15
file added
needles/gnome/apps/apps_menu_software_f30.json
+0
file added
needles/gnome/apps/apps_menu_software_f30.png
+15
file added
needles/gnome/apps/apps_menu_sundry.json
+0
file added
needles/gnome/apps/apps_menu_sundry.png
+15
file added
needles/gnome/apps/apps_menu_terminal.json
+0
file added
needles/gnome/apps/apps_menu_terminal.png
+15
file added
needles/gnome/apps/apps_menu_terminal_f30.json
+0
file added
needles/gnome/apps/apps_menu_terminal_f30.png
+15
file added
needles/gnome/apps/apps_menu_texteditor.json
+0
file added
needles/gnome/apps/apps_menu_texteditor.png
+15
file added
needles/gnome/apps/apps_menu_utilities.json
+0
file added
needles/gnome/apps/apps_menu_utilities.png
+15
file added
needles/gnome/apps/apps_menu_utilities_f30.json
+0
file added
needles/gnome/apps/apps_menu_utilities_f30.png
+15
file added
needles/gnome/apps/apps_menu_utilities_terminal.json
+0
file added
needles/gnome/apps/apps_menu_utilities_terminal.png
+15
file added
needles/gnome/apps/apps_menu_videos.json
+0
file added
needles/gnome/apps/apps_menu_videos.png
+15
file added
needles/gnome/apps/apps_menu_weather.json
+0
file added
needles/gnome/apps/apps_menu_weather.png
+15
file added
needles/gnome/apps/apps_run_abrt.json
+0
file added
needles/gnome/apps/apps_run_abrt.png
+15
file added
needles/gnome/apps/apps_run_access.json
+0
file added
needles/gnome/apps/apps_run_access.png
+15
file added
needles/gnome/apps/apps_run_archiver.json
+0
file added
needles/gnome/apps/apps_run_archiver.png
+15
file added
needles/gnome/apps/apps_run_boxes.json
+0
file added
needles/gnome/apps/apps_run_boxes.png
+15
file added
needles/gnome/apps/apps_run_calculator.json
+0
file added
needles/gnome/apps/apps_run_calculator.png
+15
file added
needles/gnome/apps/apps_run_calendar.json
+0
file added
needles/gnome/apps/apps_run_calendar.png
+15
file added
needles/gnome/apps/apps_run_chars.json
+0
file added
needles/gnome/apps/apps_run_chars.png
+15
file added
needles/gnome/apps/apps_run_clocks.json
+0
file added
needles/gnome/apps/apps_run_clocks.png
+15
file added
needles/gnome/apps/apps_run_clocks_access.json
+0
file added
needles/gnome/apps/apps_run_clocks_access.png
+15
file added
needles/gnome/apps/apps_run_contacts.json
+0
file added
needles/gnome/apps/apps_run_contacts.png
+15
file added
needles/gnome/apps/apps_run_disks.json
+0
file added
needles/gnome/apps/apps_run_disks.png
+15
file added
needles/gnome/apps/apps_run_diskusage.json
+0
file added
needles/gnome/apps/apps_run_diskusage.png
+15
file added
needles/gnome/apps/apps_run_documents.json
+0
file added
needles/gnome/apps/apps_run_documents.png
+15
file added
needles/gnome/apps/apps_run_dviewer.json
+0
file added
needles/gnome/apps/apps_run_dviewer.png
+15
file added
needles/gnome/apps/apps_run_evolution.json
+0
file added
needles/gnome/apps/apps_run_evolution.png
+15
file added
needles/gnome/apps/apps_run_evolution_warning.json
+0
file added
needles/gnome/apps/apps_run_evolution_warning.png
+15
file added
needles/gnome/apps/apps_run_evolution_welcome.json
+0
file added
needles/gnome/apps/apps_run_evolution_welcome.png
+15
file added
needles/gnome/apps/apps_run_evolution_welcome_grey.json
+0
file added
needles/gnome/apps/apps_run_evolution_welcome_grey.png
+15
file added
needles/gnome/apps/apps_run_files.json
+0
file added
needles/gnome/apps/apps_run_files.png
+15
file added
needles/gnome/apps/apps_run_firefox.json
+0
file added
needles/gnome/apps/apps_run_firefox.png
+15
file added
needles/gnome/apps/apps_run_firefox_stop.json
+0
file added
needles/gnome/apps/apps_run_firefox_stop.png
+15
file added
needles/gnome/apps/apps_run_fonts.json
+0
file added
needles/gnome/apps/apps_run_fonts.png
+15
file added
needles/gnome/apps/apps_run_help.json
+0
file added
needles/gnome/apps/apps_run_help.png
+15
file added
needles/gnome/apps/apps_run_imageviewer.json
+0
file added
needles/gnome/apps/apps_run_imageviewer.png
+15
file added
needles/gnome/apps/apps_run_lcalc.json
+0
file added
needles/gnome/apps/apps_run_lcalc.png
+15
file added
needles/gnome/apps/apps_run_ldraw.json
+0
file added
needles/gnome/apps/apps_run_ldraw.png
+15
file added
needles/gnome/apps/apps_run_limpress.json
+0
file added
needles/gnome/apps/apps_run_limpress.png
+15
file added
needles/gnome/apps/apps_run_limpress_start.json
+0
file added
needles/gnome/apps/apps_run_limpress_start.png
+15
file added
needles/gnome/apps/apps_run_logs.json
+0
file added
needles/gnome/apps/apps_run_logs.png
+15
file added
needles/gnome/apps/apps_run_lwriter.json
+0
file added
needles/gnome/apps/apps_run_lwriter.png
+15
file added
needles/gnome/apps/apps_run_maps.json
+0
file added
needles/gnome/apps/apps_run_maps.png
+15
file added
needles/gnome/apps/apps_run_monitor.json
+0
file added
needles/gnome/apps/apps_run_monitor.png
+15
file added
needles/gnome/apps/apps_run_nautilus.json
+0
file added
needles/gnome/apps/apps_run_nautilus.png
+15
file added
needles/gnome/apps/apps_run_photos.json
+0
file added
needles/gnome/apps/apps_run_photos.png
+15
file added
needles/gnome/apps/apps_run_rhythmbox.json
+0
file added
needles/gnome/apps/apps_run_rhythmbox.png
+15
file added
needles/gnome/apps/apps_run_scan.json
+0
file added
needles/gnome/apps/apps_run_scan.png
+15
file added
needles/gnome/apps/apps_run_screenshot.json
+0
file added
needles/gnome/apps/apps_run_screenshot.png
+15
file added
needles/gnome/apps/apps_run_settings.json
+0
file added
needles/gnome/apps/apps_run_settings.png
+15
file added
needles/gnome/apps/apps_run_software.json
+0
file added
needles/gnome/apps/apps_run_software.png
+15
file added
needles/gnome/apps/apps_run_software_welcome.json
+0
file added
needles/gnome/apps/apps_run_software_welcome.png
+15
file added
needles/gnome/apps/apps_run_terminal.json
+0
file added
needles/gnome/apps/apps_run_terminal.png
+15
file added
needles/gnome/apps/apps_run_texteditor.json
+0
file added
needles/gnome/apps/apps_run_texteditor.png
+15
file added
needles/gnome/apps/apps_run_videos.json
+0
file added
needles/gnome/apps/apps_run_videos.png
+15
file added
needles/gnome/apps/apps_run_weather.json
+0
file added
needles/gnome/apps/apps_run_weather.png
+15
file added
needles/gnome/apps/apps_run_weather_access.json
+0
file added
needles/gnome/apps/apps_run_weather_access.png
+15
file added
needles/gnome/apps/apps_settings_black_select.json
+0
file added
needles/gnome/apps/apps_settings_black_select.png
+15
file added
needles/gnome/apps/apps_settings_black_visible.json
+0
file added
needles/gnome/apps/apps_settings_black_visible.png
+15
file added
needles/gnome/apps/apps_settings_choose_background.json
+0
file added
needles/gnome/apps/apps_settings_choose_background.png
+15
file added
needles/gnome/apps/apps_settings_choose_color.json
+0
file added
needles/gnome/apps/apps_settings_choose_color.png
+15
file added
needles/gnome/apps/apps_settings_menu_background.json
+0
file added
needles/gnome/apps/apps_settings_menu_background.png
+16
file added
needles/gnome/apps/apps_settings_screen_black.json
+0
file added
needles/gnome/apps/apps_settings_screen_black.png
+15
file added
needles/gnome/apps/apps_stop.json
+0
file added
needles/gnome/apps/apps_stop.png
+15
file added
needles/gnome/apps/apps_sub_utilities.json
+0
file added
needles/gnome/apps/apps_sub_utilities.png
+21 -0
file changed
templates
+26
file added
tests/apps_startstop/gnome/abrt.pm
+26
file added
tests/apps_startstop/gnome/archiver.pm
+26
file added
tests/apps_startstop/gnome/boxes.pm
+25
file added
tests/apps_startstop/gnome/calculator.pm
+31
file added
tests/apps_startstop/gnome/calendar.pm
+26
file added
tests/apps_startstop/gnome/chars.pm
+25
file added
tests/apps_startstop/gnome/cheese.pm
+28
file added
tests/apps_startstop/gnome/clocks.pm
+25
file added
tests/apps_startstop/gnome/contacts.pm
+24
file added
tests/apps_startstop/gnome/disks.pm
+25
file added
tests/apps_startstop/gnome/diskusage.pm
+24
file added
tests/apps_startstop/gnome/dviewer.pm
+30
file added
tests/apps_startstop/gnome/evolution.pm
+25
file added
tests/apps_startstop/gnome/files.pm
+31
file added
tests/apps_startstop/gnome/firefox.pm
+25
file added
tests/apps_startstop/gnome/fonts.pm
+24
file added
tests/apps_startstop/gnome/help.pm
+25
file added
tests/apps_startstop/gnome/imageviewer.pm
+25
file added
tests/apps_startstop/gnome/lcalc.pm
+25
file added
tests/apps_startstop/gnome/ldraw.pm
+26
file added
tests/apps_startstop/gnome/limpress.pm
+25
file added
tests/apps_startstop/gnome/logs.pm
+25
file added
tests/apps_startstop/gnome/lwriter.pm
+30
file added
tests/apps_startstop/gnome/maps.pm
+25
file added
tests/apps_startstop/gnome/monitor.pm
+25
file added
tests/apps_startstop/gnome/photos.pm
+25
file added
tests/apps_startstop/gnome/rhythmbox.pm
+26
file added
tests/apps_startstop/gnome/scan.pm
+26
file added
tests/apps_startstop/gnome/screenshot.pm
+58
file added
tests/apps_startstop/gnome/settings.pm
+32
file added
tests/apps_startstop/gnome/software.pm
+41
file added
tests/apps_startstop/gnome/terminal.pm
+25
file added
tests/apps_startstop/gnome/texteditor.pm
+25
file added
tests/apps_startstop/gnome/videos.pm
+29
file added
tests/apps_startstop/gnome/weather.pm