diff options
author | Mark Lapierre <mlapierre@gitlab.com> | 2018-11-07 08:56:53 -0500 |
---|---|---|
committer | Mark Lapierre <mlapierre@gitlab.com> | 2018-11-07 08:56:53 -0500 |
commit | 8f779b0ed10a3b4c3ce87541d9aac7fed6924055 (patch) | |
tree | e81eb0a775ad31ef9ba6abd7107cf5df7937fa9a | |
parent | 0cd22a382ef390cda6dab001ab5e4738dd25b3a5 (diff) | |
download | gitlab-ce-8f779b0ed10a3b4c3ce87541d9aac7fed6924055.tar.gz |
Fix e2e create merge request testml-fix-create-merge-spec-qa
Add QA selector to 'New label' button on empty labels page
-rw-r--r-- | app/views/shared/empty_states/_labels.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/empty_states/_labels.html.haml b/app/views/shared/empty_states/_labels.html.haml index 9133ce8ed22..bee26cd8312 100644 --- a/app/views/shared/empty_states/_labels.html.haml +++ b/app/views/shared/empty_states/_labels.html.haml @@ -8,7 +8,7 @@ %p= _("You can also star a label to make it a priority label.") .text-center - if can?(current_user, :admin_label, @project) - = link_to _('New label'), new_project_label_path(@project), class: 'btn btn-success', title: _('New label'), id: 'new_label_link' + = link_to _('New label'), new_project_label_path(@project), class: 'btn btn-success qa-label-create-new', title: _('New label'), id: 'new_label_link' = link_to _('Generate a default set of labels'), generate_project_labels_path(@project), method: :post, class: 'btn btn-success btn-inverted', title: _('Generate a default set of labels'), id: 'generate_labels_link' - if can?(current_user, :admin_label, @group) = link_to _('New label'), new_group_label_path(@group), class: 'btn btn-success', title: _('New label'), id: 'new_label_link' |