Use full URL in suites table

Adds full URL in place previous commit missed
This commit is contained in:
Michal Dorner 2021-03-31 23:30:19 +02:00
parent fab342311c
commit 4c2f9f34f7
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
3 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ function getSuitesReport(tr: TestRunResult, runIndex: number, options: ReportOpt
const tsTime = formatTime(s.time)
const tsName = s.name
const skipLink = options.listTests === 'none' || (options.listTests === 'failed' && s.result !== 'failed')
const tsAddr = makeSuiteSlug(runIndex, suiteIndex).link
const tsAddr = options.baseUrl + makeSuiteSlug(runIndex, suiteIndex).link
const tsNameLink = skipLink ? tsName : link(tsName, tsAddr)
const passed = s.passed > 0 ? `${s.passed}${Icon.success}` : ''
const failed = s.failed > 0 ? `${s.failed}${Icon.fail}` : ''