-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CNFT1-3400 API: Update API to handle Operators for City (#2002)
* CNFT1-3400 API: Update API to handle Operators for City * coverage --------- Co-authored-by: Steven Urciuoli <[email protected]>
- Loading branch information
Showing
8 changed files
with
128 additions
and
5 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
50 changes: 50 additions & 0 deletions
50
...zation-api/src/test/resources/features/patient/search/PatientSearch.city-operator.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,50 @@ | ||
@patient-search @patient-search-results | ||
Feature: Searching patient's by street | ||
|
||
Background: | ||
Given I am logged into NBS | ||
And I can "find" any "patient" | ||
And I have a patient | ||
|
||
Scenario: I can find the a patient with a city address that equals a value | ||
And the patient has a "city" of "McLean" | ||
Given I have another patient | ||
And the patient has a "city" of "Chicago" | ||
And patients are available for search | ||
And I add the patient criteria for a city address that equals "McLean" | ||
When I search for patients | ||
Then search result 1 has a "city" of "McLean" | ||
And there are 1 patient search results | ||
|
||
Scenario: I can find the a patient with a city address that does not equal a value | ||
And the patient has a "city" of "McLean" | ||
Given I have another patient | ||
And the patient has a "city" of "Chicago" | ||
And patients are available for search | ||
And I add the patient criteria for a city address that does not equal "McLean" | ||
When I search for patients | ||
Then search result 1 has a "city" of "Chicago" | ||
And there are 1 patient search results | ||
|
||
Scenario: I can find the a patient with a city address that contains a value | ||
And the patient has a "city" of "McLean" | ||
Given I have another patient | ||
And the patient has a "city" of "Chicago" | ||
And patients are available for search | ||
And I add the patient criteria for a city address that contains "lea" | ||
When I search for patients | ||
Then search result 1 has a "city" of "McLean" | ||
And there are 1 patient search results | ||
|
||
Scenario: I can find the a patient with a city address and street address that equals a value | ||
And the patient has a "city" of "McLean" | ||
And the patient has an "address" of "124Street" | ||
Given I have another patient | ||
And the patient has a "city" of "Chicago" | ||
And the patient has an "address" of "124Street" | ||
And patients are available for search | ||
And I add the patient criteria for a city address that equals "McLean" | ||
And I add the patient criteria for a street address that equals "124Street" | ||
When I search for patients | ||
Then search result 1 has a "city" of "McLean" | ||
And there are 1 patient search results |
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