From ecaf46c6c9e5c101bf9d1db7e8293094750ee317 Mon Sep 17 00:00:00 2001 From: Jai Bhagat Date: Wed, 12 Jan 2022 11:18:59 -0500 Subject: [PATCH] refact: allocation and child summaries into ember-cli-page-object components --- ui/tests/pages/jobs/detail.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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]'),