test_locked_subsections_do_not_appear_in_lms

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/51/testReport/junit/acceptance.tests.studio.test_studio_outline/StaffLockTest/test_locked_subsections_do_not_appear_in_lms/
Link to PR removing test: https://github.com/edx/edx-platform/pull/17763

Test:

1 acceptance.tests.studio.test_studio_outline.StaffLockTest.test_locked_subsections_do_not_appear_in_lms

Error message:

1 PageLoadError: Timed out waiting to load page '<common.test.acceptance.pages.lms.course_home.CourseHomePage object at 0x7ff616008450>' at URL 'http://localhost:8003/courses/course-v1:test_org+38947062335715715349276127510725717969+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 self = <common.test.acceptance.tests.studio.test_studio_outline.StaffLockTest testMethod=test_locked_subsections_do_not_appear_in_lms> def test_locked_subsections_do_not_appear_in_lms(self): """ Scenario: A locked subsection is not visible to students in the LMS Given I have a course with two subsections When I enable explicit staff lock on one subsection And I click the View Live button to switch to staff view And I visit the course home with the outline Then I see two subsections in the outline And when I switch the view mode to student view Then I see one subsection in the outline """ self.course_outline_page.visit() self.course_outline_page.section_at(0).subsection_at(1).set_staff_lock(True) 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:891: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <common.test.acceptance.pages.lms.course_home.CourseHomePage object at 0x7ff616008450> @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 0x7ff616008450>' at URL 'http://localhost:8003/courses/course-v1:test_org+38947062335715715349276127510725717969+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