From a62b92d425dcdb4a68e8fb751ce108138baed7ef Mon Sep 17 00:00:00 2001 From: Futa Ikeda Date: Wed, 6 Nov 2024 15:58:44 -0500 Subject: [PATCH] Update tests --- .../-components/chart-kpi-wrapper/component-test.ts | 6 +++--- .../-components/total-count-kpi-wrapper/component-test.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/institutions/dashboard/-components/chart-kpi-wrapper/component-test.ts b/app/institutions/dashboard/-components/chart-kpi-wrapper/component-test.ts index c12c97d4852..268b43ef98e 100644 --- a/app/institutions/dashboard/-components/chart-kpi-wrapper/component-test.ts +++ b/app/institutions/dashboard/-components/chart-kpi-wrapper/component-test.ts @@ -224,7 +224,7 @@ module('Integration | institutions | dashboard | -components | kpi-chart-wrapper // And the title is verified assert.dom(`${parentDom} [data-test-chart-title]`) - .hasText('Licenses'); + .hasText('Top 10 Licenses'); // And the expanded data position 0 name is verified assert.dom(`${parentDom} [data-test-expanded-name="0"]`) @@ -259,7 +259,7 @@ module('Integration | institutions | dashboard | -components | kpi-chart-wrapper // And the title is verified assert.dom(`${parentDom} [data-test-chart-title]`) - .hasText('Add-ons'); + .hasText('Top 10 Add-ons'); // And the expanded data position 0 name is verified assert.dom(`${parentDom} [data-test-expanded-name="0"]`) @@ -295,7 +295,7 @@ module('Integration | institutions | dashboard | -components | kpi-chart-wrapper // And the title is verified assert.dom(`${parentDom} [data-test-chart-title]`) - .hasText('Storage Regions'); + .hasText('Top Storage Regions'); // And the expanded data position 0 name is verified assert.dom(`${parentDom} [data-test-expanded-name="0"]`) diff --git a/app/institutions/dashboard/-components/total-count-kpi-wrapper/component-test.ts b/app/institutions/dashboard/-components/total-count-kpi-wrapper/component-test.ts index e97c5a312bd..7df5335449e 100644 --- a/app/institutions/dashboard/-components/total-count-kpi-wrapper/component-test.ts +++ b/app/institutions/dashboard/-components/total-count-kpi-wrapper/component-test.ts @@ -80,7 +80,7 @@ module('Integration | institutions | dashboard | -components | total-count-kpi-w assert.dom(parentContainer) .exists('The Total Registration Widget exists'); assert.dom(parentContainer) - .hasText('100 OSF Registrations'); + .hasText('300 OSF Public and Embargoed Registrations'); assert.dom(`${parentContainer} [data-test-kpi-icon]`) .hasAttribute('data-icon', 'archive');