Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5c58685d
Commit
5c58685d
authored
Jan 06, 2022
by
Andrejs Cunskis
Committed by
Ramya Authappan
Jan 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve reliable test report issue title and labels
parent
43b6f69c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
qa/qa/tools/reliable_report.rb
qa/qa/tools/reliable_report.rb
+5
-1
qa/spec/tools/reliable_report_spec.rb
qa/spec/tools/reliable_report_spec.rb
+2
-2
No files found.
qa/qa/tools/reliable_report.rb
View file @
5c58685d
...
@@ -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
]
...
...
qa/spec/tools/reliable_report_spec.rb
View file @
5c58685d
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment