And I see value "test_transcripts|t_not_exist" in the field "Transcript (primary)"
And I see value "test_transcripts|t_not_exist" in the field "Transcript (primary)"
# Flaky test fails occasionally in master. https://edx-wiki.atlassian.net/browse/BLD-927
#21
#21
Scenario:Work with 1 field only:EnterHTML5sourcewithtranscripts-save->changeittoanotheroneHTML5sourcew/otranscripts-clickonuseexisting->changeittoanotheroneHTML5sourcew/otranscripts-clickonuseexisting
#Scenario: Work with 1 field only: Enter HTML5 source with transcripts - save - > change it to another one HTML5 source w/o #transcripts - click on use existing - > change it to another one HTML5 source w/o transcripts - click on use existing
Given I have created a Video component with subtitles "t_not_exist"
# Given I have created a Video component with subtitles "t_not_exist"
And I edit the component
# And I edit the component
#
And I enter a "t_not_exist.mp4" source to field number 1
# And I enter a "t_not_exist.mp4" source to field number 1
Then I see status message "found"
# Then I see status message "found"
And I see button "download_to_edit"
# And I see button "download_to_edit"
And I see button "upload_new_timed_transcripts"
# And I see button "upload_new_timed_transcripts"
And I see value "t_not_exist" in the field "Transcript (primary)"
# And I see value "t_not_exist" in the field "Transcript (primary)"
#
And I save changes
# And I save changes
And I edit the component
# And I edit the component
#
And I enter a "video_name_2.mp4" source to field number 1
# And I enter a "video_name_2.mp4" source to field number 1
Then I see status message "use existing"
# Then I see status message "use existing"
And I see button "use_existing"
# And I see button "use_existing"
And I click transcript button "use_existing"
# And I click transcript button "use_existing"
And I see value "video_name_2" in the field "Transcript (primary)"
# And I see value "video_name_2" in the field "Transcript (primary)"
#
And I enter a "video_name_3.mp4" source to field number 1
# And I enter a "video_name_3.mp4" source to field number 1
Then I see status message "use existing"
# Then I see status message "use existing"
And I see button "use_existing"
# And I see button "use_existing"
And I click transcript button "use_existing"
# And I click transcript button "use_existing"
And I see value "video_name_3" in the field "Transcript (primary)"
# And I see value "video_name_3" in the field "Transcript (primary)"
#22
#22
Scenario:Work with 1 field only:EnterHTML5sourcewithtranscripts-save->changeittoanotheroneHTML5sourcew/otranscripts-clickonuseexisting->changeittoanotheroneHTML5sourcew/otranscripts-donotclickonuseexisting->changeittoanotheroneHTML5sourcew/otranscripts-clickonuseexisting
Scenario:Work with 1 field only:EnterHTML5sourcewithtranscripts-save->changeittoanotheroneHTML5sourcew/otranscripts-clickonuseexisting->changeittoanotheroneHTML5sourcew/otranscripts-donotclickonuseexisting->changeittoanotheroneHTML5sourcew/otranscripts-clickonuseexisting