add_check_constraint:analytics_devops_adoption_segment_selections,'(project_id != NULL AND group_id IS NULL) OR (group_id != NULL AND project_id IS NULL)',CONSTRAINT_NAME
expect(selection.errors[:group]).toeq([s_('DevopsAdoptionSegmentSelection|The selection cannot be configured for a project and for a group at the same time')])