Fixes view and preview buttons on unit page

This commit is contained in:
Ben McMorran
2014-07-15 17:29:28 -04:00
committed by cahrens
parent bfb6db76fb
commit d223e5ba7f
4 changed files with 8 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ class ContainerPage(PageObject):
Switches the browser to the newly opened LMS window.
"""
self.q(css='.view-button').first.click()
self.q(css='.button-view').first.click()
self._switch_to_lms()
def preview(self):
@@ -111,7 +111,7 @@ class ContainerPage(PageObject):
Switches the browser to the newly opened LMS window.
"""
self.q(css='.preview-button').first.click()
self.q(css='.button-preview').first.click()
self._switch_to_lms()
def _switch_to_lms(self):