Logo: Relish

  1. Sign in

Project: Integration-tests

Pagination

  • @searchonmosaic

As a user
I want the to see the pagination panel
so that i can navigate to see more result sets

Scenarios
Results are paginated
Given
I am on the Nature home page
And
I am a logged-in user
When
I search for a good search term
Then
I see a results page for New Search
And
I see the results are paginated
And
I can click to access the second page of results
Results are paginated
Given
I am on the Nature home page
And
I am a logged-in user
When
I search for a good search term
Then
the search should return more than 0 results
And
I see the results are paginated
Search result pagination
Given
I am on the Nature home page
And
I am a logged-in user
When
I search for a good search term
And
I go to the page page on search results
Then
results resultset should be displayed
Examples:
page resultset
next 26 - 50
second 26 - 50
Third 51 - 75
fourth 76 - 100
tenth 226 - 250
Pagination Panel next,previous buttons
Given
I am on the Nature home page
And
I am a logged-in user
When
I search for a good search term
When
I go to the tenth page on search results
Then
results 226 - 250 should be displayed
And
pagination panel to show 7 options
When
I go to the next page on search results
Then
results 251 - 275 should be displayed
And
pagination panel to show 7 options
When
I go to the prev page on search results
Then
results 226 - 250 should be displayed
And
pagination panel to show 7 options
When
I go to the last page on search results
Then
I should see the results displayed
And
pagination panel to show 7 options
When
I go to the first page on search results
Then
results 1 - 25 should be displayed
And
I should see 25 results displayed
And
pagination panel to show 7 options

Last published almost 7 years ago by Douglas Roper.