diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-04 17:45:07 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-05 18:38:35 +0900 |
commit | 1bfa818a1f3ac9c40a8d4fc727cfe848efcef962 (patch) | |
tree | 27907eae54897500b321fbc55475ddcb4f72c215 /spec/features/projects/pipeline_schedules_spec.rb | |
parent | 2f70f3fa35f4bce54350e87d75add4823d4b3ebe (diff) | |
download | gitlab-ce-1bfa818a1f3ac9c40a8d4fc727cfe848efcef962.tar.gz |
zj nice catchies 3
Diffstat (limited to 'spec/features/projects/pipeline_schedules_spec.rb')
-rw-r--r-- | spec/features/projects/pipeline_schedules_spec.rb | 2 |
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 |