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
c68895ca
Commit
c68895ca
authored
Jul 02, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
world.css_click no longer returns a boolean
parent
cfa094e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cms/djangoapps/contentstore/features/advanced-settings.py
+2
-2
No files found.
cms/djangoapps/contentstore/features/advanced-settings.py
View file @
c68895ca
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#pylint: disable=W0621
#pylint: disable=W0621
from
lettuce
import
world
,
step
from
lettuce
import
world
,
step
from
nose.tools
import
assert_false
,
assert_equal
,
assert_regexp_matches
,
assert_true
from
nose.tools
import
assert_false
,
assert_equal
,
assert_regexp_matches
from
common
import
type_in_codemirror
from
common
import
type_in_codemirror
KEY_CSS
=
'.key input.policy-key'
KEY_CSS
=
'.key input.policy-key'
...
@@ -36,7 +36,7 @@ def press_the_notification_button(step, name):
...
@@ -36,7 +36,7 @@ def press_the_notification_button(step, name):
error_showing
=
world
.
is_css_present
(
'.is-shown.wrapper-notification-error'
)
error_showing
=
world
.
is_css_present
(
'.is-shown.wrapper-notification-error'
)
return
confirmation_dismissed
or
error_showing
return
confirmation_dismissed
or
error_showing
assert_true
(
world
.
css_click
(
css
,
success_condition
=
save_clicked
),
'Save button not clicked after 5 attempts.'
)
world
.
css_click
(
css
,
success_condition
=
save_clicked
)
@step
(
u'I edit the value of a policy key$'
)
@step
(
u'I edit the value of a policy key$'
)
...
...
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