'Scenario: Video play and pause is working as expected for hls video
Given the course has a Video component with only HLS source available.
When I view the Video component
Then I can see play and pause are working as expected'

def test_video_play_pause(self):

    self.metadata = self.metadata_for_mode('hls')
    self.navigate_to_video()
    self.video.click_player_button('play')
    self.assertEqual(self.video.state, 'playing')
    self.video.click_player_button('pause')
    self.assertEqual(self.video.state, 'pause')
