Wait for MathJax for tests, rather than MathJax.isReady
This commit is contained in:
@@ -68,8 +68,7 @@ VIDEO_MENUS = {
|
||||
}
|
||||
|
||||
|
||||
@js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery',
|
||||
'window.MathJax', 'window.MathJax.isReady')
|
||||
@js_defined('window.Video', 'window.jQuery', 'window.MathJax')
|
||||
class VideoPage(PageObject):
|
||||
"""
|
||||
Video player in the courseware.
|
||||
|
||||
@@ -91,8 +91,8 @@ FIELDS_WO_CLEAR = [
|
||||
DELAY = 0.5
|
||||
|
||||
|
||||
@js_defined('window.Video', 'window.RequireJS.require', 'window.jQuery', 'window.XModule', 'window.XBlock',
|
||||
'window.MathJax', 'window.MathJax.isReady')
|
||||
@js_defined('window.Video', 'window.jQuery', 'window.XModule', 'window.XBlock',
|
||||
'window.MathJax')
|
||||
class VideoComponentPage(VideoPage):
|
||||
"""
|
||||
CMS Video Component Page
|
||||
|
||||
Reference in New Issue
Block a user