diff --git a/needles/gnome/apps/system-settings/gnome_volume_icon_off.json b/needles/gnome/apps/system-settings/gnome_volume_icon_off.json new file mode 100644 index 00000000..41d601a4 --- /dev/null +++ b/needles/gnome/apps/system-settings/gnome_volume_icon_off.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "gnome_volume_icon_off" + ], + "area": [ + { + "xpos": 958, + "ypos": 5, + "width": 28, + "height": 34, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/gnome_volume_icon_off.png b/needles/gnome/apps/system-settings/gnome_volume_icon_off.png new file mode 100644 index 00000000..5d5c2e9d Binary files /dev/null and b/needles/gnome/apps/system-settings/gnome_volume_icon_off.png differ diff --git a/needles/gnome/apps/system-settings/settings_menu_sound.json b/needles/gnome/apps/system-settings/settings_menu_sound.json new file mode 100644 index 00000000..bd062eb9 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_menu_sound.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_menu_sound" + ], + "area": [ + { + "xpos": 18, + "ypos": 143, + "width": 75, + "height": 24, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_menu_sound.png b/needles/gnome/apps/system-settings/settings_menu_sound.png new file mode 100644 index 00000000..51e53e8d Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_menu_sound.png differ diff --git a/needles/gnome/apps/system-settings/settings_sound_input.json b/needles/gnome/apps/system-settings/settings_sound_input.json new file mode 100644 index 00000000..8372798d --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_sound_input.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_sound_input" + ], + "area": [ + { + "xpos": 396, + "ypos": 639, + "width": 330, + "height": 28, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_sound_input.png b/needles/gnome/apps/system-settings/settings_sound_input.png new file mode 100644 index 00000000..c89e1888 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_sound_input.png differ diff --git a/needles/gnome/apps/system-settings/settings_sound_output.json b/needles/gnome/apps/system-settings/settings_sound_output.json new file mode 100644 index 00000000..25fa1342 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_sound_output.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_sound_output" + ], + "area": [ + { + "xpos": 396, + "ypos": 414, + "width": 349, + "height": 30, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_sound_output.png b/needles/gnome/apps/system-settings/settings_sound_output.png new file mode 100644 index 00000000..c6b97d32 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_sound_output.png differ diff --git a/needles/gnome/apps/system-settings/settings_sound_volume_off.json b/needles/gnome/apps/system-settings/settings_sound_volume_off.json new file mode 100644 index 00000000..d59b3de3 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_sound_volume_off.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_sound_volume_off" + ], + "area": [ + { + "xpos": 898, + "ypos": 165, + "width": 22, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_sound_volume_off.png b/needles/gnome/apps/system-settings/settings_sound_volume_off.png new file mode 100644 index 00000000..f6b00f0c Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_sound_volume_off.png differ diff --git a/needles/gnome/apps/system-settings/settings_sound_volume_on.json b/needles/gnome/apps/system-settings/settings_sound_volume_on.json new file mode 100644 index 00000000..784fc83d --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_sound_volume_on.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_sound_volume_on" + ], + "area": [ + { + "xpos": 381, + "ypos": 111, + "width": 193, + "height": 72, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_sound_volume_on.png b/needles/gnome/apps/system-settings/settings_sound_volume_on.png new file mode 100644 index 00000000..bf89c722 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_sound_volume_on.png differ diff --git a/needles/gnome/apps/system-settings/settings_volume_on.json b/needles/gnome/apps/system-settings/settings_volume_on.json new file mode 100644 index 00000000..c063d341 --- /dev/null +++ b/needles/gnome/apps/system-settings/settings_volume_on.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "settings_volume_on" + ], + "area": [ + { + "xpos": 898, + "ypos": 165, + "width": 22, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/system-settings/settings_volume_on.png b/needles/gnome/apps/system-settings/settings_volume_on.png new file mode 100644 index 00000000..11664d07 Binary files /dev/null and b/needles/gnome/apps/system-settings/settings_volume_on.png differ diff --git a/tests/applications/system-settings/network.pm b/tests/applications/system-settings/network.pm deleted file mode 100644 index 67e16884..00000000 --- a/tests/applications/system-settings/network.pm +++ /dev/null @@ -1,22 +0,0 @@ -use base "installedtest"; -use strict; -use testapi; -use utils; - -# This is to check up the Network tab. - -sub run { - my $self = shift; - - assert_and_click("settings_menu_network"); - assert_screen("settings_network_wired_connected"); - -} - -sub test_flags { - return {fatal => 1, milestone => 1}; -} - -1; - -# vim: set sw=4 et: diff --git a/tests/applications/system-settings/sound.pm b/tests/applications/system-settings/sound.pm new file mode 100644 index 00000000..97a00914 --- /dev/null +++ b/tests/applications/system-settings/sound.pm @@ -0,0 +1,41 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This is to check up the Sound tab. + +sub run { + my $self = shift; + + assert_and_click("settings_menu_sound"); + + # Check that the sound is enabled and loud. + assert_screen("settings_sound_volume_on"); + + # Check that there is an ouput device. + assert_screen("settings_sound_output"); + + # Check that there is an input device. + assert_screen("settings_sound_input"); + + # Switch off all the volume levels + while (check_screen("settings_volume_on")) { + assert_and_click("settings_volume_on"); + } + + # Check that the main volume is switched off. + assert_screen("settings_sound_volume_off"); + + # Check that the system volume icon is switched off. + assert_screen("gnome_volume_icon_off"); +} + +sub test_flags { + return {fatal => 1, milestone => 1}; +} + +1; + +# vim: set sw=4 et: +