Wait for element visibility instead of AJAX.
This commit is contained in:
committed by
Diana Huang
parent
90c864d418
commit
41e1e27df5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user