Test that fastSeek() commands work correctly. EVENT(canplaythrough) Seek past the 4th sync sample: RUN(video.currentTime = 2.5) EVENT(timeupdate) EXPECTED (video.currentTime.toFixed(1) == '2.5') OK Test that fastSeek() past the currentTime will not result in a seek before the currentTime: RUN(video.fastSeek(2.6)) EVENT(timeupdate) EXPECTED (video.currentTime >= '2.6'), OBSERVED '2.5999999046325684' FAIL Seek before the 4th sync sample: RUN(video.currentTime = 2.3) EVENT(timeupdate) EXPECTED (video.currentTime.toFixed(1) == '2.3') OK Test that fastSeek() before the currentTime will not result in a seek past the currentTime: RUN(video.fastSeek(2.2)) EVENT(timeupdate) EXPECTED (video.currentTime <= '2.2'), OBSERVED '2.200000047683716' FAIL END OF TEST