diff --git a/needles/gnome/apps/system-settings/settings_applications_app_open.json b/needles/gnome/apps/system-settings/settings_applications_app_open.json new file mode 100644 index 00000000..5e70da5d --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_applications_app_open.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_applications_app_open" + ], + "area": [ + { + "xpos": 553, + "ypos": 292, + "width": 53, + "height": 24, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_applications_app_open.png b/needles/gnome/apps/system-settings/settings_applications_app_open.png new file mode 100644 index 00000000..7d27a085 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_applications_app_open.png differ diff --git a/needles/gnome/apps/system-settings/settings_applications_app_opensettings_applications_details_open.json b/needles/gnome/apps/system-settings/settings_applications_app_opensettings_applications_details_open.json new file mode 100644 index 00000000..4cf4cd09 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_applications_app_opensettings_applications_details_open.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_applications_app_opensettings_applications_details_open" + ], + "area": [ + { + "xpos": 697, + "ypos": 289, + "width": 94, + "height": 25, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_applications_calculator.json b/needles/gnome/apps/system-settings/settings_applications_calculator.json new file mode 100644 index 00000000..b873875b --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_applications_calculator.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_applications_calculator" + ], + "area": [ + { + "xpos": 24, + "ypos": 197, + "width": 111, + "height": 21, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_applications_calculator.png b/needles/gnome/apps/system-settings/settings_applications_calculator.png new file mode 100644 index 00000000..94847bc8 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_applications_calculator.png differ diff --git a/needles/gnome/apps/system-settings/settings_applications_calculator_opened.json b/needles/gnome/apps/system-settings/settings_applications_calculator_opened.json new file mode 100644 index 00000000..d9fdfa3a --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_applications_calculator_opened.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_applications_calculator_opened" + ], + "area": [ + { + "xpos": 591, + "ypos": 104, + "width": 144, + "height": 145, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_applications_calculator_opened.png b/needles/gnome/apps/system-settings/settings_applications_calculator_opened.png new file mode 100644 index 00000000..4e6328ce Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_applications_calculator_opened.png differ diff --git a/needles/gnome/apps/system-settings/settings_applications_details_open.json b/needles/gnome/apps/system-settings/settings_applications_details_open.json new file mode 100644 index 00000000..57c95c5f --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_applications_details_open.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_applications_details_open" + ], + "area": [ + { + "xpos": 697, + "ypos": 289, + "width": 94, + "height": 25, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_applications_details_open.png b/needles/gnome/apps/system-settings/settings_applications_details_open.png new file mode 100644 index 00000000..c9bf4966 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_applications_details_open.png differ diff --git a/needles/gnome/apps/system-settings/settings_applications_details_shown.json b/needles/gnome/apps/system-settings/settings_applications_details_shown.json new file mode 100644 index 00000000..784c6f58 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_applications_details_shown.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_applications_details_shown" + ], + "area": [ + { + "xpos": 115, + "ypos": 108, + "width": 274, + "height": 57, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_applications_details_shown.png b/needles/gnome/apps/system-settings/settings_applications_details_shown.png new file mode 100644 index 00000000..3d7768f0 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_applications_details_shown.png differ diff --git a/needles/gnome/apps/system-settings/settings_menu_applications.json b/needles/gnome/apps/system-settings/settings_menu_applications.json new file mode 100644 index 00000000..9b564453 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_menu_applications.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_menu_applications" + ], + "area": [ + { + "xpos": 17, + "ypos": 386, + "width": 116, + "height": 23, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_menu_applications.png b/needles/gnome/apps/system-settings/settings_menu_applications.png new file mode 100644 index 00000000..3b2e0241 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_menu_applications.png differ diff --git a/tests/applications/system-settings/applications.pm b/tests/applications/system-settings/applications.pm new file mode 100644 index 00000000..ede02187 --- /dev/null +++ b/tests/applications/system-settings/applications.pm @@ -0,0 +1,43 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This is to check up the Application tab. + +sub run { + my $self = shift; + + assert_and_click("settings_menu_applications"); + + # Choose the Calculator application and switch on the details + assert_and_click("settings_applications_calculator"); + + # Check that the Calculator page has opened + assert_screen("settings_applications_calculator_opened"); + + # Check that an Application can be opened using the Open button + assert_and_click("settings_applications_app_open"); + + # Check that the Application has opened + assert_screen(apps_run_calculator); + + # Close the application + send_key("alt-f4"); + + # Click on View Details to see if application details will open + assert_and_click("settings_applications_details_open"); + + # Check that Software is opened and provides the detailed information + assert_screen("settings_applications_details_shown"); +} + +sub test_flags { + return {fatal => 1, always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + +