Commit 1cf7ccc3 by Mark Sadecki

dropped element selector in CSS and test file

parent 57d7973c
......@@ -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.
......
......@@ -20,7 +20,7 @@
width: flex-grid(12);
background: $dashboard-profile-color;
h1.user-name {
h2.user-name {
overflow: hidden;
margin: 0;
padding: ($baseline*0.75) ($baseline/2);
......@@ -28,6 +28,7 @@
text-transform: none;
text-wrap: nowrap;
text-overflow: ellipsis;
text-align: center;
font: 700 1.2em/1.2em $sans-serif;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment