Commit b0fd4713 by raeeschachar

Fixed all tests in OwnLearnerProfilePageTest that were failing on Chrome

parent 884569a5
......@@ -217,11 +217,8 @@ class LearnerProfilePage(FieldsMixin, PageObject):
self.browser.execute_script('$(".upload-submit").show();')
# First send_keys will initialize the jquery auto upload plugin.
self.q(css='.upload-button-input').results[0].send_keys(file_path)
self.q(css='.upload-submit').first.click()
self.q(css='.upload-button-input').results[0].send_keys(file_path)
self.wait_for_ajax()
@property
......
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