Commit 5c58685d authored by Andrejs Cunskis's avatar Andrejs Cunskis Committed by Ramya Authappan

Improve reliable test report issue title and labels

parent 43b6f69c
...@@ -57,7 +57,11 @@ module QA ...@@ -57,7 +57,11 @@ module QA
puts "Creating report".colorize(:green) puts "Creating report".colorize(:green)
response = post( response = post(
"#{gitlab_api_url}/projects/#{PROJECT_ID}/issues", "#{gitlab_api_url}/projects/#{PROJECT_ID}/issues",
{ title: "Reliable spec report", description: report_issue_body, labels: "Quality,test" }, {
title: "Reliable e2e test report",
description: report_issue_body,
labels: "Quality,test,type::maintenance,reliable test report"
},
headers: { "PRIVATE-TOKEN" => gitlab_access_token } headers: { "PRIVATE-TOKEN" => gitlab_access_token }
) )
web_url = parse_body(response)[:web_url] web_url = parse_body(response)[:web_url]
......
...@@ -165,9 +165,9 @@ describe QA::Tools::ReliableReport do ...@@ -165,9 +165,9 @@ describe QA::Tools::ReliableReport do
verify_ssl: false, verify_ssl: false,
headers: { "PRIVATE-TOKEN" => "gitlab_token" }, headers: { "PRIVATE-TOKEN" => "gitlab_token" },
payload: { payload: {
title: "Reliable spec report", title: "Reliable e2e test report",
description: issue_body, description: issue_body,
labels: "Quality,test" labels: "Quality,test,type::maintenance,reliable test report"
} }
) )
expect(slack_notifier).to have_received(:post).with( expect(slack_notifier).to have_received(:post).with(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment