Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions features/eps_fhir/validator.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,30 @@ Feature: I can call the validator endpoint
And the validator response has many error issue
And the validator response has error with diagnostic containing Failed to parse JSON encoded FHIR content

@skip
Scenario: I can call the validator endpoint with missing dosage instructions message
Given I am an authorised prescriber with EPS-FHIR app
When I make a request with file missing_dosage_instructions/request.json to the eps_fhir validator endpoint
Then the response indicates a bad request
And the validator response matches missing_dosage_instructions/response.json

@skip
Scenario: I can call the validator endpoint with missing dispense request quantity message
Given I am an authorised prescriber with EPS-FHIR app
When I make a request with file missing_dispense_request_quantity/request.json to the eps_fhir validator endpoint
Then the response indicates a bad request
And the validator response matches missing_dispense_request_quantity/response.json

@skip
Scenario: I can call the validator endpoint with missing medication message
Given I am an authorised prescriber with EPS-FHIR app
When I make a request with file missing_medication/request.json to the eps_fhir validator endpoint
Then the response indicates a bad request
And the validator response matches missing_medication/response.json

@skip
Scenario: I can call the validator endpoint with too many medication requests message
Given I am an authorised prescriber with EPS-FHIR app
When I make a request with file too_many_medication_requests/request.json to the eps_fhir validator endpoint
Then the response indicates a bad request
And the validator response matches too_many_medication_requests/response.json

@skip
Scenario: I can call the validator endpoint with unknown endorsement message
Given I am an authorised prescriber with EPS-FHIR app
When I make a request with file unknown_endorsement/request.json to the eps_fhir validator endpoint
Expand Down
15 changes: 5 additions & 10 deletions features/eps_fhir_dispensing/validator.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,32 @@ Feature: I can call the validator endpoint
And the validator response has many error issue
And the validator response has error with diagnostic containing Failed to parse JSON encoded FHIR content

@skip
Scenario: I can call the validator endpoint with missing dosage instructions message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
Given I am an authorised prescriber with EPS-FHIR-DISPENSING app
When I make a request with file missing_dosage_instructions/request.json to the eps_fhir_dispensing validator endpoint
Then the response indicates a bad request
And the validator response matches missing_dosage_instructions/response.json

@skip
Scenario: I can call the validator endpoint with missing dispense request quantity message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
Given I am an authorised prescriber with EPS-FHIR-DISPENSING app
When I make a request with file missing_dispense_request_quantity/request.json to the eps_fhir_dispensing validator endpoint
Then the response indicates a bad request
And the validator response matches missing_dispense_request_quantity/response.json

@skip
Scenario: I can call the validator endpoint with missing medication message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
Given I am an authorised prescriber with EPS-FHIR-DISPENSING app
When I make a request with file missing_medication/request.json to the eps_fhir_dispensing validator endpoint
Then the response indicates a bad request
And the validator response matches missing_medication/response.json

@skip
Scenario: I can call the validator endpoint with too many medication requests message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
Given I am an authorised prescriber with EPS-FHIR-DISPENSING app
When I make a request with file too_many_medication_requests/request.json to the eps_fhir_dispensing validator endpoint
Then the response indicates a bad request
And the validator response matches too_many_medication_requests/response.json

@skip
Scenario: I can call the validator endpoint with unknown endorsement message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
Given I am an authorised prescriber with EPS-FHIR-DISPENSING app
When I make a request with file unknown_endorsement/request.json to the eps_fhir_dispensing validator endpoint
Then the response indicates a bad request
And the validator response matches unknown_endorsement/response.json
5 changes: 0 additions & 5 deletions features/eps_fhir_prescribing/validator.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,30 @@ Feature: I can call the validator endpoint
And the validator response has many error issue
And the validator response has error with diagnostic containing Failed to parse JSON encoded FHIR content

@skip
Scenario: I can call the validator endpoint with missing dosage instructions message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
When I make a request with file missing_dosage_instructions/request.json to the eps_fhir_prescribing validator endpoint
Then the response indicates a bad request
And the validator response matches missing_dosage_instructions/response.json

@skip
Scenario: I can call the validator endpoint with missing dispense request quantity message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
When I make a request with file missing_dispense_request_quantity/request.json to the eps_fhir_prescribing validator endpoint
Then the response indicates a bad request
And the validator response matches missing_dispense_request_quantity/response.json

@skip
Scenario: I can call the validator endpoint with missing medication message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
When I make a request with file missing_medication/request.json to the eps_fhir_prescribing validator endpoint
Then the response indicates a bad request
And the validator response matches missing_medication/response.json

@skip
Scenario: I can call the validator endpoint with too many medication requests message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
When I make a request with file too_many_medication_requests/request.json to the eps_fhir_prescribing validator endpoint
Then the response indicates a bad request
And the validator response matches too_many_medication_requests/response.json

@skip
Scenario: I can call the validator endpoint with unknown endorsement message
Given I am an authorised prescriber with EPS-FHIR-PRESCRIBING app
When I make a request with file unknown_endorsement/request.json to the eps_fhir_prescribing validator endpoint
Expand Down