Logo: Relish

  1. Sign in

Project: Medlink

Place a Request

In order to have medical supplies during the whole deployment
A user
Should be able to submit a request for replacement medical supplies

Background
Given
that the following supplies exist:
shortcode name
gz Gauze
Given
the default user exists
Scenarios
User successfully requests medical supplies (P9 tag)
Given
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I place a request
And
I give it all the valid inputs
Then
I see a successful request message
And
I stay on afterpage page
Examples:
role afterpage
pcv Request Form
pcmo Request Manager
admin Admin Home
Users does not give "Select Supply" value - G (invalid supply)
Given
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I place a request
When
I give it all inputs but "Select Supply"
Then
I see a invalid supply request message
And
I stay on afterpage page
Examples:
role afterpage
pcv Request Form
admin Place a Request
pcmo Place a Request
User does not give a Quantity - I (invalid quantity)
Given
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I place a request
And
I give it all inputs but quantity
Then
I see a invalid quantity request message
And
I stay on afterpage page
Examples:
role afterpage
pcv Request Form
admin Place a Request
pcmo Place a Request
User does not give a dose
Given
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I place a request
And
I give it all inputs but dose
Then
I see a invalid dose request message
And
I stay on afterpage page
Examples:
role afterpage
pcv Request Form
admin Place a Request
pcmo Place a Request
User gives a bad Quantity value. - I (invalid/non-numbers qty)
Given
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I place a request
And
I give it all inputs with non-number "Quantity"
Then
I see a nonnumber quantity request message
And
I stay on afterpage page
Examples:
role afterpage
pcv Request Form
admin Place a Request
pcmo Place a Request

Last published about 7 years ago by jasnow.