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
fc899ab1
Commit
fc899ab1
authored
Aug 16, 2013
by
JonahStanley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stylistic change and factored out method to common
parent
43bee860
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
lms/djangoapps/courseware/features/common.py
+7
-0
lms/djangoapps/courseware/features/help.py
+0
-7
No files found.
lms/djangoapps/courseware/features/common.py
View file @
fc899ab1
...
...
@@ -66,6 +66,13 @@ def add_tab_to_course(_step, course, extra_tab_name):
display_name
=
str
(
extra_tab_name
))
@step
(
u'I am in a course$'
)
def
go_into_course
(
step
):
step
.
given
(
'I am registered for the course "6.002x"'
)
step
.
given
(
'And I am logged in'
)
step
.
given
(
'And I click on View Courseware'
)
def
course_id
(
course_num
):
return
"
%
s/
%
s/
%
s"
%
(
world
.
scenario_dict
[
'COURSE'
]
.
org
,
course_num
,
world
.
scenario_dict
[
'COURSE'
]
.
display_name
.
replace
(
" "
,
"_"
))
...
...
lms/djangoapps/courseware/features/help.py
View file @
fc899ab1
...
...
@@ -36,13 +36,6 @@ def see_confirmation(step):
assert
world
.
browser
.
evaluate_script
(
"$('input[value=
\"
Submit
\"
]').attr('disabled')"
)
==
'disabled'
@step
(
u'I am in a course'
)
def
go_into_course
(
step
):
step
.
given
(
'I am registered for the course "6.002x"'
)
step
.
given
(
'And I am logged in'
)
step
.
given
(
'And I click on View Courseware'
)
def
fill_field
(
name
,
info
):
def
fill_info
():
form_css
=
'form.feedback_form'
...
...
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