Skip to content

Commit

Permalink
collect urls for the spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Aug 11, 2021
1 parent 2a38a54 commit 710d03c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ReportConverter {
spec.tests << [
num : reportLine.spec.test.num,
label : reportLine.spec.test.label,
urls : [],
reports: []
]
}
Expand All @@ -37,6 +38,11 @@ class ReportConverter {
url : reportLine.spec.test.report.url,
files: []
]

//add url to list of urls if its not already there
if (test.urls.indexOf(reportLine.spec.test.report.url) == -1) {
test.urls.add(reportLine.spec.test.report.url)
}
} else {
}
def report = test.reports.find { report -> report.num == reportLine.spec.test.report.num }
Expand Down

0 comments on commit 710d03c

Please sign in to comment.