mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
Type more safely in the gnome-panel volume bar test
The shifted characters here frequently get mistyped. Let's use type_safely. If this isn't enough we can try very_safely. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6fefd092e9
commit
3bce9f1007
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user