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
b50c5f37
Commit
b50c5f37
authored
Aug 17, 2017
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove flaky test CoursewareSearchTest::test_reindex
parent
31292a68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
common/test/acceptance/tests/lms/test_lms_courseware_search.py
+0
-28
No files found.
common/test/acceptance/tests/lms/test_lms_courseware_search.py
View file @
b50c5f37
...
...
@@ -197,31 +197,3 @@ class CoursewareSearchTest(UniqueCourseTest):
# Do the search again in the legacy sidebar, this time we expect results.
self
.
assertTrue
(
self
.
_search_for_content_in_sidebar
(
self
.
SEARCH_STRING
,
False
))
def
test_reindex
(
self
):
"""
Make sure new content gets reindexed on button press.
"""
# Create content in studio without publishing.
self
.
_studio_add_content
(
1
)
# Do a search, there should be no results shown.
self
.
assertFalse
(
self
.
_search_for_content
(
self
.
EDITED_SEARCH_STRING
))
# Publish in studio to trigger indexing, and edit chapter name afterwards.
self
.
_studio_publish_content
(
1
)
# Do a ReIndex from studio to ensure that our stuff is updated before the next stage of the test
self
.
_studio_reindex
()
# Search after publish, there should still be no results shown.
self
.
assertFalse
(
self
.
_search_for_content
(
self
.
EDITED_SEARCH_STRING
))
self
.
_studio_edit_chapter_name
(
1
)
# Do a ReIndex from studio to ensure that our stuff is updated before the next stage of the test
self
.
_studio_reindex
()
# Do the search again, this time we expect results.
self
.
assertTrue
(
self
.
_search_for_content
(
self
.
EDITED_SEARCH_STRING
))
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