Skip to content

Commit

Permalink
Add also audio tests to bat suite
Browse files Browse the repository at this point in the history
Signed-off-by: Samuli Leivo <[email protected]>
  • Loading branch information
leivos-unikie committed Jan 15, 2025
1 parent dead0a8 commit 560e74b
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@

*** Settings ***
Documentation Testing audio applicaton
Force Tags audio lenovo-x1
Force Tags audio
Resource ../../__framework__.resource
Resource ../../resources/serial_keywords.resource
Resource ../../resources/common_keywords.resource
Resource ../../resources/connection_keywords.resource
Resource ../../resources/ssh_keywords.resource
Resource ../../config/variables.robot
Suite Setup Initialize Variables And Connect
Suite Teardown Close All Connections
Test Timeout 2 minutes
Test Setup Connect to netvm
Test Teardown Close All Connections
Test Timeout 3 minutes


*** Test Cases ***
Record Audio And Verify
[Documentation] Record short audio with pulseaudio tool. Verify audio clip is bigger than default empty file (40Kb)
[Teardown] Execute Command rm /tmp/test*.wav sudo=True sudo_password=${PASSWORD}
[Tags] SSRCSP-T247
Connect to netvm
[Tags] SSRCSP-T247 lenovo-x1
FOR ${vm} IN ${CHROME_VM} ${BUSINESS_VM}
Connect to VM ${vm}
# Execute Command timeouts in business-vm, but it is executing the command
Expand All @@ -35,8 +34,7 @@ Record Audio And Verify

Check Audio devices
[Documentation] List audio sinks and sources in business-vm and chrome-vm and check status is running
[Tags] SSRCSP-T246
Connect to netvm
[Tags] SSRCSP-T246 lenovo-x1
FOR ${vm} IN ${CHROME_VM} ${BUSINESS_VM}
Connect to VM ${vm}
${sources} Execute Command pactl list sources
Expand Down

0 comments on commit 560e74b

Please sign in to comment.