Skip to content

Commit

Permalink
Add data-job-status attr to all StatusIcons so that automated tests c…
Browse files Browse the repository at this point in the history
…an determine whether or not a status has been updated via websockets.
  • Loading branch information
mabashian committed Sep 11, 2020
1 parent 45ca997 commit 8fab455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/ui_next/src/components/StatusIcon/StatusIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' ||
Expand Down

0 comments on commit 8fab455

Please sign in to comment.