diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-09 00:07:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-09 00:07:12 +0300 |
commit | 58cad9b83fc4b319542586e2cab64e2fe7d12050 (patch) | |
tree | a5f94021664861ff5fdcbcfabc045c0a120d6133 /spec/helpers | |
parent | bb0d99269b1bee11939e6a3ddfcefed8c6fd4874 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/ci/jobs_helper_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/helpers/ci/jobs_helper_spec.rb b/spec/helpers/ci/jobs_helper_spec.rb index 315bda9b2c1..1394f536c72 100644 --- a/spec/helpers/ci/jobs_helper_spec.rb +++ b/spec/helpers/ci/jobs_helper_spec.rb @@ -19,14 +19,15 @@ RSpec.describe Ci::JobsHelper, feature_category: :continuous_integration do it 'returns jobs data' do expect(helper.jobs_data(project, job)).to include({ - "endpoint" => "/#{project.full_path}/-/jobs/#{job.id}.json", + "job_endpoint" => "/#{project.full_path}/-/jobs/#{job.id}.json", + "log_endpoint" => "/#{project.full_path}/-/jobs/#{job.id}/trace", + "test_report_summary_url" => "/#{project.full_path}/-/jobs/#{job.id}/test_report_summary.json", "page_path" => "/#{project.full_path}/-/jobs/#{job.id}", "project_path" => project.full_path, "artifact_help_url" => "/help/user/gitlab_com/index.md#gitlab-cicd", "deployment_help_url" => "/help/user/project/clusters/deploy_to_cluster.md#troubleshooting", "runner_settings_url" => "/#{project.full_path}/-/runners#js-runners-settings", "retry_outdated_job_docs_url" => "/help/ci/pipelines/settings#retry-outdated-jobs", - "test_report_summary_url" => "/#{project.full_path}/-/jobs/#{job.id}/test_report_summary.json", "pipeline_test_report_url" => "/#{project.full_path}/-/pipelines/#{job.pipeline.id}/test_report" }) end |