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
1e1e6450
Commit
1e1e6450
authored
May 16, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pep8 fixes
parent
342b3bb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
cms/djangoapps/contentstore/features/subsection.py
+2
-0
common/djangoapps/terrain/browser.py
+2
-0
No files found.
cms/djangoapps/contentstore/features/subsection.py
View file @
1e1e6450
...
...
@@ -92,6 +92,7 @@ def the_subsection_does_not_exist(step):
css
=
'span.subsection-name'
assert
world
.
browser
.
is_element_not_present_by_css
(
css
)
@step
(
'I see the correct dates$'
)
def
i_see_the_correct_dates
(
step
):
assert_equal
(
'12/25/2011'
,
get_date
(
'input#start_date'
))
...
...
@@ -105,6 +106,7 @@ def i_see_the_correct_dates(step):
def
get_date
(
css
):
return
world
.
css_find
(
css
)
.
first
.
value
.
strip
()
def
save_subsection_name
(
name
):
name_css
=
'input.new-subsection-name-input'
save_css
=
'input.new-subsection-name-save'
...
...
common/djangoapps/terrain/browser.py
View file @
1e1e6450
...
...
@@ -38,6 +38,7 @@ LOGGER.info("Loading the lettuce acceptance testing terrain file...")
MAX_VALID_BROWSER_ATTEMPTS
=
20
@before.harvest
def
initial_setup
(
server
):
"""
...
...
@@ -73,6 +74,7 @@ def initial_setup(server):
if
not
success
:
raise
IOError
(
"Could not acquire valid ChromeDriver browser session."
)
@before.each_scenario
def
reset_data
(
scenario
):
"""
...
...
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