Logo: Relish

  1. Sign in

Project: Integration-tests

Date Filter

  • @searchonmosaic

As a user
I should have a Date filter option
so that I can filter the results based on selected Dates

Scenarios
Date filter dropdown
Given
I am on the Search Home Page
When
I search for a good search term
Then
I should see the Date filter dropdown
Date filtering
Given
I am on the Search Home Page
When
I search for a good search term
And
I select the datesoption in Date dropdown
Then
I should see reduced result set
Examples:
datesoption
In the last year
Last 2 years
Last 5 years
Date filter - custom date range
Given
I am on the Search Home Page
When
I search for a good search term
And
I click the custom date range in Date dropdown
Then
I should land in advance search page
Date filter & facet
Given
I am on the Search Home Page
When
I search for a good search term
And
I select the first option in Date dropdown
Then
I should see reduced result set
And
I should see that Date facet only
And
I select the Second option in Date dropdown
Then
I should see increased result set
And
I should see that Date facet only
And
I select the Third option in Date dropdown
Then
I should see increased result set
And
I should see that Date facet only
Date filtering & facet via advance search option
Given
I am on the Advance search page
When
I choose the Publication year from pubyearstart to pubyearend
And
I click on the Submit button
And
I should see that Date facet as datefacet
Examples:
pubyearstart pubyearend datefacet
2015 2015 2015
2014 2015 2014-2015
2000 2012 2000-2012

Last published almost 7 years ago by Douglas Roper.