Logo: Relish

  1. Sign in

Project: Mobile

Activity Catalog Results Text Search Box

Background
Given
I am logged in as a mobile user
Given
there are the following activities in the catalog
Activity Name
first page course 01
first page course 02
first page course 03
first page course 04
first page course 05
first page course 06
first page course 07
first page course 08
first page course 09
first page course 10
non-matching 01
non-matching 02
non-matching 03
second page course 01
second page course 02
second page course 03
And
I am on the "activity catalog" page
Scenarios
Searching activities already loaded
When
I type "first page course 0" in the "search" field and press enter key
Then
I should only see activities in the catalog matching "first page course 0"
And
I should see the message "9 Results"
Loading search results from the server
When
I type "second page" in the "search" field and press enter key
Then
I should only see activities in the catalog matching "second page"
Scrolling through Search Results
When
I type "course" in the "search" field
Then
I should only see activities in the catalog matching "first page"
When
I scroll to the bottom of the page
Then
the page should contain the text "second page course 01"
Then
the page should contain the text "second page course 02"
Then
the page should contain the text "second page course 03"
Changing the search term
When
I type "course 01" in the "search" field and press enter key
Then
I should only see activities in the catalog matching "course 01"
When
I type "course 02" in the "search" field and press enter key
Then
I should only see activities in the catalog matching "course 02"

Last published about 5 years ago by Trevor Little.