Logo: Relish

  1. Sign in

Project: relish

Search project for feature

In order to find existing scenarios about something I want to work on
As a feature reader
I want a free-text search across the features within a project

Background
Given
a project "rspec/rspec-core"
Given
a feature has been pushed to the project:
Feature: Fish
  Fresh Fish
And
a feature has been pushed to the project:
Feature: Fingers
  Larry Heard was Mr Fingers
  or was he? --Matt
Scenarios
Search in name of feature
When
I visit the page for the project
And
I search for "Fingers"
Then
I should see 1 search result
And
I should see "Larry Heard"
And
I should see "Your search for Fingers"
When
I follow the link from the search results
Then
I should be on the page for the feature
Search in body of feature
When
I visit the page for the project
And
I search for "Larry"
Then
I should see 1 search result
And
I should see "Larry Heard"
Search returns no results
When
I visit the page for the project
And
I search for "Chips"
Then
I should see "no results"
When
I visit the page for the project
And
I search for ""
Then
I should see "Please enter a word or phrase"

Last published over 7 years ago by mattwynne.