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
c6d23731
Commit
c6d23731
authored
Feb 10, 2016
by
raeeschachar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test_video_component_stores_speed_correctly_for_multiple_videos failing on Chrome
parent
ccbd88ac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
common/test/acceptance/pages/lms/course_nav.py
+2
-0
common/test/acceptance/pages/lms/video/video.py
+2
-0
common/test/acceptance/tests/video/test_video_module.py
+3
-0
No files found.
common/test/acceptance/pages/lms/course_nav.py
View file @
c6d23731
...
...
@@ -126,6 +126,8 @@ class CourseNavPage(PageObject):
# Convert the list index (starts at 0) to a CSS index (starts at 1)
seq_css
=
"ol#sequence-list>li:nth-of-type({0})>a"
.
format
(
seq_index
+
1
)
self
.
q
(
css
=
seq_css
)
.
first
.
click
()
# Click triggers an ajax event
self
.
wait_for_ajax
()
def
_section_titles
(
self
):
"""
...
...
common/test/acceptance/pages/lms/video/video.py
View file @
c6d23731
...
...
@@ -443,6 +443,8 @@ class VideoPage(PageObject):
speed_selector
=
self
.
get_element_selector
(
'li[data-speed="{speed}"] .control'
.
format
(
speed
=
speed
))
self
.
q
(
css
=
speed_selector
)
.
first
.
click
()
# Click triggers an ajax event
self
.
wait_for_ajax
()
def
verify_speed_changed
(
self
,
expected_speed
):
"""
...
...
common/test/acceptance/tests/video/test_video_module.py
View file @
c6d23731
...
...
@@ -679,14 +679,17 @@ class YouTubeVideoTest(VideoBaseTest):
# select the "2.0" speed on video "A"
self
.
course_nav
.
go_to_sequential
(
'A'
)
self
.
video
.
wait_for_video_player_render
()
self
.
video
.
speed
=
'2.0'
# select the "0.50" speed on video "B"
self
.
course_nav
.
go_to_sequential
(
'B'
)
self
.
video
.
wait_for_video_player_render
()
self
.
video
.
speed
=
'0.50'
# open video "C"
self
.
course_nav
.
go_to_sequential
(
'C'
)
self
.
video
.
wait_for_video_player_render
()
# Since the playback speed was set to .5 in "B", this video will also be impacted
# because a playback speed has never explicitly been set for it. However, this video
...
...
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