Test ended by:

  1. Play streamed media.
  2. Verify that the 'ended' event fires upon finishing the playback.