'Test if we can move a component successfully.
Given I am a staff user
And I go to unit page in first section
And I open the move modal
And I navigate to unit in second section
And I see move button is enabled
When I click on the move button
Then I see move operation success message
And When I click on take me there link
Then I see moved component there.'

def test_move_component_successfully(self):

    unit_page = self.go_to_unit_page(unit_name='Test    Unit    1')
    components = unit_page.displayed_children
    self.assertEqual(len(components), 2)
    self.verify_move_opertions(unit_page=unit_page, source_component=components[0], operation='move', component_display_names_after_operation=['HTML    21', 'HTML    22', 'HTML    11'])
