Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8474336a
Commit
8474336a
authored
Mar 21, 2014
by
Valera Rozuvan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commenting out flaky acceptance tests.
parent
b54a268f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
lms/djangoapps/courseware/features/video.feature
+24
-24
No files found.
lms/djangoapps/courseware/features/video.feature
View file @
8474336a
...
...
@@ -80,19 +80,19 @@ Feature: LMS Video component
Then
video
"C"
should start playing at speed
"1.0"
# 10
Scenario
:
Language menu works correctly in Video component
Given
I am registered for the course
"test_course"
And
I have a
"chinese_transcripts.srt"
transcript file in assets
And
I have a
"subs_OEoXaMPEzfM.srt.sjson"
transcript file in assets
And it has a video in "Youtube" mode
:
|
transcripts
|
sub
|
|
{"zh":
"chinese_transcripts.srt"}
|
OEoXaMPEzfM
|
And
I make sure captions are closed
And
I see video menu
"language"
with correct items
And
I select language with code
"zh"
Then
I see
"好 各位同学"
text in the captions
And
I select language with code
"en"
And
I see
"Hi, welcome to Edx."
text in the captions
#
Scenario: Language menu works correctly in Video component
#
Given I am registered for the course "test_course"
#
And I have a "chinese_transcripts.srt" transcript file in assets
#
And I have a "subs_OEoXaMPEzfM.srt.sjson" transcript file in assets
#
And it has a video in "Youtube" mode:
#
| transcripts | sub |
#
| {"zh": "chinese_transcripts.srt"} | OEoXaMPEzfM |
#
And I make sure captions are closed
#
And I see video menu "language" with correct items
#
And I select language with code "zh"
#
Then I see "好 各位同学" text in the captions
#
And I select language with code "en"
#
And I see "Hi, welcome to Edx." text in the captions
# 11
Scenario
:
CC button works correctly w/o english transcript in HTML5 mode of Video component
...
...
@@ -205,17 +205,17 @@ Feature: LMS Video component
And I see duration "1
:
00"
# 21
Scenario
:
Download button works correctly for non-english transcript in Youtube mode of V
ideo component
Given
I am registered for the course
"test_course"
And
I have a
"chinese_transcripts.srt"
transcript file in assets
And
I have a
"subs_OEoXaMPEzfM.srt.sjson"
transcript file in assets
And it has a video in "Youtube" mode
:
|
transcripts
|
sub
|
download_track
|
|
{"zh":
"chinese_transcripts.srt"}
|
OEoXaMPEzfM
|
true
|
Then
I can download transcript in
"srt"
format that has text
"Hi, welcome to Edx."
And
I select language with code
"zh"
And
I see
"好 各位同学"
text in the captions
Then
I can download transcript in
"srt"
format that has text
"好 各位同学"
# Scenario: Download button works correctly for non-english transcript in Youtube mode of V#
ideo component
#
Given I am registered for the course "test_course"
#
And I have a "chinese_transcripts.srt" transcript file in assets
#
And I have a "subs_OEoXaMPEzfM.srt.sjson" transcript file in assets
#
And it has a video in "Youtube" mode:
#
| transcripts | sub | download_track |
#
| {"zh": "chinese_transcripts.srt"} | OEoXaMPEzfM | true |
#
Then I can download transcript in "srt" format that has text "Hi, welcome to Edx."
#
And I select language with code "zh"
#
And I see "好 各位同学" text in the captions
#
Then I can download transcript in "srt" format that has text "好 各位同学"
# 22
# Scenario: Download button works correctly for non-english transcript in HTML5 mode of Video component
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment