Logo: Relish

  1. Sign in

Project: Mobile

Activities Search

As a user,
I want to run a search on my activities on my mobile device,
so that I can easily find my desired activities.

Background
Given
I am logged in as a mobile manager
And
I have John Smith in my downline
Scenarios
Searching activities already loaded
Given
user has registered for the following activities
Activity Name Status
first page course 01 InProgress
first page course 02 InProgress
first page course 03 InProgress
non-matching 01 InProgress
non-matching 02 Completed
And
I am on the activities page for downline selection
When
I type "first page course 0" in the "search" field and press enter key
Then
I should only see activities matching "first page course 0" with an "unfinished" status
Examples:
user downline selection activities
I self my activities
John Smith John Smith John Smith's activities
Loading search results from the server
Given
user has registered for the following activities
Activity Name Status
first page course 01 InProgress
first page course 02 InProgress
first page course 03 InProgress
first page course 04 InProgress
first page course 05 InProgress
first page course 06 InProgress
first page course 07 InProgress
first page course 08 InProgress
first page course 09 InProgress
first page course 10 InProgress
second page course 01 InProgress
second page course 02 InProgress
second page course 03 InProgress
And
I am on the activities page for downline selection
When
I type "second page" in the "search" field and press enter key
Then
I should only see activities matching "second page" with an "unfinished" status
Examples:
user downline selection activities
I self my activities
John Smith John Smith John Smith's activities
Scrolling through Search Results
Given
user has registered for the following activities
Activity Name Status
first page course 01 InProgress
first page course 02 InProgress
first page course 03 InProgress
first page course 04 InProgress
first page course 05 InProgress
first page course 06 InProgress
first page course 07 InProgress
first page course 08 InProgress
first page course 09 InProgress
first page course 10 InProgress
second page course 01 InProgress
second page course 02 InProgress
second page course 03 InProgress
And
I am on the activities page for downline selection
When
I type "course" in the "search" field
Then
I should only see activities matching "first page" with an "unfinished" status
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"
Examples:
user downline selection activities
I self my activities
John Smith John Smith John Smith's activities
Changing the search term
Given
user has registered for the following activities
Activity Name Status
course 01 InProgress
course 02 InProgress
course 03 InProgress
And
I am on the activities page for downline selection
When
I type "course 01" in the "search" field and press enter key
Then
I should only see activities matching "course 01"
When
I type "course 02" in the "search" field and press enter key
Then
I should only see activities matching "course 02"
Examples:
user downline selection activities activities
I self my activities my activities
John Smith John Smith John Smith's activities John Smith's activities
Changing lists after entering a search term
Given
user has registered for the following activities
Activity Name Status
unfinished course 01 InProgress
unfinished course 02 InProgress
completed course 01 Completed
completed course 02 Completed
And
I am on the activities page for downline selection
When
I type "course 01" in the "search" field and press enter key
Then
I should only see activities matching "course 01" with an "unfinished" status
When
I click on the "Finished" radio button
Then
I should be on the "finished activities" page for downline selection
And
I should only see activities matching "course 01" with a "finished" status
Examples:
user downline selection activities downline selection activities
I self my activities self my activities
John Smith John Smith John Smith's activities John Smith John Smith's activities

Last published about 5 years ago by Trevor Little.