Merge pull request #11776 from edx/efischer/tnl-4132

Flaky Matlab Tests
This commit is contained in:
Diana Huang
2016-03-14 13:42:04 -04:00

View File

@@ -39,5 +39,5 @@ class MatlabProblemPage(PageObject):
"""
Returns the text value of given class.
"""
self.wait_for_ajax()
self.wait_for_element_visibility(class_name, 'Grader message is visible')
return self.q(css=class_name).text