1 Feature: Search queries
2 Testing correctness of results
4 Scenario: UK House number search
5 When sending json search query "27 Thoresby Road, Broxtowe" with address
6 Then address of result 0 contains
12 | country | United Kingdom
16 Scenario: House number search for non-street address
17 Given the request parameters
20 When sending json search query "4 Pomocnia, Pokrzywnica, Poland" with address
21 Then address of result 0 is
25 | county | gmina Pokrzywnica
26 | state | Masovian Voivodeship
31 Scenario: House number interpolation even
32 Given the request parameters
35 When sending json search query "140 rue Don Bosco, Saguenay" with address
36 Then address of result 0 contains
39 | road | rue Don Bosco
45 Scenario: House number interpolation odd
46 Given the request parameters
49 When sending json search query "141 rue Don Bosco, Saguenay" with address
50 Then address of result 0 contains
53 | road | rue Don Bosco
59 Scenario: TIGER house number
60 When sending json search query "3 West Victory Way, Craig"
61 Then result 0 has not attributes osm_id,osm_type
63 Scenario: TIGER house number (road fallback)
64 When sending json search query "3030 West Victory Way, Craig"
65 Then result 0 has attributes osm_id,osm_type
67 Scenario: Expansion of Illinois
68 Given the request parameters
71 When sending json search query "il, us"