'Scenario: User cannot upload translations in sjson format
Given I have created a Video component
And I edit the component
And I open tab "Advanced"
And I click button "Add"
And I choose "uk" language code
And I try to upload transcript file "subs_3_yD_cEKoCk.srt.sjson"
Then I see validation error "Only SRT files can be uploaded. Please select a file ending in .srt to upload."'

def test_cannot_upload_sjson_translation(self):

    self._create_video_component()
    self.edit_component()
    self.open_advanced_tab()
    self.video.click_button('translation_add')
    self.video.select_translation_language('uk')
    self.video.upload_asset('subs_3_yD_cEKoCk.srt.sjson', asset_type='transcript')
    error_msg = 'Only    SRT    files    can    be    uploaded.    Please    select    a    file    ending    in    .srt    to    upload.'
    self.assertEqual(self.video.upload_status_message, error_msg)
