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
9f1c5dd1
Commit
9f1c5dd1
authored
Oct 18, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1400 from edx/will/fix-grading-test
Added explicit wait to avoid reading default grading value
parents
79f11de6
14b5f42c
Hide 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 @
9f1c5dd1
...
@@ -195,8 +195,12 @@ def i_change_grace_period(_step, grace_period):
...
@@ -195,8 +195,12 @@ def i_change_grace_period(_step, grace_period):
@step
(
u'I see the grace period is "(.*)"$'
)
@step
(
u'I see the grace period is "(.*)"$'
)
def
the_grace_period_is
(
_step
,
grace_period
):
def
the_grace_period_is
(
_step
,
grace_period
):
grace_period_css
=
'#course-grading-graceperiod'
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
):
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