summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/shared_attributes.rb
blob: ddbe28f05d9c8f9cf19611b3cfee80524695f514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module QA
  module Scenario
    module SharedAttributes
      include Bootable

      attribute :gitlab_address, '--address URL', 'Address of the instance to test'
      attribute :enable_feature, '--enable-feature FEATURE_FLAG', 'Enable a feature before running tests'
      attribute :disable_feature, '--disable-feature FEATURE_FLAG', 'Disable a feature before running tests'
      attribute :set_feature_flags, '--set-feature-flags FEATURE_FLAGS',
        'Set one or more feature flags before running tests. ' \
        'Specify FEATURE_FLAGS as comma-separated flag=state pairs, e.g., "flag1=enabled,flag2=disabled"'
      attribute :parallel, '--parallel', 'Execute tests in parallel'
      attribute :loop, '--loop', 'Execute test repeatedly'
    end
  end
end