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
b03c4eca
Commit
b03c4eca
authored
Mar 26, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Opening wiki editor should be extracted into a method.
parent
6e2e40cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
common/test/acceptance/tests/lms/test_lms.py
+5
-2
No files found.
common/test/acceptance/tests/lms/test_lms.py
View file @
b03c4eca
...
...
@@ -456,6 +456,10 @@ class CourseWikiTest(UniqueCourseTest):
self
.
course_info_page
.
visit
()
self
.
tab_nav
.
go_to_tab
(
'Wiki'
)
def
_open_editor
(
self
):
self
.
course_wiki_page
.
open_editor
()
self
.
course_wiki_edit_page
.
wait_for_page
()
def
test_edit_course_wiki
(
self
):
"""
Wiki page by default is editable for students.
...
...
@@ -466,8 +470,7 @@ class CourseWikiTest(UniqueCourseTest):
"""
content
=
"hello"
self
.
course_wiki_page
.
open_editor
()
self
.
course_wiki_edit_page
.
wait_for_page
()
self
.
_open_editor
()
self
.
course_wiki_edit_page
.
replace_wiki_content
(
content
)
self
.
course_wiki_edit_page
.
save_wiki_content
()
actual_content
=
unicode
(
self
.
course_wiki_page
.
q
(
css
=
'.wiki-article p'
)
.
text
[
0
])
...
...
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