Commit 9e30bdb2 by Marko Jevtic

(SOL-835) Addressing flakiness of the reindex acceptance test

parent 099be9e7
...@@ -207,6 +207,7 @@ def set_input_value_and_save(page, css, value): ...@@ -207,6 +207,7 @@ def set_input_value_and_save(page, css, value):
Sets the text field with given label (display name) to the specified value, and presses Save. Sets the text field with given label (display name) to the specified value, and presses Save.
""" """
set_input_value(page, css, value).send_keys(Keys.ENTER) set_input_value(page, css, value).send_keys(Keys.ENTER)
page.wait_for_ajax()
def drag(page, source_index, target_index, placeholder_height=0): def drag(page, source_index, target_index, placeholder_height=0):
......
...@@ -5,7 +5,6 @@ import os ...@@ -5,7 +5,6 @@ import os
import json import json
from nose.plugins.attrib import attr from nose.plugins.attrib import attr
from flaky import flaky
from ..helpers import UniqueCourseTest from ..helpers import UniqueCourseTest
from ...pages.common.logout import LogoutPage from ...pages.common.logout import LogoutPage
...@@ -177,7 +176,6 @@ class CoursewareSearchTest(UniqueCourseTest): ...@@ -177,7 +176,6 @@ class CoursewareSearchTest(UniqueCourseTest):
# Do the search again, this time we expect results. # Do the search again, this time we expect results.
self.assertTrue(self._search_for_content(self.SEARCH_STRING)) self.assertTrue(self._search_for_content(self.SEARCH_STRING))
@flaky # TODO fix SOL-835
def test_reindex(self): def test_reindex(self):
""" """
Make sure new content gets reindexed on button press. Make sure new content gets reindexed on button press.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment