-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'aea-4506-migrate-qc' of github.com:NHSDigital/electroni…
…c-prescription-service-api-regression-tests into aea-4506-migrate-qc
- Loading branch information
Showing
27 changed files
with
460 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ poetry 1.8.3 | |
shellcheck 0.10.0 | ||
nodejs 22.9.0 | ||
actionlint 1.7.1 | ||
allure 2.31.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
features/eps_fhir_dispensing/dispense_prescriptions.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@eps_fhir_dispensing @regression @blocker @smoke | ||
@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432 | ||
Feature: I can dispense prescriptions | ||
|
||
@dispense | ||
Scenario: I can dispense a prescription | ||
Given a prescription has been created and released | ||
When I dispense the prescription | ||
Then the response indicates a success | ||
And the response body indicates a successful dispense action | ||
|
||
@amend | ||
Scenario: I can amend a single dispense notification | ||
Given a new prescription has been dispensed | ||
When I amend the dispense notification | ||
Then the response indicates a success | ||
And the response body indicates a successful amend dispense action | ||
|
||
@withdraw | ||
Scenario: I can withdraw a dispense notification | ||
Given a new prescription has been dispensed | ||
When I withdraw the dispense notification | ||
Then the response indicates a success | ||
And the response body indicates a successful dispense withdrawal action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@eps_fhir_dispensing @smoke @regression @ping @blocker | ||
@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432 | ||
Feature: I can ping the API | ||
|
||
Scenario: I can ping the API | ||
When I make a request to the "eps_fhir_dispensing" ping endpoint | ||
Then the response indicates a success | ||
And I can see the ping information in the response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@eps_fhir_dispensing @smoke @regression @blocker @return | ||
@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432 | ||
Feature: I can return prescriptions | ||
|
||
Scenario: I can return a prescription | ||
Given a prescription has been created and released | ||
When I return the prescription | ||
Then the response indicates a success | ||
And the response body indicates a successful return action |
10 changes: 10 additions & 0 deletions
10
features/eps_fhir_prescribing/cancel_prescriptions.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@eps_fhir_prescribing @cancel @regression @blocker @smoke | ||
@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432 | ||
Feature: I can cancel prescriptions | ||
|
||
Scenario: I can cancel a prescription | ||
Given I am an authorised prescriber | ||
And I successfully prepare and sign a non-nominated prescription | ||
When I cancel all line items on the prescription | ||
Then the response indicates a success | ||
And the response body indicates a successful cancel action |
15 changes: 15 additions & 0 deletions
15
features/eps_fhir_prescribing/create_prescriptions.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@eps_fhir_prescribing @smoke @regression @blocker @create | ||
@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432 | ||
Feature: I can create prescriptions | ||
|
||
Scenario Outline: I can create, sign and release a prescription | ||
Given I am an authorised prescriber | ||
And I successfully prepare and sign a <Type> prescription | ||
When I am an authorised dispenser | ||
And I release the prescription | ||
Then the response indicates a success | ||
And the response body indicates a successful release action | ||
Examples: | ||
| Type | | ||
| nominated | | ||
| non-nominated | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@eps_fhir_prescribing @smoke @regression @ping @blocker | ||
@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4432 | ||
Feature: I can ping the API | ||
|
||
Scenario: I can ping the API | ||
When I make a request to the "eps_fhir_prescribing" ping endpoint | ||
Then the response indicates a success | ||
And I can see the ping information in the response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.