Merge pull request #10796 from nixocio/ui_issue_job_id

Add job id to job details screen
This commit is contained in:
Kersom 2021-08-05 10:32:24 -04:00 committed by GitHub
commit ba1f89b9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,7 @@ function JobDetail({ job }) {
return (
<CardBody>
<DetailList>
<Detail label={t`Job ID`} value={job.id} />
<Detail
fullWidth={Boolean(job.job_explanation)}
label={t`Status`}

View File

@ -46,6 +46,7 @@ describe('<JobDetail />', () => {
);
// StatusIcon adds visibly hidden accessibility text " successful "
assertDetail('Job ID', '2');
assertDetail('Status', ' successful Successful');
assertDetail('Started', '8/8/2019, 7:24:18 PM');
assertDetail('Finished', '8/8/2019, 7:24:50 PM');