blob: 8c84a81ac894ad7447859e4d81f15c54ef6b8569 (
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
25
|
# frozen_string_literal: true
require 'spec_helper'
describe 'User activates JetBrains TeamCity CI' do
include_context 'project service activation'
before do
stub_request(:post, /.*teamcity.example.com.*/)
end
it 'activates service', :js do
visit_project_integration('JetBrains TeamCity CI')
check('Push')
check('Merge request')
fill_in('Teamcity url', with: 'http://teamcity.example.com')
fill_in('Build type', with: 'GitlabTest_Build')
fill_in('Username', with: 'user')
fill_in('Password', with: 'verySecret')
click_test_integration
expect(page).to have_content('JetBrains TeamCity CI activated.')
end
end
|