diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 12:16:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 12:16:11 +0300 |
commit | edaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch) | |
tree | 11f143effbfeba52329fb7afbd05e6e2a3790241 /qa/spec/support/formatters/test_stats_formatter_spec.rb | |
parent | d8a5691316400a0f7ec4f83832698f1988eb27c1 (diff) |
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to 'qa/spec/support/formatters/test_stats_formatter_spec.rb')
-rw-r--r-- | qa/spec/support/formatters/test_stats_formatter_spec.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/qa/spec/support/formatters/test_stats_formatter_spec.rb b/qa/spec/support/formatters/test_stats_formatter_spec.rb index 71ab9c1d541..2bfd7863653 100644 --- a/qa/spec/support/formatters/test_stats_formatter_spec.rb +++ b/qa/spec/support/formatters/test_stats_formatter_spec.rb @@ -56,13 +56,14 @@ describe QA::Support::Formatters::TestStatsFormatter do retry_attempts: 0, job_url: ci_job_url, pipeline_url: ci_pipeline_url, - pipeline_id: ci_pipeline_id + pipeline_id: ci_pipeline_id, + testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/1234' } } end def run_spec(&spec) - spec ||= -> { it('spec') {} } + spec ||= -> { it('spec', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/1234') {} } describe_successfully('stats export', &spec).tap do |example_group| example_group.examples.each { |ex| ex.metadata[:file_path] = file_path } @@ -131,7 +132,7 @@ describe QA::Support::Formatters::TestStatsFormatter do it 'exports data to influxdb with correct reliable tag' do run_spec do - it('spec', :reliable) {} + it('spec', :reliable, testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/1234') {} end expect(influx_write_api).to have_received(:write).with(data: [data]) @@ -143,7 +144,7 @@ describe QA::Support::Formatters::TestStatsFormatter do it 'exports data to influxdb with correct quarantine tag' do run_spec do - it('spec', :quarantine) {} + it('spec', :quarantine, testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/1234') {} end expect(influx_write_api).to have_received(:write).with(data: [data]) |