diff --git a/tests/applications/gnome-panel/volumebar.pm b/tests/applications/gnome-panel/volumebar.pm index 5957fc8b..c755c9fb 100644 --- a/tests/applications/gnome-panel/volumebar.pm +++ b/tests/applications/gnome-panel/volumebar.pm @@ -27,15 +27,18 @@ sub run { menu_launch_type("terminal"); assert_screen("apps_run_terminal"); # Set the volume to 0% - script_run('pactl set-sink-volume @DEFAULT_SINK@ 0%'); + type_safely('pactl set-sink-volume @DEFAULT_SINK@ 0%'); + send_key('ret'); # Check that it worked check_volume("zero"); # Set the volume to 50% - script_run('pactl set-sink-volume @DEFAULT_SINK@ 50%'); + type_safely('pactl set-sink-volume @DEFAULT_SINK@ 50%'); + send_key('ret'); # Check that it worked check_volume("fifty"); # Set the volume to 100% - script_run('pactl set-sink-volume @DEFAULT_SINK@ 100%'); + type_safely('pactl set-sink-volume @DEFAULT_SINK@ 100%'); + send_key('ret'); # Check that it worked check_volume("hundred"); }