summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/test/integration/mattermost.rb
blob: 7d0702afdb1adb8a896d73ab9712f52074468086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module QA
  module Scenario
    module Test
      module Integration
        ##
        # Run test suite against any GitLab instance where mattermost is enabled,
        # including staging and on-premises installation.
        #
        class Mattermost < Scenario::Entrypoint
          tags :core, :mattermost

          def perform(address, mattermost, *files)
            Runtime::Scenario.define(:mattermost_address, mattermost)

            super(address, *files)
          end
        end
      end
    end
  end
end