{test?.title}
{renderLocation(test.location, true)}
{msToString(result.duration)}
{result.failureSnippet &&
}
{result.steps.map((step, i) =>
)}
- {attachments.has('expected') && attachments.has('actual') &&
}
+ {attachmentsMap.has('expected') && attachmentsMap.has('actual') &&
}
{!!screenshots.length &&
Screenshots
}
- {screenshots.map(a =>
)}
+ {screenshots.map(a =>
)}
+ {!!result.attachments &&
Attachments
}
+ {result.attachments.map(a =>
)}
+
;
};
@@ -211,18 +214,18 @@ export const ImageDiff: React.FunctionComponent<{
tabs.push({
id: 'actual',
title: 'Actual',
- render: () =>