Show resource selected coverage date range and show embargo if managed or custom embargo is returned. If both managed and custom embargo are returned then display custom embargo
Coverage - show date range(s). If multiple date range(s) then separate each date range with a comma and show ranges in descending order. If an embargo is present then display (full text delay: <<embargo number>> <<embargo unit of time>>
Title cost
Cost for the resource based on year selection.
Display selected currency symbol and code.
Usage
Total usage based on year and platform selections.
numbers display based on locale selection.
Cost per use
Resource cost based on year selection / Total usage based on year and platform selections
Display selected currency symbol and code.
Sort requirements
Default sort: Package (ascending order)
Sortable columns: Package, Coverage, Title cost, Usage, Cost per use.
Display requirements
When zero is returned then display zero
When no value is returned then display '-'
If no cost and usage is returned for the title then do not display the table. Instead display this message: This title contains no cost or usage data for <<selected year>>.
Error handling
If there is error in returning any information then display the following message [Unable to retrieve information. Please try again.]
Acceptance criteria
Given I select a year and platform
When I hit View Then display the Holdings summary table
Given I am reviewing a Holdings summary table resource row When multiple coverage date ranges are tied to the resource then separate each range with a comma AND show ranges in descending order
Given the Holdings summary table resource row displays coverage When I have selected to use a custom coverage date range for this resource Then display custom coverage date range(s) as coverage for that row
Given the Holdings summary table resource row displays coverage When I have selected to use a managed coverage date range for this resource Then display managed coverage date range(s) as coverage for that row
Given the Holdings summary table resource row displays coverage When managed embargo is associated with this resource AND there is no custom embargo Then display managed embargo under coverage for that row
Given the Holdings summary table resource row displays coverage When custom embargo is associated with this resource Then display custom embargo under coverage for that row
If Holdings summary table displays Then only display packages that the title is selected
Given I am on Holdings summary table When I click Package Then display the resource record
Given I am on a title record When I select Publishers platform only Then Holdings summary table Usage column should reflect usage on publishers platforms only AND cost per use should be based on this usage statistic
Given I am on a title record When I select Non-publishers platform only Then Holdings summary table Usage column should reflect usage on non-publishers platforms only AND cost per use should be based on this usage statistic
If I am on a title record and viewing title cost Then the cost should be what displays on the resource record
Given I am on a title record When I choose a year that contains no cost OR usage data Then display the following message This title contains no cost or usage data for <<selected year>>.
Screenshot
https://drive.google.com/file/d/1da7pq5X6exU5g7S_xoFRO620aN3e9mmr/view?usp=sharing
Columns to display
Column
Details
Display format
Package
Package(s) the title is selected
Link Package to resource record
Coverage
Show resource selected coverage date range and show embargo
if managed or custom embargo is returned.
If both managed and custom embargo are returned then display custom embargo
Coverage - show date range(s). If multiple date range(s)
then separate each date range with a comma
and show ranges in descending order.
If an embargo is present then display
(full text delay: <<embargo number>> <<embargo unit of time>>
Title cost
Cost for the resource based on year selection.
Display selected currency symbol and code.
Usage
Total usage based on year and platform selections.
numbers display based on locale selection.
Cost per use
Resource cost based on year selection / Total usage based on year and platform selections
Display selected currency symbol and code.
Sort requirements
Default sort: Package (ascending order)
Sortable columns: Package, Coverage, Title cost, Usage, Cost per use.
Display requirements
When zero is returned then display zero
When no value is returned then display '-'
If no cost and usage is returned for the title then do not display the table. Instead display this message: This title contains no cost or usage data for <<selected year>>.
Error handling
If there is error in returning any information then display the following message [Unable to retrieve information. Please try again.]
Acceptance criteria
Given I select a year and platform
When I hit View
Then display the Holdings summary table
Given I am reviewing a Holdings summary table resource row
When multiple coverage date ranges are tied to the resource then separate each range with a comma
AND show ranges in descending order
Given the Holdings summary table resource row displays coverage
When I have selected to use a custom coverage date range for this resource
Then display custom coverage date range(s) as coverage for that row
Given the Holdings summary table resource row displays coverage
When I have selected to use a managed coverage date range for this resource
Then display managed coverage date range(s) as coverage for that row
Given the Holdings summary table resource row displays coverage
When managed embargo is associated with this resource
AND there is no custom embargo
Then display managed embargo under coverage for that row
Given the Holdings summary table resource row displays coverage
When custom embargo is associated with this resource
Then display custom embargo under coverage for that row
If Holdings summary table displays
Then only display packages that the title is selected
Given I am on Holdings summary table
When I click Package
Then display the resource record
Given I am on a title record
When I select Publishers platform only
Then Holdings summary table Usage column should reflect usage on publishers platforms only
AND cost per use should be based on this usage statistic
Given I am on a title record
When I select Non-publishers platform only
Then Holdings summary table Usage column should reflect usage on non-publishers platforms only
AND cost per use should be based on this usage statistic
If I am on a title record and viewing title cost
Then the cost should be what displays on the resource record
Given I am on a title record
When I choose a year that contains no cost OR usage data
Then display the following message This title contains no cost or usage data for <<selected year>>.