Merge pull request #10137 from edx/chrome-bok-choy-all-tests-in-own-learner-profile-page-test

Fixed all tests in OwnLearnerProfilePageTest that were failing on Chrome
This commit is contained in:
raeeschachar
2015-10-14 17:47:19 +05:00

View File

@@ -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