'Scenario: An unlocked unit with release date in the past is visible to students
Given I have a published unlocked unit with release date in the past
When I go to the unit page in Studio
Then the unit has a warning that it is visible to students
And it is marked as "RELEASED" with release date in the past visible
And when I click on the View Live Button
And when I view the course as a student
Then I see the content in the unit'

def test_initially_unlocked_visible_to_students(self):

    unit = self.go_to_unit_page('Unlocked    Section', 'Unlocked    Subsection', 'Unlocked    Unit')
    unit.verify_publish_title(self.PUBLISHED_LIVE_STATUS)
    self.assertTrue(unit.currently_visible_to_students)
    self._verify_release_date_info(unit, self.RELEASE_TITLE_RELEASED, ((self.past_start_date_text + '\n') + 'with    Section    "Unlocked    Section"'))
    self._view_published_version(unit)
    self._verify_student_view_visible(['problem'])
