'Scenario: The publish title displays correctly for units that are not live
Given I have a published unit with no unpublished changes that releases in the future
When I go to the unit page in Studio
Then the title in the Publish information box is "Published (not yet released)"
And when I add a component to the unit
Then the title in the Publish information box is "Draft (Unpublished changes)"
And when I click the Publish button
Then the title in the Publish information box is "Published (not yet released)"'

def test_published_not_live(self):

    unit = self.go_to_unit_page('Unreleased    Section', 'Unreleased    Subsection', 'Unreleased    Unit')
    unit.verify_publish_title(self.PUBLISHED_STATUS)
    add_discussion(unit)
    unit.verify_publish_title(self.DRAFT_STATUS)
    unit.publish_action.click()
    unit.wait_for_ajax()
    unit.verify_publish_title(self.PUBLISHED_STATUS)
