summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-04 17:45:07 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-05 18:38:35 +0900
commit1bfa818a1f3ac9c40a8d4fc727cfe848efcef962 (patch)
tree27907eae54897500b321fbc55475ddcb4f72c215 /spec/features
parent2f70f3fa35f4bce54350e87d75add4823d4b3ebe (diff)
downloadgitlab-ce-1bfa818a1f3ac9c40a8d4fc727cfe848efcef962.tar.gz
zj nice catchies 3
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/pipeline_schedules_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/projects/pipeline_schedules_spec.rb b/spec/features/projects/pipeline_schedules_spec.rb
index fa7f8561f46..7ab6b3f0b75 100644
--- a/spec/features/projects/pipeline_schedules_spec.rb
+++ b/spec/features/projects/pipeline_schedules_spec.rb
@@ -157,6 +157,7 @@ feature 'Pipeline Schedules', :feature, js: true do
create(:ci_pipeline_schedule, project: project, owner: user).tap do |pipeline_schedule|
create(:ci_pipeline_schedule_variable, key: 'AAA', value: 'AAA123', pipeline_schedule: pipeline_schedule)
end
+
visit_pipelines_schedules
find(".content-list .pipeline-schedule-table-row:nth-child(1) .btn-group a[title='Edit']").click
all('[name="schedule[variables_attributes][][key]"]')[0].set('foo')
@@ -178,6 +179,7 @@ feature 'Pipeline Schedules', :feature, js: true do
create(:ci_pipeline_schedule, project: project, owner: user).tap do |pipeline_schedule|
create(:ci_pipeline_schedule_variable, key: 'AAA', value: 'AAA123', pipeline_schedule: pipeline_schedule)
end
+
visit_pipelines_schedules
find(".content-list .pipeline-schedule-table-row:nth-child(1) .btn-group a[title='Edit']").click
find('.pipeline-variable-list .pipeline-variable-row-remove-button').click