Logo: Relish

  1. Sign in

Project: Otwarchive

Search Works

  • @no-txn
  • @works
  • @search

In order to test search
As a humble coder
I have to use cucumber with thinking sphinx

Scenarios
Search works
Given
I have loaded the fixtures
And
I have Battle 12 prompt meme fully set up
And
everyone has signed up for Battle 12
When
mod fulfills claim
When
I reveal the "Battle 12" challenge
When
I am logged in as "myname4"
And
the work indexes are updated
When
I search for works containing "mod"
Then
I should see "No results found"
When
I search for works by mod
Then
I should see "No results found"
When
I reveal the authors of the "Battle 12" challenge
When
all search indexes are updated
When
I am logged in as "myname4"
When
I search for works containing "mod"
Then
I should see "No results found"
When
I search for works by mod
Then
I should see "No results found"
When
I search for a simple term from the search box
Then
I should see "3 Found"
When
I follow "Edit Your Search"
Then
I should be on the search works page
When
I fill in "Any Field" with ""
And
I fill in "Fandoms" with "second"
And
I press "Search"
Then
I should see "1 Found"
When
I am on the search works page
And
I select "Deutsch" from "Language"
And
I press "Search"
Then
I should see "1 Found"
When
I am on the search works page
When
I fill in "Word Count" with ""
And
I fill in "Date" with "> 2 years ago"
And
I press "Search"
Then
I should see "1 Found"
When
I follow "Edit Your Search"
Then
I should be on the search works page
When
I fill in "Word Count" with ">1000"
And
I press "Search"
Then
I should see "No results found"
When
I am on the homepage.
And
I fill in "site_search" with "testuser2"
And
I press "search"
Then
I should see "2 Found"
When
I follow "Edit Your Search"
Then
I should be on the search works page
When
I fill in "Any Field" with ""
And
I fill in "Author/Artist" with "testuser2"
And
I press "Search"
Then
I should see "2 Found"

Last published about 7 years ago by otwcode.