summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/1_manage/group/create_group_with_mattermost_team_spec.rb
blob: 4b2b49b81397e3b785cd427218de2f017f67396e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

module QA
  RSpec.describe 'Configure', :orchestrated, :mattermost do
    describe 'Mattermost support' do
      it 'user creates a group with a mattermost team', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347890' do
        Flow::Login.sign_in
        Page::Main::Menu.perform(&:go_to_groups)

        Page::Dashboard::Groups.perform do |groups|
          groups.click_new_group

          Page::Group::New.perform do |group_new|
            group_new.click_create_group

            expect(group_new).to have_content(
              /Create a Mattermost team for this group/
            )
          end
        end
      end
    end
  end
end