diff options
author | Sean McGivern <sean@gitlab.com> | 2019-07-30 15:29:17 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-01 13:07:27 +0300 |
commit | 4d90aa83a0d718fb3f412e98f64963b623887004 (patch) | |
tree | 78dec9d2562d74ad957aa16629d757fe824bfd45 /spec/features/groups/labels | |
parent | c4a8f45f7d5f6873f912004e77af1da2f96fd831 (diff) |
Fix labels issuable link specs
Diffstat (limited to 'spec/features/groups/labels')
-rw-r--r-- | spec/features/groups/labels/user_sees_links_to_issuables_spec.rb | 6 |
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 |