Skip to content

Commit

Permalink
fix: add jobstatus testid
Browse files Browse the repository at this point in the history
  • Loading branch information
roar-larsen committed Mar 4, 2024
1 parent 63c7c07 commit 152acd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/dm-core-plugins/src/job/JobControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ export const JobControl = (props: IUIPlugin) => {
<JobButtonWrapper>
{getControlButton(status, remove, start, false, jobIsLoading)}
{!internalConfig.hideLogs && <JobLog logs={logs} error={error} />}
<Chip variant={getVariant(status)}>{status ?? 'Not registered'}</Chip>
<Chip variant={getVariant(status)} data-testid={'jobStatus'}>
{status ?? 'Not registered'}
</Chip>
{internalConfig.runnerTemplates &&
internalConfig.runnerTemplates.length > 0 && (
<div className={'flex flex-row items-center'}>
Expand Down

0 comments on commit 152acd2

Please sign in to comment.