'Make sure new content gets reindexed on button press.'

@flaky
def test_reindex(self):

    self._studio_add_content(1)
    self.assertFalse(self._search_for_content(self.EDITED_SEARCH_STRING))
    self._studio_publish_content(1)
    self._studio_reindex()
    self.assertFalse(self._search_for_content(self.EDITED_SEARCH_STRING))
    self._studio_edit_chapter_name(1)
    self._studio_reindex()
    self.assertTrue(self._search_for_content(self.EDITED_SEARCH_STRING))
