Add data-job-status attr to all StatusIcons so that automated tests can determine whether or not a status has been updated via websockets.

This commit is contained in:
mabashian 2020-09-11 09:27:44 -04:00
parent 45ca9976f3
commit 8fab4559b9

View File

@ -93,7 +93,7 @@ SkippedBottom.displayName = 'SkippedBottom';
const StatusIcon = ({ status, ...props }) => {
return (
<div {...props}>
<div {...props} data-job-status={status}>
{status === 'running' && <RunningJob />}
{(status === 'new' ||
status === 'pending' ||