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
d1661fa6
Commit
d1661fa6
authored
Jul 12, 2013
by
JonahStanley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored recently merged in tests
parent
c37a9e3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
cms/djangoapps/contentstore/features/common.py
+1
-1
cms/djangoapps/contentstore/features/grading.py
+1
-2
No files found.
cms/djangoapps/contentstore/features/common.py
View file @
d1661fa6
...
@@ -233,7 +233,7 @@ def shows_captions(step, show_captions):
...
@@ -233,7 +233,7 @@ def shows_captions(step, show_captions):
def
save_button_disabled
(
step
):
def
save_button_disabled
(
step
):
button_css
=
'.action-save'
button_css
=
'.action-save'
disabled
=
'is-disabled'
disabled
=
'is-disabled'
assert
world
.
css_
find
(
button_css
)[
0
]
.
has_class
(
disabled
)
assert
world
.
css_
has_class
(
button_css
,
disabled
)
def
type_in_codemirror
(
index
,
text
):
def
type_in_codemirror
(
index
,
text
):
...
...
cms/djangoapps/contentstore/features/grading.py
View file @
d1661fa6
...
@@ -104,8 +104,7 @@ def populate_course(step):
...
@@ -104,8 +104,7 @@ def populate_course(step):
def
changes_not_persisted
(
step
):
def
changes_not_persisted
(
step
):
reload_the_page
(
step
)
reload_the_page
(
step
)
name_id
=
'#course-grading-assignment-name'
name_id
=
'#course-grading-assignment-name'
ele
=
world
.
css_find
(
name_id
)[
0
]
assert
(
world
.
css_value
(
name_id
)
==
'Homework'
)
assert
(
ele
.
value
==
'Homework'
)
@step
(
u'I see the assignment type "(.*)"$'
)
@step
(
u'I see the assignment type "(.*)"$'
)
...
...
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