Merge pull request #11317 from edx/benp/test-edit-raw-old

[firefox upgrade] Wait for code mirror editor to be active
This commit is contained in:
Ben Patterson
2016-01-29 21:54:07 -05:00

View File

@@ -55,6 +55,7 @@ class HtmlComponentEditorView(ComponentEditorView):
"""
self.q(css=self.editor_mode_css).click()
self.q(css='[aria-label="Edit HTML"]').click()
self.wait_for_element_visibility('.mce-title', 'Wait for CodeMirror editor')
#Focus goes to the editor by default
ActionChains(self.browser).send_keys([Keys.CONTROL, 'a']).\