summaryrefslogtreecommitdiff
path: root/spec/features/groups
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-07-30 13:29:17 +0100
committerSean McGivern <sean@gitlab.com>2019-08-01 11:07:27 +0100
commit4d90aa83a0d718fb3f412e98f64963b623887004 (patch)
tree78dec9d2562d74ad957aa16629d757fe824bfd45 /spec/features/groups
parentc4a8f45f7d5f6873f912004e77af1da2f96fd831 (diff)
downloadgitlab-ce-4d90aa83a0d718fb3f412e98f64963b623887004.tar.gz
Fix labels issuable link specs
Diffstat (limited to 'spec/features/groups')
-rw-r--r--spec/features/groups/labels/user_sees_links_to_issuables_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb b/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
index e636f625b31..6199b566ebc 100644
--- a/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
+++ b/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
@@ -11,7 +11,9 @@ describe 'Groups > Labels > User sees links to issuables' do
end
it 'shows links to MRs and issues' do
- expect(page).to have_link('view merge requests')
- expect(page).to have_link('view open issues')
+ page.within('.labels-container') do
+ expect(page).to have_link('Merge requests')
+ expect(page).to have_link('Issues')
+ end
end
end