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 contains
24 | county | gmina Pokrzywnica
25 | state | Masovian Voivodeship
29 Then address of result 0 does not contain road
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 | [Rr]ue 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 | [rR]ue Don Bosco
60 Scenario: TIGER house number
61 When sending json search query "3 West Victory Way, Craig"
67 Scenario: TIGER house number (road fallback)
68 When sending json search query "3030 West Victory Way, Craig"
73 Scenario: Expansion of Illinois
74 Given the request parameters
77 When sending json search query "il, us"
82 Scenario: Search with class-type feature
83 When sending jsonv2 search query "Hotel California"