Skip to content
Snippets Groups Projects
Commit 28a7f34f authored by Benani Sagar Kishore's avatar Benani Sagar Kishore
Browse files

Adding new hmi-audio related testcases for review and subsequent submission


Signed-off-by: default avatarSagar Kishore Benani <SagarKishore.Benani@in.bosch.com>
parent fbb3a87e
No related branches found
No related tags found
1 merge request!301Adding new hmi-audio related testcases for review and subsequent submission
Pipeline #280662 passed
metadata:
name: hmi-audio-skip-start-end
format: "Apertis Test Definition 1.0"
image-types:
target: [armhf, amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
- OSTree
type: compatibility
exec-type: manual
priority: high
maintainer: "Apertis Project"
description: "Test that the songs can be rewind or fast-forwarded"
pre-conditions:
- "The respective target (i.MX6 or Minnowboard) should be on and running"
- "Lilluput/LVDS touch screens must be connected to the respective targets"
- "When running the test on SabreLite boards using the headphone jack to
check the audio output, PulseAudio needs to be configured to route it
accordingly as it defaults to the HDMI output:"
- $ pactl set-default-sink alsa_output.platform-sound.stereo-fallback
- $ pactl set-sink-port alsa_output.platform-sound.stereo-fallback analog-output-headphones
- "After reboot ensure that headphones will not be muted:"
- $ pactl set-sink-mute alsa_output.platform-sound.stereo-fallback false
expected:
- "If Skip start button is pressed then the next song from the playlist will play"
- "If Skip end is pressed then if it has been pressed in the last few seconds, it will jump to the previous song, if the song has been allowed to play a bit, then it jumps back to the start of the current track"
run:
steps:
- "Add the Flathub repository"
- $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- "Install Rhythmbox from Flathub"
- $ flatpak install flathub org.gnome.Rhythmbox3
- "Open the Rhythmbox Music Application"
- $ flatpak run org.gnome.Rhythmbox3
- "Play and Pause any song"
- "Click on the skip start button"
- "The next song in the playlist will play and then stop"
- "Now play a new song from the playlist"
- "Click on the skip end button"
metadata:
name: hmi-audio-volume-control
format: "Apertis Test Definition 1.0"
image-types:
target: [armhf, amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
- OSTree
type: compatibility
exec-type: manual
priority: high
maintainer: "Apertis Project"
description: "Test that the volume controls work as expected"
pre-conditions:
- "The respective target (i.MX6 or Minnowboard) should be on and running"
- "Lilliput/LVDS touch screens must be connected to the respective targets"
- "When running the test on SabreLite boards using the headphone jack to
check the audio output, PulseAudio needs to be configured to route it
accordingly as it defaults to the HDMI output:"
- $ pactl set-default-sink alsa_output.platform-sound.stereo-fallback
- $ pactl set-sink-port alsa_output.platform-sound.stereo-fallback analog-output-headphones
- "After reboot ensure that headphones will not be muted:"
- $ pactl set-sink-mute alsa_output.platform-sound.stereo-fallback false
expected:
- "This testcase tests that the volume control functionality works as expected and the user can increase or decrease the sound/volume levels"
run:
steps:
- "Add the Flathub repository"
- $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- "Install Rhythmbox from Flathub"
- $ flatpak install flathub org.gnome.Rhythmbox3
- "Open the Rhythmbox Music Application"
- $ flatpak run org.gnome.Rhythmbox3
- "Play and Pause any song"
- "Click on the speaker icon on the display and increase/decrease the volume control"
- "A volume level controller pops up and the sound/volume level can be controlled using this"
- "Ensure that a song is being played"
metadata:
name: hmi-flatpak-rhythmbox-app-launch
format: "Apertis Test Definition 1.0"
image-types:
target: [armhf, amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
- OSTree
type: compatibility
exec-type: manual
priority: high
maintainer: "Apertis Project"
description: "Test that the Rhythmbox app can be launched from the agl-compositor"
pre-conditions:
- "The respective target (i.MX6 or Minnowboard) should be on and running"
- "Lilliput/LVDS touch screens must be connected to the respective targets"
expected:
- "Rhythmbox app can be launched from the agl-compositor"
run:
steps:
- "Add the Flathub repository"
- $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- "Install Rhythmbox from Flathub"
- $ flatpak install flathub org.gnome.Rhythmbox3
- "On the agl-compositor click on the menu icon"
- "Observe that the Rythmbox app icon is visible"
- "Launch Rythmbox app"
metadata:
name: hmi-flatpak-rhythmbox-uninstall
format: "Apertis Test Definition 1.0"
image-types:
target: [armhf, amd64 ]
sdk: [ amd64 ]
image-deployment:
- APT
- OSTree
type: compatibility
exec-type: manual
priority: high
maintainer: "Apertis Project"
description: "Test that the Rhytmbox app can be successfully uninstalled"
pre-conditions:
- "The respective target (i.MX6 or Minnowboard) should be on and running"
- "Lilliput/LVDS touch screens must be connected to the respective targets"
expected:
- "Rhythmbox app is successfully uninstalled and no error messages are seen"
run:
steps:
- "Add the Flathub repository"
- $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- "Install Rhythmbox from Flathub"
- $ flatpak install flathub org.gnome.Rhythmbox3
- "Open the Rhythmbox Music Application"
- "Close the Rhythmbox Music Application"
- "On the terminal execute the below command to uninstall the Rhythmbox Application"
- "flatpak uninstall flathub org.gnome.Rhythmbox3"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment