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
14b5f42c
Commit
14b5f42c
authored
Oct 18, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added explicit wait to avoid reading default grading value
parent
70cea998
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
cms/djangoapps/contentstore/features/grading.py
+6
-2
No files found.
cms/djangoapps/contentstore/features/grading.py
View file @
14b5f42c
...
...
@@ -195,8 +195,12 @@ def i_change_grace_period(_step, grace_period):
@step
(
u'I see the grace period is "(.*)"$'
)
def
the_grace_period_is
(
_step
,
grace_period
):
grace_period_css
=
'#course-grading-graceperiod'
ele
=
world
.
css_find
(
grace_period_css
)
.
first
assert_equal
(
ele
.
value
,
grace_period
)
# The default value is 00:00
# so we need to wait for it to change
world
.
wait_for
(
lambda
_
:
world
.
css_has_value
(
grace_period_css
,
grace_period
)
)
def
get_type_index
(
name
):
...
...
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