Logo: Relish

  1. Sign in

Project: Integration-tests

Sorting

  • @searchonmosaic

As a user
I want to have a set of sorting options
so that i can sort the results based on the desired option.

Scenarios
Sort by options
Given
I am on the Search Home Page
When
I search for a good search term
Then
I see sort by dropdown listing sortoption
Examples:
sortoption
Relevance
Date — Most recent
default Sort by option
Given
I am on the Search Home Page
When
I search for a good search term
Then
I see sort by Relevance as selected option
Sort by Relevance
Given
I am on the Search Home Page
When
I search for a good search term
And
I choose Relevance as sort by option
Then
I should see Relevant results first
Sort by Date — Most recent
Given
I am on the Search Home Page
When
I search for a good search term
And
I choose Date — Most recent as sort by option
Then
I should see recent results first
sorting retained across pagination
Given
I am on the Search Home Page
When
I search for a good search term
And
I choose Relevance as sort by option
Then
I should see Relevant results first
When
I go to the next page on search results
Then
I see sort by Relevance as selected option
sorting retained across from advance search option to search result page

This scenario does not have any steps.


Last published almost 7 years ago by Douglas Roper.