blob: 05a98f3431e28c0c2dd09d8c44a0027fb3c8f2dc [file] [log] [blame]
Testing AirPlaySupport stops listening to webkitplaybacktargetavailabilitychanged events when the controls are not visible to the user.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting test.
PASS controls.visible is true
PASS controls.faded is false
Now we wait for the controls to fade after a period of inactivity.
PASS controls.faded became true
Before turning AirPlay routes on, we check the AirPlay control state.
PASS controls.airplayButton.enabled is false
Making AirPlay routes available.
PASS controls.airplayButton.enabled is false
We pause the media so that controls can show again.
Media paused, the AirPlay button should be enabled now that controls are visible.
PASS controls.faded is false
PASS controls.airplayButton.enabled became true
PASS successfullyParsed is true
TEST COMPLETE