Merge pull request #7416 from edx/cptvitamin/UX-1838-dashboard-heading-structure-n-context

adds additional context for SR users and corrects heading order
This commit is contained in:
Mark Sadecki
2015-03-24 13:51:33 -04:00
3 changed files with 8 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ class DashboardPage(PageObject):
@property
def username(self):
"""Return the displayed value for the user's username"""
return self.q(css='h1.user-name').text[0]
return self.q(css='.user-name').text[0]
def get_enrollment_mode(self, course_name):
"""Get the enrollment mode for a given course on the dashboard.