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
path: root/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-18 19:13:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-18 19:13:46 +0300
commit55a3913692e3341124adec08608f87e30c461603 (patch)
treec387967ee20374b9699fd1f669dd40b9570142e4 /spec
parentf1ed8e540f1755b939a41700f34c136a2b530c19 (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.rb13
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