test_restricted_sections_for_enrollment_track_users_in_lms fails on firefox 59

Description

This test has been removed as it was failing on the new firefox version (59).
Link to test failure: https://build.testeng.edx.org/job/edx-platform-firefox-upgrade-bok-choy-master/48/testReport/junit/acceptance.tests.studio.test_studio_outline/UnitAccessTest/test_restricted_sections_for_enrollment_track_users_in_lms/
Link to PR removing test: https://github.com/edx/edx-platform/pull/17763

Test:

1 acceptance.tests.studio.test_studio_outline.UnitAccessTest.test_restricted_sections_for_enrollment_track_users_in_lms

Error message:

1 PageLoadError: Timed out waiting to load page '<common.test.acceptance.pages.lms.course_home.CourseHomePage object at 0x7f6719c8af10>' at URL 'http://localhost:8003/courses/course-v1:test_org+256112512012578459733730282736367728411+test_run/course/'

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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 self = <common.test.acceptance.tests.studio.test_studio_outline.UnitAccessTest testMethod=test_restricted_sections_for_enrollment_track_users_in_lms> def test_restricted_sections_for_enrollment_track_users_in_lms(self): """ Verify that those who are in an enrollment track with access to a restricted unit are able to see that unit in lms, and those who are in an enrollment track without access to a restricted unit are not able to see that unit in lms """ # Add just 1 enrollment track to verify the enrollment option isn't available in the modal add_enrollment_course_modes(self.browser, self.course_id, ["audit"]) self.course_outline_page.visit() self.course_outline_page.expand_all_subsections() unit = self.course_outline_page.section_at(0).subsection_at(0).unit_at(0) enrollment_select_options = unit.get_enrollment_select_options() self.assertFalse('Enrollment Track Groups' in enrollment_select_options) # Add the additional enrollment track so the unit access toggles should now be available add_enrollment_course_modes(self.browser, self.course_id, ["verified"]) self.course_outline_page.visit() self.course_outline_page.expand_all_subsections() unit = self.course_outline_page.section_at(0).subsection_at(0).unit_at(0) unit.toggle_unit_access('Enrollment Track Groups', [1]) # Hard coded 1 for audit ID self.course_outline_page.view_live() course_home_page = CourseHomePage(self.browser, self.course_id) > course_home_page.visit() common/test/acceptance/tests/studio/test_studio_outline.py:628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <common.test.acceptance.pages.lms.course_home.CourseHomePage object at 0x7f6719c8af10> @unguarded def visit(self): """ Open the page containing this page object in the browser. Some page objects may not provide a URL, in which case a `NotImplementedError` will be raised. Raises: PageLoadError: The page did not load successfully. NotImplementedError: The page object does not provide a URL to visit. Returns: PageObject """ if self.url is None: raise NotImplementedError("Page {} does not provide a URL to visit.".format(self)) # Validate the URL if not self.validate_url(self.url): raise PageLoadError("Invalid URL: '{}'".format(self.url)) # Visit the URL try: self.browser.get(self.url) except (WebDriverException, socket.gaierror): raise PageLoadError("Could not load page '{!r}' at URL '{}'".format( self, self.url )) # Give the browser enough time to get to the page, then return the page object # so that the caller can chain the call with an action: # Example: FooPage.visit().do_something() # # A BrokenPromise will be raised if the page object's is_browser_on_page method # does not return True before timing out. try: return self.wait_for_page() except BrokenPromise: raise PageLoadError("Timed out waiting to load page '{!r}' at URL '{}'".format( > self, self.url )) E PageLoadError: Timed out waiting to load page '<common.test.acceptance.pages.lms.course_home.CourseHomePage object at 0x7f6719c8af10>' at URL 'http://localhost:8003/courses/course-v1:test_org+256112512012578459733730282736367728411+test_run/course/' ../../edx-venv/local/lib/python2.7/site-packages/bok_choy/page_object.py:344: PageLoadError

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Attiya Ishaq

Reporter

Mike Youngstrom

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

Priority

CAT-3
Configure