mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
Add job id to job details screen
Add job id to job details screen See: https://github.com/ansible/awx/issues/10786
This commit is contained in:
@@ -120,6 +120,7 @@ function JobDetail({ job }) {
|
|||||||
return (
|
return (
|
||||||
<CardBody>
|
<CardBody>
|
||||||
<DetailList>
|
<DetailList>
|
||||||
|
<Detail label={t`Job ID`} value={job.id} />
|
||||||
<Detail
|
<Detail
|
||||||
fullWidth={Boolean(job.job_explanation)}
|
fullWidth={Boolean(job.job_explanation)}
|
||||||
label={t`Status`}
|
label={t`Status`}
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ describe('<JobDetail />', () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// StatusIcon adds visibly hidden accessibility text " successful "
|
// StatusIcon adds visibly hidden accessibility text " successful "
|
||||||
|
assertDetail('Job ID', '2');
|
||||||
assertDetail('Status', ' successful Successful');
|
assertDetail('Status', ' successful Successful');
|
||||||
assertDetail('Started', '8/8/2019, 7:24:18 PM');
|
assertDetail('Started', '8/8/2019, 7:24:18 PM');
|
||||||
assertDetail('Finished', '8/8/2019, 7:24:50 PM');
|
assertDetail('Finished', '8/8/2019, 7:24:50 PM');
|
||||||
|
|||||||
Reference in New Issue
Block a user