Sha256: f31464f86f9d519c51d9359dec47a5b2e2a9013acd60616b0db71fa81d5fd3fc

Contents?: true

Size: 970 Bytes

Versions: 11

Compression:

Stored size: 970 Bytes

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 sort by "title"
    Then I should see "Sort by"
    And I should see the sort list 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 sort by "title"
    Then I should see "Sort by"
    And I should see select list "select#search_field" with "Title" selected
    And I should see the sort list with "title" selected

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blacklight-4.3.0 features/search_sort.feature
blacklight-4.2.2 features/search_sort.feature
blacklight-4.2.1 features/search_sort.feature
blacklight-4.2.0 features/search_sort.feature
blacklight-4.1.0 test_support/features/search_sort.feature
blacklight-4.0.1 test_support/features/search_sort.feature
blacklight-4.0.0 test_support/features/search_sort.feature
blacklight-4.0.0.rc2 test_support/features/search_sort.feature
blacklight-4.0.0.rc1 test_support/features/search_sort.feature
blacklight-4.0.0.pre7 test_support/features/search_sort.feature
blacklight-4.0.0.pre6 test_support/features/search_sort.feature