From 41e1e27df521d1652243f8da7bdef487e90c2851 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 9 Mar 2016 15:37:12 -0500 Subject: [PATCH] Wait for element visibility instead of AJAX. --- common/test/acceptance/pages/lms/matlab_problem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/test/acceptance/pages/lms/matlab_problem.py b/common/test/acceptance/pages/lms/matlab_problem.py index c75b80fc57..ed02ca601d 100644 --- a/common/test/acceptance/pages/lms/matlab_problem.py +++ b/common/test/acceptance/pages/lms/matlab_problem.py @@ -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