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.
3 RUN(mediaElement.play())
6 EXPECTED (mediaElement.paused == 'true') OK
8 EXPECTED (mediaElement.ended == 'true') OK
9 RUN(mediaElement.play())
12 EXPECTED (mediaElement.paused == 'true') OK
14 EXPECTED (mediaElement.ended == 'true') OK