We're updating the issue view to help you get more done. 

Own learner profile tests failing on Firefox 57

Description

Reference for Bok Choy upgrade process: https://openedx.atlassian.net/wiki/spaces/TE/pages/567083109/Firefox+57+upgrade+for+Bok+Choy+tests

Description: As part of the Firefox upgrade on Jenkins, the following tests are failing, and need to be fixed

Error Msg:

1 BrokenPromise: Promise not satisfied: Executing BrowserQuery(css='.upload-submit').first.map(click())

Stack trace

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 self = <common.test.acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest testMethod=test_eventing_after_multiple_uploads> def test_eventing_after_multiple_uploads(self): """ Scenario: An event is fired when a user with a profile image uploads another image Given that I am on my profile page with public access And I upload a new image via file uploader When I upload another image via the file uploader Then two upload events have been emitted """ username, user_id = self.log_in_as_unique_user() profile_page = self.visit_profile_page(username, privacy=self.PRIVACY_PUBLIC) self.assert_default_image_has_public_access(profile_page) with self.verify_pref_change_event_during( username, user_id, 'profile_image_uploaded_at', table='auth_userprofile' ): > profile_page.upload_file(filename='image.jpg') common/test/acceptance/tests/lms/test_learner_profile.py:686: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/page_object.py:122: in wrapper return method(self, *args, **kwargs) common/test/acceptance/pages/lms/learner_profile.py:287: in upload_file self.q(css='.upload-submit').first.click() ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/query.py:487: in click self.map(lambda el: el.click(), 'click()').execute() ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/query.py:225: in execute timeout=timeout, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <bok_choy.promise.Promise object at 0x7f99110e6a90> def fulfill(self): """ Evaluate the promise and return the result. Returns: The result of the `Promise` (second return value from the `check_func`) Raises: BrokenPromise: the `Promise` was not satisfied within the time or attempt limits. """ is_fulfilled, result = self._check_fulfilled() if is_fulfilled: return result else: > raise BrokenPromise(self) E BrokenPromise: Promise not satisfied: Executing BrowserQuery(css='.upload-submit').first.map(click()) ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/promise.py:106: BrokenPromise

Link to failing build: https://build.testeng.edx.org/job/edx-platform-test-subset/1100582/

Tests Impacted:

acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest.test_eventing_after_multiple_uploads
acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest.test_user_can_remove_profile_image
acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest.test_user_can_see_error_for_exceeding_max_file_size_limit
acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest.test_user_can_see_error_for_file_size_below_the_min_limit
acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest.test_user_can_see_error_for_wrong_file_type
acceptance.tests.lms.test_learner_profile.OwnLearnerProfilePageTest.test_user_can_upload_the_profile_image_with_success

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Mike Youngstrom

Reporter

Stuart Young

Reach

None

Impact

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Stakeholders

None

Sprint

None

Priority

CAT-3