Merge pull request #8351 from edx/learners-dont-need-to-be-lean

Learners don't need to be lean
This commit is contained in:
David Baumgold
2015-06-04 10:43:27 -04:00
2 changed files with 4 additions and 4 deletions

View File

@@ -487,9 +487,9 @@ class DiscussionUserProfilePage(CoursePage):
return (
self.q(css='section.discussion-user-threads[data-course-id="{}"]'.format(self.course_id)).present
and
self.q(css='section.user-profile a.leaner-profile-link').present
self.q(css='section.user-profile a.learner-profile-link').present
and
self.q(css='section.user-profile a.leaner-profile-link').text[0] == self.username
self.q(css='section.user-profile a.learner-profile-link').text[0] == self.username
)
@wait_for_js
@@ -571,7 +571,7 @@ class DiscussionUserProfilePage(CoursePage):
def click_on_sidebar_username(self):
self.wait_for_page()
self.q(css='.leaner-profile-link').first.click()
self.q(css='.learner-profile-link').first.click()
class DiscussionTabHomePage(CoursePage, DiscussionPageMixin):