[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?
User Story
As a CAMPD API user I want to receive clear error messages so that I can fix my query
Acceptance Criteria
Given that a user has entered an invalid format for date
When API endpoint is executed
Then the system displays the error message: [FV-5]
Given that a user has entered an invalid date range (end date not equal or greater than start date)
When API endpoint is executed
Then the system displays the error message: [FV-6]
Given that a user has entered an invalid year (not between 1995 and current)
When API endpoint is executed
Then the system displays the error message: [FV-7]
Given that a user has entered date that is not a valid date (such as 2020-13-45)
When API endpoint is executed
Then the system displays the error message: [FV-11]
Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Definition of Ready
User Story
As a CAMPD API user I want to receive clear error messages so that I can fix my query
Acceptance Criteria
Given that a user has entered an invalid format for date When API endpoint is executed Then the system displays the error message: [FV-5]
Given that a user has entered an invalid date range (end date not equal or greater than start date) When API endpoint is executed Then the system displays the error message: [FV-6]
Given that a user has entered an invalid year (not between 1995 and current) When API endpoint is executed Then the system displays the error message: [FV-7]
Given that a user has entered date that is not a valid date (such as 2020-13-45) When API endpoint is executed Then the system displays the error message: [FV-11]
Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Edit error messages that say "please" in order to comply with the EPA's error message style guide
Error Message Repo
Testing
Test Case: TC129 Tester: @davidkwartler
Definition of Done