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
3b70b9b7
Commit
3b70b9b7
authored
Jun 14, 2017
by
Robert Raposa
Committed by
GitHub
Jun 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15322 from edx/robrap/bokchoy-comment
Add comment to save future self time.
parents
09e22f37
340fb2b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py
+6
-0
No files found.
common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py
View file @
3b70b9b7
...
@@ -239,6 +239,12 @@ class CoursewareSearchCohortTest(ContainerBase, CohortTestMixin):
...
@@ -239,6 +239,12 @@ class CoursewareSearchCohortTest(ContainerBase, CohortTestMixin):
def
test_cohorted_search_user_staff_masquerade_student_content
(
self
):
def
test_cohorted_search_user_staff_masquerade_student_content
(
self
):
"""
"""
Test staff user can search just student public content if selected from preview menu.
Test staff user can search just student public content if selected from preview menu.
NOTE: Although it would be wise to combine these masquerading tests into
a single test due to expensive setup, doing so revealed a very low
priority bug where searching seems to stick/cache the access of the
first user who searches for future searches.
"""
"""
self
.
_auto_auth
(
self
.
staff_user
[
"username"
],
self
.
staff_user
[
"email"
],
False
)
self
.
_auto_auth
(
self
.
staff_user
[
"username"
],
self
.
staff_user
[
"email"
],
False
)
self
.
_goto_staff_page
()
.
set_staff_view_mode
(
'Learner'
)
self
.
_goto_staff_page
()
.
set_staff_view_mode
(
'Learner'
)
...
...
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