X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ce5870223a7570a7b3ad328513860775aa7c4228..7aa2df53891a8845af51491280c26142695bc2af:/test/bdd/api/search/queries.feature diff --git a/test/bdd/api/search/queries.feature b/test/bdd/api/search/queries.feature index 2969844c..7ac9813a 100644 --- a/test/bdd/api/search/queries.feature +++ b/test/bdd/api/search/queries.feature @@ -166,3 +166,23 @@ Feature: Search queries | 0 | 6395 | | 1 | 6395 BIS | + Scenario Outline: Same Searches with white spaces + When sending json search query "" + 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 | \ No newline at end of file