codeforbtv / courtbot-vt-frontend

1 stars 1 forks source link

Docket regular expression pattern permits matches that lack alphanumeric characters #11

Open NathanWEdwards opened 2 years ago

NathanWEdwards commented 2 years ago

User input of invalid case number matching the regular expression triggers a response that indicates no case was found.

Steps to recreate the issue:

  1. Text ‘- - - - -’ to (802) 760 2922.

The application responds with: “We did not find any cases that match - - - - -.”

Given a case number with invalid characters (e.g. characters for spacing), When the user supplies an invalid case number, Then the application should ... (e.g. send a help response).

Acceptance Criteria: The application provides a help response message when invalid characters are present in case numbers.