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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user