diff options
author | Luke Bennett <lbennett@gitlab.com> | 2018-06-28 16:24:54 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-28 16:24:54 +0300 |
commit | fae42270c4cb4ac4c9b637dac00a585988e3151e (patch) | |
tree | c4dc155ee35de282e0806c0b87c8b585f8a47119 /spec/features | |
parent | e28896ce0d812105291eccd140f29d0d94919f9c (diff) |
Resolve "No UI element to edit group label"
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/groups/labels/index_spec.rb | 17 |
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 |