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
2c782b64
Commit
2c782b64
authored
Feb 08, 2021
by
Scott Hampton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update changelog and fix specs
Update changelog to have MR number. Fix specs to not have any `console.log`.
parent
9a5e0ae6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
changelogs/unreleased/267344-test-report-file-name-link.yml
changelogs/unreleased/267344-test-report-file-name-link.yml
+1
-1
spec/frontend/pipelines/test_reports/test_suite_table_spec.js
.../frontend/pipelines/test_reports/test_suite_table_spec.js
+0
-3
No files found.
changelogs/unreleased/267344-test-report-file-name-link.yml
View file @
2c782b64
---
title
:
Add link to test case file in pipeline test report
merge_request
:
merge_request
:
53650
author
:
type
:
added
spec/frontend/pipelines/test_reports/test_suite_table_spec.js
View file @
2c782b64
...
...
@@ -17,7 +17,6 @@ describe('Test reports suite table', () => {
const
{
test_suites
:
[
testSuite
],
}
=
getJSONFixture
(
'
pipelines/test_report.json
'
);
console
.
log
(
JSON
.
stringify
(
testSuite
.
test_cases
));
testSuite
.
test_cases
=
[...
testSuite
.
test_cases
,
...
skippedTestCases
];
const
testCases
=
testSuite
.
test_cases
;
...
...
@@ -93,8 +92,6 @@ describe('Test reports suite table', () => {
const
fileLink
=
findLinkForRow
(
row
);
const
button
=
row
.
find
(
GlButton
);
console
.
log
(
fileLink
.
attributes
(
'
href
'
),
file
);
expect
(
fileLink
.
attributes
(
'
href
'
)).
toBe
(
filePath
);
expect
(
row
.
text
()).
toContain
(
file
);
expect
(
button
.
exists
()).
toBe
(
true
);
...
...
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