Open "View Live Version" and "Preview Changes" in a new window

STUD-2058
This commit is contained in:
Ben McMorran
2014-08-05 14:47:05 -04:00
committed by cahrens
parent 9b6c9fead9
commit 391ab8469e
2 changed files with 3 additions and 2 deletions

View File

@@ -692,6 +692,7 @@ class UnitPublishingTest(ContainerBase):
Goes to the published version, then waits for the browser to load the page.
"""
unit.view_published_version()
self.assertEqual(len(self.browser.window_handles), 2)
self.courseware.wait_for_page()
def _verify_and_return_staff_page(self):