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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2018-04-17 19:37:16 +0300
committerJose <jivanvl@hotmail.com>2018-04-20 20:48:04 +0300
commitea7127dea929bd47b9142f1550841e196898b7b3 (patch)
treeccf9699d155555232a6ce8ffe990e7068f76ec7c /spec/features/projects/settings/pipelines_settings_spec.rb
parent4745361c1f714812d6d07ba5b8a1dc686e9e74e4 (diff)
Changed anchor not to have the js prefix, add i18n
Diffstat (limited to 'spec/features/projects/settings/pipelines_settings_spec.rb')
-rw-r--r--spec/features/projects/settings/pipelines_settings_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/projects/settings/pipelines_settings_spec.rb b/spec/features/projects/settings/pipelines_settings_spec.rb
index 03e24471621..e875a88a52b 100644
--- a/spec/features/projects/settings/pipelines_settings_spec.rb
+++ b/spec/features/projects/settings/pipelines_settings_spec.rb
@@ -29,13 +29,13 @@ describe "Projects > Settings > Pipelines settings" do
fill_in('Test coverage parsing', with: 'coverage_regex')
- page.within '.general-ci-settings' do
+ page.within '#js-general-pipeline-settings' do
click_on 'Save changes'
end
expect(page.status_code).to eq(200)
- page.within '.general-ci-settings' do
+ page.within '#js-general-pipeline-settings' do
expect(page).to have_button('Save changes', disabled: false)
end
@@ -46,13 +46,13 @@ describe "Projects > Settings > Pipelines settings" do
visit project_settings_ci_cd_path(project)
page.check('Auto-cancel redundant, pending pipelines')
- page.within '.general-ci-settings' do
+ page.within '#js-general-pipeline-settings' do
click_on 'Save changes'
end
expect(page.status_code).to eq(200)
- page.within '.general-ci-settings' do
+ page.within '#js-general-pipeline-settings' do
expect(page).to have_button('Save changes', disabled: false)
end
@@ -64,7 +64,7 @@ describe "Projects > Settings > Pipelines settings" do
it 'update auto devops settings' do
visit project_settings_ci_cd_path(project)
- page.within '.autodevops-settings' do
+ page.within '#autodevops-settings' do
fill_in('project_auto_devops_attributes_domain', with: 'test.com')
page.choose('project_auto_devops_attributes_enabled_false')
click_on 'Save changes'