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

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

RSpec.shared_context 'instance and group integration activation' do
  include_context 'integration activation'

  def click_save_integration
    click_save_changes_button
    click_save_settings_modal
  end

  def click_save_changes_button
    click_button('Save changes')
  end

  def click_save_settings_modal
    click_button('Save')
  end
end