Skip to content
Snippets Groups Projects
Commit 0369a245 authored by raeeschachar's avatar raeeschachar
Browse files

Merge pull request #10132 from edx/chrome-bok-choy-test-as-student-in-alpha-plus-beta

Fixed test, test as student in alpha and beta failing on chrome
parents 884569a5 b69cbfa1
No related merge requests found
......@@ -30,7 +30,7 @@ class StaffPage(CoursewarePage):
"""
Set the current view mode, e.g. "Staff", "Student" or a content group.
"""
self.q(css=self.VIEW_MODE_OPTIONS_CSS).filter(lambda el: el.text == view_mode).first.click()
self.q(css=self.VIEW_MODE_OPTIONS_CSS).filter(lambda el: el.text.strip() == view_mode).first.click()
self.wait_for_ajax()
def set_staff_view_mode_specific_student(self, username_or_email):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment