Sha256: bab276554b58905b9b7d04d1d724b97ecd9b051d21ba4219b2ab39295aa23471

Contents?: true

Size: 1.61 KB

Versions: 31

Compression:

Stored size: 1.61 KB

Contents

@saved_searches
Feature: Saved Searches Page
  As a user
  In order see searches I've saved and reuse them
  I want a page that shows my saved searches
    
  Scenario: Menu Link
    Given I am logged in as "user1"
    When I am on the home page
    Then I should see "Saved Searches"
    When I follow "Saved Searches"
    Then I should be on the saved searches page
    And I should see a stylesheet
  
  Scenario: No Searches
    Given I am logged in as "user1"
    Given no previous searches
    When I go to the saved searches page
    Then I should see "You have no saved searches"
    
  Scenario: Saved Searches not logged in
    When I go to the saved searches page
    Then I should see "Sign in"
    
  Scenario: Saved Searches
    Given I am logged in as "user1"
    And "user1" has saved a search with term "book"
    When I go to the saved searches page
    Then I should see "Your saved searches"
    And I should see "book"
    
  Scenario: Deleting a Saved Search
    Given I am logged in as "user1"
    And "user1" has saved a search with term "book"
    And I am on the saved searches page
    Then I should see a "delete" button
    When I press "delete"
    Then I should see "Successfully removed that saved search."

  Scenario: Clearing Saved Searches
    Given I am logged in as "user1"
    And "user1" has saved a search with term "book"
    And "user1" has saved a search with term "dang"
    And I am on the saved searches page
    Then I should see "Clear Saved Searches"
    When I follow "Clear Saved Searches"
    Then I should see "Cleared your saved searches."
    And I should see "You have no saved searches"

Version data entries

31 entries across 31 versions & 1 rubygems

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