Automation lab Aú Audio & Media (MEDIA_AUDIO)
Lab 089: Toggle mute and unmute behavior
Practice toggle mute and unmute behavior in a real web app context as part of the Audio & Media module.
advanced
advanced
Objectives
Use for test scripts- Understand the purpose and business flow of toggle mute and unmute behavior.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Audio & Media / media / advanced / active
Toggle mute and unmute behavior
Simulate audio mute/unmute with a clear state indicator.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Toggle mute state.
- Update button label and status text.
- Expose ARIA-friendly status for automation.
Steps
- Click toggle to flip mute state.
- Verify status and label change.
- Toggle again to unmute.
Status: Unmuted
Assertions to practice
- Status text shows Muted/Unmuted.
- Button label matches next action.