1 This tests ensure that media element emits the 'playing' event every time it starts playing after eos. It also ensure that 'pause' and 'ended' events are sent when media playback ends.
4 RUN(mediaElement.play())
7 EXPECTED (mediaElement.paused == 'true') OK
9 EXPECTED (mediaElement.ended == 'true') OK
10 RUN(mediaElement.play())
13 EXPECTED (mediaElement.paused == 'true') OK
15 EXPECTED (mediaElement.ended == 'true') OK