Sha256: 18a862bcd0241b99d3583a340f50983f1acb33cdbb986343db981c3a20e37f72

Contents?: true

Size: 1.05 KB

Versions: 31

Compression:

Stored size: 1.05 KB

Contents

@search_sort
Feature: Search Sort
  In order to sort searches
  As a user
  I want select a sort field and have the search results reordered by that field

  Scenario: Sort on facet results with no search terms
    Given I am on the home page
    When I follow "English"
    Then I should see "Sort by"
# 2009-08-25 I don't know why this isn't working ... Naomi.
#    And I should see select list "select#sort" with "relevance" selected
    When I select "title" from "sort"
    And I press "sort results" 
    Then I should see "Sort by"
    And I should see select list "select#sort" with "title" selected
    
  Scenario: Sort on result set from fielded search
    Given I am on the home page
    And I fill in "q" with "bod"
    And I select "Title" from "search_field"
    And I press "search"
    Then I should see "Sort by"
    When I select "title" from "sort"
    And I press "sort results"
    Then I should see "Sort by"
    And I should see select list "select#search_field" with "Title" selected
    And I should see select list "select#sort" with "title" selected

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
blacklight-3.8.2 test_support/features/search_sort.feature
blacklight-3.8.1 test_support/features/search_sort.feature
blacklight-3.8.0 test_support/features/search_sort.feature
blacklight-3.7.2 test_support/features/search_sort.feature
blacklight-3.7.1 test_support/features/search_sort.feature
blacklight-3.7.0 test_support/features/search_sort.feature
blacklight-3.6.1.1 test_support/features/search_sort.feature
blacklight-3.6.0 test_support/features/search_sort.feature
blacklight-3.5.0 test_support/features/search_sort.feature
blacklight-3.4.2 test_support/features/search_sort.feature
blacklight-3.4.1 test_support/features/search_sort.feature
blacklight-3.4.0 test_support/features/search_sort.feature
blacklight-3.3.2 test_support/features/search_sort.feature
blacklight-3.3.1 test_support/features/search_sort.feature
blacklight-3.3.0 test_support/features/search_sort.feature
blacklight-3.2.2 test_support/features/search_sort.feature
blacklight-3.2.1 test_support/features/search_sort.feature
blacklight-3.2.0 test_support/features/search_sort.feature
blacklight-3.2.0pre2 test_support/features/search_sort.feature
blacklight-3.2.0pre1 test_support/features/search_sort.feature