'Scenario: "View Live" shows newly published content
Given I have a published unit with no unpublished changes
When I go to the unit page in Studio
And when I add a component to the unit
And when I click the Publish button
And when I click on the View Live button
Then I see the newly published component'

def test_view_live_after_publish(self):

    unit = self.go_to_unit_page()
    add_discussion(unit)
    unit.publish_action.click()
    self._view_published_version(unit)
    self._verify_components_visible(['html', 'discussion'])
