diff --git a/ui/tests/pages/jobs/detail.js b/ui/tests/pages/jobs/detail.js index d077e8c86..e82fc6f83 100644 --- a/ui/tests/pages/jobs/detail.js +++ b/ui/tests/pages/jobs/detail.js @@ -82,10 +82,10 @@ export default create({ tooltip: attribute('aria-label'), }, }, - - childrenSummary: isPresent('[data-test-job-summary] [data-test-children-status-bar]'), - allocationsSummary: isPresent('[data-test-job-summary] [data-test-allocation-status-bar]'), - + childrenSummary: jobClientStatusBar('[data-test-job-summary] [data-test-children-status-bar]'), + allocationsSummary: jobClientStatusBar( + '[data-test-job-summary] [data-test-allocation-status-bar]' + ), ...allocations(), viewAllAllocations: text('[data-test-view-all-allocations]'),