Skip to content

Commit 4c177cb

Browse files
committed
feat: adds create new github issue button on test page
Fixes: #967 Signed-off-by: Suhas Khobragade <[email protected]>
1 parent 538768f commit 4c177cb

File tree

1 file changed

+17
-0
lines changed
  • test-result-summary-client/src/Build/Output

1 file changed

+17
-0
lines changed

test-result-summary-client/src/Build/Output/Output.jsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,23 @@ const Output = () => {
156156
</Tooltip>{' '}
157157
</a>
158158
)}
159+
{data.testId && data.buildId && (
160+
<>
161+
<Divider type="vertical" />
162+
<Link
163+
to={{
164+
pathname: '/gitNewIssue',
165+
search: params({ testId, buildId }),
166+
}}
167+
target="_blank"
168+
rel="noopener noreferrer"
169+
>
170+
<Tooltip title="Create new Github issue">
171+
<GithubOutlined />
172+
</Tooltip>
173+
</Link>
174+
</>
175+
)}
159176
{data.buildUrl && (
160177
<>
161178
<Divider type="vertical" />

0 commit comments

Comments
 (0)