File tree Expand file tree Collapse file tree 4 files changed +647
-0
lines changed
Expand file tree Collapse file tree 4 files changed +647
-0
lines changed Original file line number Diff line number Diff line change 1+ @eps_fhir_dispensing @regression @blocker @smoke
2+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432
3+ Feature : I can dispense prescriptions
4+
5+ @claim
6+ Scenario : I can claim for a prescription
7+ Given a new prescription has been dispensed using proxygen apis
8+ When I claim for the prescription
9+ Then the response indicates a success
10+ And the response body indicates a successful claim
Original file line number Diff line number Diff line change 1414 return_prescription ,
1515 withdraw_dispense_notification ,
1616 call_validator ,
17+ claim_prescription ,
1718)
1819from features .environment import APIGEE_APPS
1920from methods .shared .common import assert_that , get_auth
@@ -139,6 +140,13 @@ def i_amend_a_dispense_notification(context):
139140 amend_dispense_notification (context )
140141
141142
143+ @when ("I claim for the prescription" )
144+ def i_claim_for_a_prescription (context ):
145+ if "sandbox" in context .config .userdata ["env" ].lower ():
146+ return
147+ claim_prescription (context )
148+
149+
142150@when ("I withdraw the dispense notification" )
143151def i_withdraw_the_dispense_notification (context ):
144152 if "sandbox" in context .config .userdata ["env" ].lower ():
You can’t perform that action at this time.
0 commit comments