Commit 7f23c65a by Eric Fischer

Merge pull request #880 from edx/efischer/acceptance_mathjax_fix

Update mathjax test
parents 9d4d41cb 2e1ab2bd
......@@ -102,7 +102,7 @@ class SubmissionPage(OpenAssessmentPage):
def preview_latex(self):
# Click 'Preview in LaTeX' button on the page.
self.q(css="button#submission__preview").click()
self.wait_for_element_visibility("#preview_content .MathJax", "Verify Preview LaTeX expression")
self.wait_for_element_visibility("#preview_content .MathJax_CHTML", "Verify Preview LaTeX expression")
def select_file(self, file_path_name):
"""
......
......@@ -78,7 +78,7 @@ class OpenAssessmentTest(WebAppTest):
}
SUBMISSION = u"This is a test submission."
LATEX_SUBMISSION = u"[mathjaxinline]( \int_{0}^{1}xdx \)[/mathjaxinline]"
LATEX_SUBMISSION = u"[mathjaxinline]( \int_{0}^{1}xdx )[/mathjaxinline]"
OPTIONS_SELECTED = [1, 2]
STAFF_OVERRIDE_OPTIONS_SELECTED = [0, 1]
STAFF_OVERRIDE_SCORE = 1
......
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