summaryrefslogtreecommitdiff
path: root/spec/features/groups
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2018-06-28 13:24:54 +0000
committerPhil Hughes <me@iamphill.com>2018-06-28 13:24:54 +0000
commitfae42270c4cb4ac4c9b637dac00a585988e3151e (patch)
treec4dc155ee35de282e0806c0b87c8b585f8a47119 /spec/features/groups
parente28896ce0d812105291eccd140f29d0d94919f9c (diff)
downloadgitlab-ce-fae42270c4cb4ac4c9b637dac00a585988e3151e.tar.gz
Resolve "No UI element to edit group label"
Diffstat (limited to 'spec/features/groups')
-rw-r--r--spec/features/groups/labels/index_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/features/groups/labels/index_spec.rb b/spec/features/groups/labels/index_spec.rb
new file mode 100644
index 00000000000..6c1b43a9013
--- /dev/null
+++ b/spec/features/groups/labels/index_spec.rb
@@ -0,0 +1,17 @@
+require 'spec_helper'
+
+feature 'Group labels' do
+ let(:user) { create(:user) }
+ let(:group) { create(:group) }
+ let!(:label) { create(:group_label, group: group) }
+
+ background do
+ group.add_owner(user)
+ sign_in(user)
+ visit group_labels_path(group)
+ end
+
+ scenario 'label has edit button', :js do
+ expect(page).to have_selector('.label-action.edit')
+ end
+end