From c1bef174eea2c4670ce0bec46c5f29402bfe7994 Mon Sep 17 00:00:00 2001 From: Jai Bhagat Date: Wed, 12 Jan 2022 11:18:01 -0500 Subject: [PATCH] fix: typo in data-test-selector --- .../parts/job-client-status-summary.hbs | 22 +++++++++++++++---- .../pages/components/job-client-status-bar.js | 4 ++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/ui/app/templates/components/job-page/parts/job-client-status-summary.hbs b/ui/app/templates/components/job-page/parts/job-client-status-summary.hbs index 09eee819a..64fbff2f5 100644 --- a/ui/app/templates/components/job-page/parts/job-client-status-summary.hbs +++ b/ui/app/templates/components/job-page/parts/job-client-status-summary.hbs @@ -18,7 +18,10 @@ {{this.jobClientStatus.totalNodes}} {{/if}} - + {{x-icon "info-circle-outline" class="is-faded"}} @@ -46,9 +49,20 @@ >
    {{#each chart.data as |datum index|}} -
  1. +
  2. {{#if (gt datum.value 0)}} - + {{else}} @@ -60,4 +74,4 @@ {{/if}} - + \ No newline at end of file diff --git a/ui/tests/pages/components/job-client-status-bar.js b/ui/tests/pages/components/job-client-status-bar.js index 3cd753159..e29d84185 100644 --- a/ui/tests/pages/components/job-client-status-bar.js +++ b/ui/tests/pages/components/job-client-status-bar.js @@ -12,11 +12,11 @@ export default scope => ({ scope: '.legend', items: collection('li', { - label: attribute('data-test-legent-label'), + label: attribute('data-test-legend-label'), }), clickableItems: collection('li.is-clickable', { - label: attribute('data-test-legent-label'), + label: attribute('data-test-legend-label'), click: clickable('a'), }), },