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

Entrance exam 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: Save confirmation message is visible

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 54 55 56 57 58 59 60 self = <common.test.acceptance.tests.lms.test_lms.EntranceExamTest testMethod=test_entrance_exam_section> def test_entrance_exam_section(self): """ Scenario: Any course that is enabled for an entrance exam, should have entrance exam section in the course outline. Given that I visit the course outline And entrance exams are not yet enabled Then I should not see an "Entrance Exam" section When I log in as staff And enable entrance exams And I visit the course outline again as student Then there should be an "Entrance Exam" chapter.' """ # visit the course outline and make sure there is no "Entrance Exam" section. self.course_home_page.visit() self.assertFalse('Entrance Exam' in self.course_home_page.outline.sections.keys()) # Logout and login as a staff. LogoutPage(self.browser).visit() AutoAuthPage(self.browser, course_id=self.course_id, staff=True).visit() # visit course settings page and set/enabled entrance exam for that course. self.settings_page.visit() self.settings_page.entrance_exam_field.click() > self.settings_page.save_changes() common/test/acceptance/tests/lms/test_lms.py:1076: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../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/studio/settings.py:285: in save_changes 'Save confirmation message is visible' ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/page_object.py:630: in wait_for_element_visibility self.wait_for(lambda: self.q(css=element_selector).visible, description=description, timeout=timeout) ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/page_object.py:573: in wait_for return EmptyPromise(no_selenium_errors(promise_check_func), description, timeout=timeout).fulfill() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <bok_choy.promise.EmptyPromise object at 0x7f40e22a1090> 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: Save confirmation message is visible ../../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/1100584

Tests Impacted:

acceptance.tests.lms.test_lms.EntranceExamTest.test_entrance_exam_section
acceptance.tests.lms.test_lms.EntranceExamTest.test_entrance_exam_section_2

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