2 Feature: Creation of search terms
3 Tests that search_name table is filled correctly
5 Scenario: POIs without a name have no search entry
6 Given the scene roads-with-pois
8 | osm | class | type | geometry |
9 | N1 | place | house | :p-N1 |
11 | osm | class | type | geometry |
12 | W1 | highway | residential | :w-north |
14 Then search_name has no entry for N1
16 Scenario: Named POIs inherit address from parent
17 Given the scene roads-with-pois
19 | osm | class | type | name | geometry |
20 | N1 | place | house | foo | :p-N1 |
21 | W1 | highway | residential | the road | :w-north |
23 Then search_name contains
24 | object | name_vector | nameaddress_vector |
25 | N1 | foo | the road |