Logo: Relish

  1. Sign in

Project: Mobile

Activity Catalog text search

As a user
I want the search field to perform a text search on the activity name, description, and keywords
So that I can find activities easily and quickly

Background
Given
I am logged in as a mobile user
Given
there are the following activities in the catalog
Activity Name Description Key Words Display in Activity Catalog Active Competency Competency Active
Selling Skills blah blah blah Yes Yes blah yes
description match selling blah blah Yes Yes blah yes
keyword match blah Selling, Presentation Yes Yes blah yes
keyword match b blah Selling Yes Yes selling inactive no
dosen't match blah blah Yes Yes blah yes
don't display selling blah No Yes blah yes
competency match blah blah Yes Yes selling yes
inactive competency blah blah Yes Yes selling inactive no
inactive activity selling blah Yes No blah yes
inactive activity b blah blah Yes No selling yes
Scenarios
Given
I am on the activity catalog search page
And
I type "Selling" in the "search" field
And
I click on the "Search" button
Then
I should be on the activity catalog page
And
I should only see the activities "Selling Skills, description match, keyword match, keyword match b, competency match"
And
the activities should be in alphabetical order by name
And
the page should contain the text "5 Results"
Performing a Search with one result
Given
I am on the activity catalog search page
And
I type "Presentation" in the "search" field
And
I click on the "Search" button
Then
I should be on the activity catalog page
And
I should only see the activity "keyword match"
And
the page should contain the text "1 Result"
Performing a Search with NO results
Given
I am on the activity catalog search page
And
I type "Nothing" in the "search" field
And
I click on the "Search" button
Then
I should be on the activity catalog page
And
the page should contain the text "0 Results"

Last published about 5 years ago by Trevor Little.