blob: ac62eb158052d1d7f4374d90cd5741a7a53e6ba9 [file] [log] [blame]
Check that tapping the start button pauses the video if controls are added after it has started playing.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
'play' event.
PASS media.paused is false
PASS shadowRoot.querySelector('button.play-pause') became different from null
PASS shadowRoot.querySelector('button.play-pause').getBoundingClientRect().width became different from 0
Tapping start button...
Waiting for pause...
PASS media.paused became true
Checking again...
PASS media.paused is true
PASS successfullyParsed is true
TEST COMPLETE