WITH Usage consolidation enabled When I expand the Usage & Analysis accordion Then a Year field should display
Given I expand the Usage & Analysis accordion When I click on the year filter Then the filter list displays the last five years including the current year AND the default selection is the current year
Given I am on a resource record WITH Usage consolidation enabled When I expand the Usage & Analysis accordion Then platform filter should display AND default to [All platforms]
Given I expand the Usage & Analysis accordion When I click the platform filter Then the filter list should display the following values: All platforms, All publisher platforms, All non-publisher platforms
As a librarian
I want to view the usage and cost details for a resource by year
So I can understand how the resource was used in a given year
Year filter requirements
Label: Year
Input Type: Single Select Dropdown
Year values: Last five years including current year
Default value Current Year
Sort order: Descending order - Year
Platform filter requirements
Label: Platform
Input Type: Single Select Dropdown
Dropdown values (in display order) : All platforms, All publisher platforms, All non-publisher platforms
Dropdown Default value : All platforms
Screenshot/Mockup
https://drive.google.com/file/d/14x-IGkb4SyWxbOyZ5eOOOS4Hy2-_qtuZ/view?usp=sharing
Acceptance Criteria
Given I am on a resource record
WITH Usage consolidation enabled
When I expand the Usage & Analysis accordion
Then a Year field should display
Given I expand the Usage & Analysis accordion
When I click on the year filter
Then the filter list displays the last five years including the current year
AND the default selection is the current year
Given I am on a resource record
WITH Usage consolidation enabled
When I expand the Usage & Analysis accordion
Then platform filter should display
AND default to [All platforms]
Given I expand the Usage & Analysis accordion
When I click the platform filter
Then the filter list should display the following values: All platforms, All publisher platforms, All non-publisher platforms