@polesye Done. Now that getAvailableQualityLevels is in helper.js, only left
player.getAvailableQualityLevels.andReturn(['large', 'medium', 'small']);