From 7f837f8004b5a13d99091bcf1ef0142607338b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dylan=20A=C3=AFssi?= <dylan.aissi@collabora.com> Date: Mon, 26 Aug 2024 14:52:40 +0200 Subject: [PATCH] hmi-audio-combined: Improve Pre-conditions of the test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actually, installing Flatpak Apps is not really part of the test, but more a pre-condition of the test. Moreover, the Apertis repository and org.apertis.hmi.totem are not installed by default on SDK images. Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com> --- test-cases/hmi-audio-combined.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test-cases/hmi-audio-combined.yaml b/test-cases/hmi-audio-combined.yaml index 1246f977..ea4f5520 100644 --- a/test-cases/hmi-audio-combined.yaml +++ b/test-cases/hmi-audio-combined.yaml @@ -22,14 +22,18 @@ metadata: - $ 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 + - "Add the Flathub repository (only needed on SDK images)" + - $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + - "Install Rhythmbox from Flathub (only needed on SDK images)" + - $ flatpak install --user flathub org.gnome.Rhythmbox3 + - "Add the Apertis repository (only needed on SDK images)" + - $ sudo flatpak remote-add apertis https://images.apertis.org/flatpak/repo/apertis.flatpakrepo + - "Install Videos Application from Apertis (only needed on SDK images)" + - $ sudo flatpak install apertis org.apertis.hmi.totem expected: - "Audio files play without any glitch and can be paused" run: steps: - - "Add the Flathub repository (only needed on SDK images)" - - $ flatpak remote-add --user --no-sign-verify --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - - "Install Rhythmbox from Flathub (only needed on SDK images)" - - $ flatpak install --user flathub org.gnome.Rhythmbox3 - "Open the Rhythmbox Music Application" - $ flatpak run org.gnome.Rhythmbox3 - "Play and Pause any song" -- GitLab