Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Nov 6, 2024
1 parent 9d3e82e commit a62b92d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]`)
Expand Down Expand Up @@ -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"]`)
Expand Down Expand Up @@ -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"]`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit a62b92d

Please sign in to comment.