Fix flakiness on test (it wasn't waiting for jquery to be loaded)

This commit is contained in:
Ben Patterson
2017-02-27 12:11:18 -05:00
parent d439da4418
commit 4c527c370f

View File

@@ -144,6 +144,7 @@ class PersistentGradesTest(ProgressPageBaseTest):
subsection = self.course_outline.section(self.SECTION_NAME).subsection(self.SUBSECTION_NAME)
subsection.expand_subsection()
subsection.add_unit()
self.course_outline.wait_for_ajax()
subsection.publish()
def _set_staff_lock_on_subsection(self, locked):