Support whitespace characters(x09-x0d) as single space

This commit is contained in:
K Rahul Reddy 2020-04-02 05:04:40 +05:30
parent ce5870223a
commit 7aa2df5389
2 changed files with 21 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -166,3 +166,23 @@ Feature: Search queries
| 0 | 6395 |
| 1 | 6395 BIS |
Scenario Outline: Same Searches with white spaces
When sending json search query "<data>"
Then exactly 1 result is returned
And results contain
| class |
| building |
Examples:
| data |
| amerlugalpe, N 47.15739° E 9.61264° |
| amerlugalpe, N 47.15739° E 9.61264° |
| amerlugalpe , N 47.15739° E 9.61264° |
| amerlugalpe, N 47.15739° E 9.61264° |
| amerlugalpe , N 47.15739° E 9.61264° |
Scenario: Searched with white spaces
When sending json search query "22nd Street Southwest , Huron"
Then results contain
| class | type |
| highway | residential |