'Add some components and then verify that drag and drop still works.'

def test_drag_after_addition(self):

    group_a_menu = 0
    def add_new_components_and_rearrange(container):
        add_discussion(container, group_a_menu)
        container.duplicate(self.group_a_item_1_action_index)
        first_handle = self.group_a_item_1_handle
        drag(container, (first_handle + 3), first_handle, 40)
        drag(container, (first_handle + 2), first_handle, 40)
    duplicate_label = self.duplicate_label.format(self.group_a_item_1)
    expected_ordering = [{self.container_title: [self.group_a, self.group_empty, self.group_b]}, {self.group_a: [duplicate_label, self.discussion_label, self.group_a_item_1, self.group_a_item_2]}, {self.group_b: [self.group_b_item_1, self.group_b_item_2]}, {self.group_empty: []}]
    self.do_action_and_verify(add_new_components_and_rearrange, expected_ordering)
