[JENKINS-52944] Pass milliseconds to TimeDuration (#1794)
testCase.duration is in seconds, but we must pass milliseconds to TimeDuration.format().
This commit is contained in:
parent
b02273dc2a
commit
2fd5f85771
|
@ -21,7 +21,7 @@ export default class TestCaseResultRow extends Component {
|
|||
|
||||
render() {
|
||||
const { testCase, translation, locale = 'en' } = this.props;
|
||||
const duration = TimeDuration.format(testCase.duration, translation, locale);
|
||||
const duration = TimeDuration.format(testCase.duration * 1000, translation, locale);
|
||||
const showTestCase = testCase.errorStackTrace || testCase.errorDetails || testCase.hasStdLog;
|
||||
let statusIndicator = null;
|
||||
switch (testCase.status) {
|
||||
|
|
Loading…
Reference in New Issue