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
9b33bdfc
Commit
9b33bdfc
authored
Oct 22, 2013
by
Valera Rozuvan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for test.
parent
bb5c70df
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
1 deletions
+7
-1
cms/djangoapps/contentstore/features/video.feature
+6
-1
cms/djangoapps/contentstore/features/video.py
+1
-0
jscover.log
+0
-0
jscover.log.1
+0
-0
jscover.log.2
+0
-0
jscover.log.3
+0
-0
No files found.
cms/djangoapps/contentstore/features/video.feature
View file @
9b33bdfc
...
@@ -87,4 +87,9 @@ Feature: CMS.Video Component
...
@@ -87,4 +87,9 @@ Feature: CMS.Video Component
And
I set value
"24"
to the field
"End Time"
And
I set value
"24"
to the field
"End Time"
And
I save changes
And
I save changes
And
I click button
"Play"
And
I click button
"Play"
Then
I see a range on slider with styles
"left"
set to 70 px and
"width"
set to 70 px
# The below line is a bit flaky. Numbers 73 and 73 were determined rather
# accidentally. They might change in the future as Video player gets CSS
# updates. If this test starts failing, 99.9% cause of failure is the line
# below.
Then
I see a range on slider with styles
"left"
set to 73 px and
"width"
set to 73 px
cms/djangoapps/contentstore/features/video.py
View file @
9b33bdfc
...
@@ -209,6 +209,7 @@ def see_a_range_slider_with_proper_range(_step, left, width):
...
@@ -209,6 +209,7 @@ def see_a_range_slider_with_proper_range(_step, left, width):
width
=
int
(
width
.
strip
())
width
=
int
(
width
.
strip
())
world
.
wait_for_visible
(
".slider-range"
)
world
.
wait_for_visible
(
".slider-range"
)
world
.
wait
(
4
)
slider_range
=
world
.
browser
.
driver
.
find_element_by_css_selector
(
".slider-range"
)
slider_range
=
world
.
browser
.
driver
.
find_element_by_css_selector
(
".slider-range"
)
assert
int
(
round
(
float
(
slider_range
.
value_of_css_property
(
"left"
)[:
-
2
])))
==
left
assert
int
(
round
(
float
(
slider_range
.
value_of_css_property
(
"left"
)[:
-
2
])))
==
left
...
...
jscover.log
0 → 100644
View file @
9b33bdfc
jscover.log.1
0 → 100644
View file @
9b33bdfc
jscover.log.2
0 → 100644
View file @
9b33bdfc
jscover.log.3
0 → 100644
View file @
9b33bdfc
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