'Scenario: Video is aligned correctly on transcript toggle in fullscreen mode
Given the course has a Video component in "Youtube" mode
And I have uploaded a .srt.sjson file to assets
And I have defined subtitles for the video
When I view the video at fullscreen
Then the video with the transcript enabled is aligned correctly
And the video with the transcript hidden is aligned correctly'

def test_fullscreen_video_alignment_on_transcript_toggle(self):

    self.assets.append('subs_3_yD_cEKoCk.srt.sjson')
    data = {'sub': '3_yD_cEKoCk'}
    self.metadata = self.metadata_for_mode('youtube', additional_data=data)
    self.navigate_to_video()
    self.video.show_captions()
    self.video.click_player_button('fullscreen')
    self.assertTrue(self.video.is_aligned(True))
    self.video.click_player_button('transcript_button')
    self.assertTrue(self.video.is_aligned(False))
