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
fc285ee4
Commit
fc285ee4
authored
Aug 19, 2014
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4864 from edx/ammar/fix-pause-state-promise-broken-issue
Fix Video Player Pause Issue
parents
a3c2a54b
ebee3c40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
common/test/acceptance/pages/lms/video/video.py
+5
-0
No files found.
common/test/acceptance/pages/lms/video/video.py
View file @
fc285ee4
...
@@ -349,6 +349,11 @@ class VideoPage(PageObject):
...
@@ -349,6 +349,11 @@ class VideoPage(PageObject):
"""
"""
button_selector
=
self
.
get_element_selector
(
VIDEO_BUTTONS
[
button
])
button_selector
=
self
.
get_element_selector
(
VIDEO_BUTTONS
[
button
])
# If we are going to click pause button, Ensure that player is not in buffering state
if
button
==
'pause'
:
self
.
wait_for
(
lambda
:
self
.
state
!=
'buffering'
,
'Player is Ready for Pause'
)
self
.
q
(
css
=
button_selector
)
.
first
.
click
()
self
.
q
(
css
=
button_selector
)
.
first
.
click
()
button_states
=
{
'play'
:
'playing'
,
'pause'
:
'pause'
}
button_states
=
{
'play'
:
'playing'
,
'pause'
:
'pause'
}
...
...
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