Commit 41e1e27d by Eric Fischer Committed by Diana Huang

Wait for element visibility instead of AJAX.

parent 90c864d4
...@@ -39,5 +39,5 @@ class MatlabProblemPage(PageObject): ...@@ -39,5 +39,5 @@ class MatlabProblemPage(PageObject):
""" """
Returns the text value of given class. 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 return self.q(css=class_name).text
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