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

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

require 'spec_helper'

RSpec.describe 'User activates Emails on push' do
  include_context 'project integration activation'

  it 'activates integration', :js do
    visit_project_integration('Emails on push')
    fill_in('Recipients', with: 'qa@company.name')

    click_test_then_save_integration(expect_test_to_fail: false)

    expect(page).to have_content('Emails on push settings saved and active.')
  end
end