X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1e30e578e0b8e51d64a9409086cb8b1a1d43643b..e0a7b94e49cb4c47d0a42f0d8108f826e9de59f3:/test/bdd/db/import/naming.feature?ds=sidebyside diff --git a/test/bdd/db/import/naming.feature b/test/bdd/db/import/naming.feature index f3019e2a..b739cbae 100644 --- a/test/bdd/db/import/naming.feature +++ b/test/bdd/db/import/naming.feature @@ -37,3 +37,69 @@ Feature: Import and search of names Then placex contains | object | country_code | name | name+name:fi | name+name:de | | N1 | de | german | finnish | local | + + Scenario Outline: Names in any script can be found + Given the places + | osm | class | type | name | + | N1 | place | hamlet | | + When importing + And sending search query "" + Then results contain + | osm | + | N1 | + + Examples: + | name | + | Berlin | + | 北京 | + | Вологда | + | Αθήνα | + | القاهرة | + | រាជធានីភ្នំពេញ | + | 東京都 | + | ပုဗ္ဗသီရိ | + + + Scenario: German umlauts can be found when expanded + Given the places + | osm | class | type | name+name:de | + | N1 | place | city | Münster | + | N2 | place | city | Köln | + | N3 | place | city | Gräfenroda | + When importing + When sending search query "münster" + Then results contain + | osm | + | N1 | + When sending search query "muenster" + Then results contain + | osm | + | N1 | + When sending search query "munster" + Then results contain + | osm | + | N1 | + When sending search query "Köln" + Then results contain + | osm | + | N2 | + When sending search query "Koeln" + Then results contain + | osm | + | N2 | + When sending search query "Koln" + Then results contain + | osm | + | N2 | + When sending search query "gräfenroda" + Then results contain + | osm | + | N3 | + When sending search query "graefenroda" + Then results contain + | osm | + | N3 | + When sending search query "grafenroda" + Then results contain + | osm | + | N3 |