Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_sees_links_to_issuables_spec.rb « labels « groups « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0508633065e26c8c36f1b5b39df134f76ff5917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'Groups > Labels > User sees links to issuables' do
  let_it_be(:group) { create(:group, :public) }

  before do
    create(:group_label, group: group, title: 'bug')
    visit group_labels_path(group)
  end

  it 'shows links to MRs and issues' do
    page.within('.labels-container') do
      expect(page).to have_link('Merge requests')
      expect(page).to have_link('Issues')
    end
  end
end