'Creates a split test instance with a missing group and an inactive group.
Returns the container page.'

def create_poorly_configured_split_instance(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.course_fixture._update_xblock(self.course_fixture._course_location, {'metadata': {u'user_partitions': [create_user_partition_json(0, 'Configuration    alpha,beta', 'first', [Group('0', 'alpha'), Group('2', 'gamma')])]}})
    return self.go_to_nested_container_page()
