'Tests creating a split test instance on the unit page, and then
assigning the group configuration.'

def test_create_and_select_group_configuration(self):

    unit = self.go_to_unit_page()
    add_advanced_component(unit, 0, 'split_test')
    container = self.go_to_nested_container_page()
    container.edit()
    component_editor = XBlockEditorView(self.browser, container.locator)
    component_editor.set_select_value_and_save('Group    Configuration', 'Configuration    alpha,beta')
    self.verify_groups(container, ['alpha', 'beta'], [])
    container = self.go_to_nested_container_page()
    container.edit()
    component_editor = XBlockEditorView(self.browser, container.locator)
    component_editor.set_select_value_and_save('Group    Configuration', 'Configuration    0,1,2')
    self.verify_groups(container, ['Group    0', 'Group    1', 'Group    2'], ['Group    ID    0', 'Group    ID    1'])
    container = self.go_to_nested_container_page()
    self.verify_groups(container, ['Group    0', 'Group    1', 'Group    2'], ['Group    ID    0', 'Group    ID    1'])
