{result.error &&
}
{result.steps.map((step, i) =>
)}
- {attachmentsMap.has('expected') && attachmentsMap.has('actual') &&
}
- {!!screenshots &&
Screenshots
}
- {screenshots.map((a, i) =>

)}
+
+ {expected && actual &&
}
+
+ {!!screenshots.length &&
Screenshots
}
+ {screenshots.map((a, i) => {
+ return
+

+
+
;
+ })}
+
{!!videos.length &&
Videos
}
- {videos.map((a, i) =>
)}
- {!!result.attachments &&
Attachments
}
- {result.attachments.map((a, i) =>
)}
+ {videos.map((a, i) =>
)}
+
+ {!!otherAttachments &&
Attachments
}
+ {otherAttachments.map((a, i) =>
)}
;
};
@@ -238,18 +263,18 @@ export const ImageDiff: React.FunctionComponent<{
tabs.push({
id: 'actual',
title: 'Actual',
- render: () =>