1 Feature: Result order for Geocoding
2 Testing that importance ordering returns sensible results
4 Scenario Outline: city order in street search
5 When sending json search query "<street>, <city>" with address
6 Then address of result 0 contains
11 | type | city | street
12 | city | Zürich | Rigistr
13 | city | Karlsruhe | Sophienstr
14 | city | München | Karlstr
15 | city | Praha | Dlouhá
17 Scenario Outline: use more important city in street search
18 When sending json search query "<street>, <city>" with address
19 Then result addresses contain
24 | country | city | street
25 | gb | London | Main St
26 | gb | Manchester | Central Street
28 # https://trac.openstreetmap.org/ticket/5094
29 Scenario: housenumbers are ordered by complete match first
30 When sending json search query "4 Докукина Москва" with address
31 Then result addresses contain