Create library test 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: Switch to library tab

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 self = <common.test.acceptance.tests.studio.test_studio_home.CreateLibraryTest testMethod=test_create_library> def test_create_library(self): """ From the home page: Click "New Library" Fill out the form Submit the form We should be redirected to the edit view for the library Return to the home page The newly created library should now appear in the list of libraries """ unique_suffix = uuid4().hex[:4] name = "New Library Name " + unique_suffix org = "TestOrgX" + unique_suffix number = "TESTLIB_" + unique_suffix self.auth_page.visit() self.dashboard_page.visit() > self.assertFalse(self.dashboard_page.has_library(name=name, org=org, number=number)) common/test/acceptance/tests/studio/test_studio_home.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../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/index.py:261: in has_library for lib in self.list_libraries(): ../../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/index.py:245: in list_libraries self.wait_for_element_visibility('.libraries-tab .new-library-button', "Switch to library tab") ../../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 0x7fe82b986590> 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: Switch to library tab ../../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/1100585

Tests Impacted:

acceptance.tests.studio.test_studio_home.CreateLibraryTest.test_create_library

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
Configure