Sha256: ecdf096ba4b097bb8df620e6f415bb73ad8a4fecc29f0b0a8c100d0c39b2c0f7
Contents?: true
Size: 1.71 KB
Versions: 5
Compression:
Stored size: 1.71 KB
Contents
@search_pagination Feature: Search Pagination In order to find lower ranked documents As a user I want to be able to page through search results and be able to choose how many documents to display per page Background: Given the application is configured to have per page with values "10, 20, 50" Scenario: Results Page Supports Paging Given I am on the home page When I fill in "q" with "" And I press "search" Then I should see "1 - 10 of" When I follow "Next »" Then I should see "11 - 20 of" When I follow "« Previous" Then I should see "1 - 10 of" Scenario: Results Page Has Per Page Available Given I am on the home page When I fill in "q" with "" And I press "search" Then I should see "per page" And I should see the per_page dropdown with values "10, 20, 50" Scenario: Results Page Can Display 20 Items Per Page Given I am on the home page And I fill in "q" with "" When I press "search" Then I should see "1 - 10 of" When I show 20 per page Then I should see "1 - 20 of" Scenario: Application Can Be Configured for Other Per Page Values Given the application is configured to have per page with values "15, 30" And I am on the home page When I fill in "q" with "" And I press "search" Then I should see the per_page dropdown with values "15, 30" And I should see "1 - 15 of" When I show 30 per page Then I should see "1 - 30 of" Scenario: Page Offset Resets to 1 When Changing Per Page Given I am on the home page And I fill in "q" with "" When I press "search" And I follow "Next »" Then I should see "11 - 20 of" When I show 20 per page Then I should see "1 - 20 of"
Version data entries
5 entries across 5 versions & 1 rubygems