'Scenario: Video component stores position correctly when page is reloaded
Given the course has a Video component in "Youtube" mode
Then the video has rendered in "Youtube" mode
And I click video button "play""
Then I wait until video reaches at position "0.03"
And I click video button "pause"
And I reload the page with video
And I click video button "play""
And I click video button "pause"
Then video slider should be Equal or Greater than "0:03"'

def test_video_position_stored_correctly_wo_seek(self):

    self.navigate_to_video()
    self.video.click_player_button('play')
    self.video.wait_for_position('0:03')
    self.video.click_player_button('pause')
    self.video.reload_page()
    self.video.click_player_button('play')
    self.video.click_player_button('pause')
    self.assertGreaterEqual(self.video.seconds, 3)
