diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-18 19:13:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-18 19:13:46 +0300 |
commit | 55a3913692e3341124adec08608f87e30c461603 (patch) | |
tree | c387967ee20374b9699fd1f669dd40b9570142e4 /spec | |
parent | f1ed8e540f1755b939a41700f34c136a2b530c19 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-ee
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/pipeline_schedules_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/features/projects/pipeline_schedules_spec.rb b/spec/features/projects/pipeline_schedules_spec.rb index 322d25ed052..599f5a1ffb7 100644 --- a/spec/features/projects/pipeline_schedules_spec.rb +++ b/spec/features/projects/pipeline_schedules_spec.rb @@ -29,6 +29,19 @@ RSpec.describe 'Pipeline Schedules', :js, feature_category: :groups_and_projects expect(page).to have_content(s_('PipelineSchedules|Edit pipeline schedule')) end + + context 'when the owner is nil' do + before do + pipeline_schedule.update!(owner_id: nil, description: "#{FFaker::Product.product_name} pipeline schedule") + visit_pipelines_schedules + end + + it 'shows the pipeline' do + within_testid('pipeline-schedule-table-row') do + expect(page).to have_content(pipeline_schedule.description) + end + end + end end describe 'PATCH /projects/pipelines_schedules/:id/edit' do |