mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Merge pull request #12283 from jainnikhil30/add_forks_to_job_details
add forks to the job details
This commit is contained in:
commit
d36befd9ce
@ -364,6 +364,9 @@ function JobDetail({ job, inventorySourceLabels }) {
|
||||
value={t`True`}
|
||||
/>
|
||||
)}
|
||||
{typeof job.forks === 'number' && (
|
||||
<Detail dataCy="forks" label={t`Forks`} value={`${job.forks}`} />
|
||||
)}
|
||||
|
||||
{credential && (
|
||||
<Detail
|
||||
|
||||
@ -78,6 +78,7 @@ describe('<JobDetail />', () => {
|
||||
);
|
||||
|
||||
assertDetail('Job Slice', '0/1');
|
||||
assertDetail('Forks', '42');
|
||||
|
||||
const credentialChip = wrapper.find(
|
||||
`Detail[label="Credentials"] CredentialChip`
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
"project": 6,
|
||||
"playbook": "chatty_tasks.yml",
|
||||
"scm_branch": "main",
|
||||
"forks": 0,
|
||||
"forks": 42,
|
||||
"limit": "",
|
||||
"verbosity": 0,
|
||||
"extra_vars": "{\"num_messages\": 94}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user