Logo: Relish

  1. Sign in

Project: Mobile

Performance Goals Search

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

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 the following performance goals
Goal Name Status
goal 01 NotComplete
goal 02 NotComplete
goal 03 NotComplete
goal 04 Complete
non-matching Complete
And
I am on the goals page for downline selection
When
I type "goal 0" in the "search" field
Then
the goal list should contain only
goal 01
goal 02
goal 03
Examples:
user downline selection goals
I self my goals
John Smith John Smith John Smith's goals
Loading search results from the server
Given
user has the following performance goals
Goal Name Status
first page goal 01 NotComplete
first page goal 02 NotComplete
first page goal 03 NotComplete
first page goal 04 NotComplete
first page goal 05 NotComplete
first page goal 06 NotComplete
first page goal 07 NotComplete
first page goal 08 NotComplete
first page goal 09 NotComplete
first page goal 10 NotComplete
second page goal 01 NotComplete
second page goal 02 NotComplete
second page goal 03 NotComplete
And
I am on the goals page for downline selection
When
I type "second page" in the "search" field and press enter key
Then
the goal list should contain only
second page goal 01
second page goal 02
second page goal 03
Examples:
user downline selection
I self
John Smith John Smith
Scrolling through Search Results
Given
user has the following performance goals
Goal Name Status
first page goal 01 NotComplete
first page goal 02 NotComplete
first page goal 03 NotComplete
first page goal 04 NotComplete
first page goal 05 NotComplete
first page goal 06 NotComplete
first page goal 07 NotComplete
first page goal 08 NotComplete
first page goal 09 NotComplete
first page goal 10 NotComplete
second page goal 01 NotComplete
second page goal 02 NotComplete
second page goal 03 NotComplete
And
I am on the goals page for downline selection
When
I type "goal" in the "search" field
Then
the goal list should contain only
first page goal 01
first page goal 02
first page goal 03
first page goal 04
first page goal 05
first page goal 06
first page goal 07
first page goal 08
first page goal 09
first page goal 10
When
I scroll to the bottom of the page
Then
the page should contain the text "second page goal 01"
Then
the page should contain the text "second page goal 02"
Then
the page should contain the text "second page goal 03"
Examples:
user downline selection
I self
John Smith John Smith
Changing the search term
Given
user has the following performance goals
Goal Name Status
goal 01 NotComplete
goal 02 NotComplete
goal 03 NotComplete
And
I am on the goals page for downline selection
When
I type "goal 01" in the "search" field and press enter key
Then
the goal list should contain only
goal 01
When
I type "goal 02" in the "search" field and press enter key
Then
the goal list should contain only
goal 02
Examples:
user downline selection
I self
John Smith John Smith
Changing lists after entering a search term
Given
user has the following performance goals
Goal Name Status
unfinished goal 01 NotComplete
unfinished goal 02 NotComplete
completed goal 01 Complete
completed goal 02 Complete
And
I am on the goals page for downline selection
When
I type "goal 01" in the "search" field and press enter key
Then
the goal list should contain only
unfinished goal 01
When
I click on the "Finished" radio button
Then
I should be on the "finished goals" page for downline selection
Then
the goal list should contain only
completed goal 01
Examples:
user downline selection downline selection
I self self
John Smith John Smith John Smith

Last published about 5 years ago by Trevor Little.