Logo: Relish

  1. Sign in

Project: Mobile

Activity Catalog Take Button

As a user
I want a Take button on the default catalog list
So that I can easily access the content

Background
Given
I am logged in as a mobile user
Scenarios
Taking an activity
Given
there is an activity for which I am registered with a status of "Status"
When
I go to the "activity catalog" page
And
I click on the "Take" button
Then
a new record Should/Should Not be created
Examples:
Status Should/Should Not
InProgress Should Not
Completed Should Not
Passed Should Not
Failed Should
Incomplete Should
CompletePendingPostTest Should Not
PendingManagerFollowup Should Not
Take button not available for activities in certain status
Given
there is an activity for which I am registered with a status of "Status"
When
I go to the "activity catalog" page
Then
I should not see a "Take" button for that activity in the catalog
Examples:
Status
Denied
PendingManagerApproval
Pending
WaitListed
ClassCancelled
Cancelled
Enrolled
NoShow
ModuleNotStarted
PendingRegistration
Take button available for un-registered activity
Given
there is an activity in the catalog for which I am not registered
When
I go to the "activity catalog" page
Then
I should see a "Take" button for that activity in the catalog
Taking an activity from details popup
Given
there is an activity for which I am registered with a status of "Status"
When
I go to the "activity catalog" page
And
I click on that activity
And
that activity should launch a dialog with more details
And
I click on the "Take" button
Then
a new record Should/Should Not be created
Examples:
Status Should/Should Not
InProgress Should Not
Completed Should Not
Passed Should Not
Failed Should
Incomplete Should
CompletePendingPostTest Should Not
PendingManagerFollowup Should Not
Take button not available on details popup for activities in certain status
Given
there is an activity for which I am registered with a status of "Status"
When
I go to the "activity catalog" page
And
I click on that activity
And
that activity should launch a dialog with more details
Then
I should not see a "Take" button for that activity in the details
Examples:
Status
PendingManagerApproval
Pending
WaitListed
ClassCancelled
Cancelled
Enrolled
NoShow
ModuleNotStarted
PendingRegistration
Take button available on details popup for un-registered activity
Given
I'm on an activity details dialog in the activity catalog for which I am not registered
Then
I should see a "Take" button for that activity in the details
Taking an activity with no preference
Given
I'm on an activity details dialog in the activity catalog for which I am not registered
When
I click on the "Take" button
Then
the page should contain a dialog
Taking an activity from the details page
Given
I'm on an activity details dialog in the activity catalog for which I am not registered
When
I click on the "Take" button
Then
the page should contain a dialog
When
I click on the "Launch" button
Then
the activity should load in a new tab
Setting the "Don't Ask" preference from the Activity Catalog
Given
I'm on an activity details dialog in the activity catalog for which I am not registered
And
I click on the "Take" button
Then
the page should contain a dialog
When
I check the "Don't ask again." checkbox
And
I click on the "Return" button
And
I click on the "Take" button
Then
the activity should load in a new tab

Last published about 5 years ago by Trevor Little.