Logo: Relish

  1. Sign in

Project: Medlink

SMS

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

Background
Given
the default user exists
Scenarios
  • @wip
User successfully requests medical supplies (P5 tag)
Given
I am an "role"
When
I send a sms request
And
I give it all the valid sms inputs
Then
I see a successful sms request message
Examples:
role
pcv
pcmo
admin
  • @wip
Users does not give "Select Supply" value - G (invalid supply)
Given
I am an "role"
When
I send a sms request
And
I give it all sms inputs but "Select Supply"
Then
I see a invalid supply sms request message
Examples:
role
pcv
pcmo
admin
  • @wip
User does not give a location value - J (invalid location)
Given
I am an "role"
When
I send a sms request
And
I give it all sms inputs but "location"
Then
I see a invalid Location sms request message
Examples:
role
pcv
pcmo
admin
  • @wip
User does not give a Qty value - I (invalid qty)
Given
I am an "role"
When
I send a sms request
And
I give it all sms inputs but "qty"
Then
I see a invalid Qty sms request message
Examples:
role
pcv
pcmo
admin
  • @wip
User does not give a Dose value -- H (invalid dose)
Given
I am an "role"
When
I send a sms request
And
I give it all inputs but "dose"
Then
I see a invalid dose sms request message
Examples:
role
pcv
pcmo
admin
  • @wip
User does not give a PCVID value -- F (bad pcvid)
Given
I am an "role"
When
I send a sms request
And
I give it all inputs but "bad pcvid"
Then
I see a bad PCVID sms request message
Examples:
role
pcv
pcmo
admin
  • @wip
User gives a bad Quantity value - I (invalid/non-numbers qty)
Given
I am an "role"
When
I send a sms request
And
I give it all sms inputs but "invalid Qty"
Then
I see a nonnumber Qty sms request message
Examples:
role
pcv
pcmo
admin

Last published about 7 years ago by jasnow.