'Scenario: When previewing as a learner in group alpha, only content visible to alpha is shown
Given I have a course with a cohort user partition
And problems that are associated with specific groups in the user partition
When I view the courseware in the LMS with staff access
And I change to previewing as a Learner in group alpha
Then I see only problems visible to group alpha'

@attr(shard=3)
def test_as_student_in_alpha(self):

    course_page = self._goto_staff_page()
    course_page.set_staff_view_mode('Learner    in    alpha')
    verify_expected_problem_visibility(self, course_page, [self.alpha_text, self.everyone_text])
