Conflicts: cms/djangoapps/contentstore/features/advanced-settings.feature cms/djangoapps/contentstore/features/checklists.feature cms/djangoapps/contentstore/features/component.feature cms/djangoapps/contentstore/features/course-overview.feature cms/djangoapps/contentstore/features/course-settings.feature cms/djangoapps/contentstore/features/course-team.feature cms/djangoapps/contentstore/features/course-updates.feature cms/djangoapps/contentstore/features/courses.feature cms/djangoapps/contentstore/features/discussion-editor.feature cms/djangoapps/contentstore/features/grading.feature cms/djangoapps/contentstore/features/html-editor.feature cms/djangoapps/contentstore/features/problem-editor.feature cms/djangoapps/contentstore/features/section.feature cms/djangoapps/contentstore/features/signup.feature cms/djangoapps/contentstore/features/static-pages.feature cms/djangoapps/contentstore/features/subsection.feature cms/djangoapps/contentstore/features/textbooks.feature cms/djangoapps/contentstore/features/upload.feature cms/djangoapps/contentstore/features/video-editor.feature cms/djangoapps/contentstore/features/video.feature lms/djangoapps/courseware/features/certificates.feature lms/djangoapps/courseware/features/help.feature lms/djangoapps/courseware/features/high-level-tabs.feature lms/djangoapps/courseware/features/homepage.feature lms/djangoapps/courseware/features/login.feature lms/djangoapps/courseware/features/lti.feature lms/djangoapps/courseware/features/navigation.feature lms/djangoapps/courseware/features/problems.feature lms/djangoapps/courseware/features/registration.feature lms/djangoapps/courseware/features/signup.feature lms/djangoapps/courseware/features/video.feature lms/djangoapps/courseware/features/word_cloud.feature
41 lines
2.0 KiB
Gherkin
41 lines
2.0 KiB
Gherkin
@shard_2
|
|
Feature: LMS.Video component
|
|
As a student, I want to view course videos in LMS.
|
|
|
|
Scenario: Video component is fully rendered in the LMS in HTML5 mode
|
|
Given the course has a Video component in HTML5 mode
|
|
Then when I view the video it has rendered in HTML5 mode
|
|
And all sources are correct
|
|
|
|
# Firefox doesn't have HTML5 (only mp4 - fix here)
|
|
@skip_firefox
|
|
Scenario: Autoplay is disabled in LMS for a Video component
|
|
Given the course has a Video component in HTML5 mode
|
|
Then when I view the video it does not have autoplay enabled
|
|
|
|
# Youtube testing
|
|
Scenario: Video component is fully rendered in the LMS in Youtube mode with HTML5 sources
|
|
Given youtube server is up and response time is 0.4 seconds
|
|
And the course has a Video component in Youtube_HTML5 mode
|
|
Then when I view the video it has rendered in Youtube mode
|
|
|
|
Scenario: Video component is not rendered in the LMS in Youtube mode with HTML5 sources
|
|
Given youtube server is up and response time is 2 seconds
|
|
And the course has a Video component in Youtube_HTML5 mode
|
|
Then when I view the video it has rendered in HTML5 mode
|
|
|
|
Scenario: Video component is rendered in the LMS in Youtube mode without HTML5 sources
|
|
Given youtube server is up and response time is 2 seconds
|
|
And the course has a Video component in Youtube mode
|
|
Then when I view the video it has rendered in Youtube mode
|
|
|
|
Scenario: Video component is rendered in the LMS in Youtube mode with HTML5 sources that doesn't supported by browser
|
|
Given youtube server is up and response time is 2 seconds
|
|
And the course has a Video component in Youtube_HTML5_Unsupported_Video mode
|
|
Then when I view the video it has rendered in Youtube mode
|
|
|
|
Scenario: Video component is rendered in the LMS in HTML5 mode with HTML5 sources that doesn't supported by browser
|
|
Given the course has a Video component in HTML5_Unsupported_Video mode
|
|
Then error message is shown
|
|
And error message has correct text
|