Logo: Relish

  1. Sign in

Project: Blacklight

Saved Searches Page

  • @saved_searches

As a user
In order see searches I've saved and reuse them
I want a page that shows my saved searches

Scenarios
Given
I am logged in as "user1"
Then
I should see "Welcome 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
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"
Saved Searches not logged in
When
I go to the saved searches page
Then
I should see "Please log in to manage and view your saved searches."
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"
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 "delete"
When
I follow "delete"
Then
I should see "Successfully removed that saved search."
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"

Last published about 5 years ago by jronallo.