2 Feature: Country handling
3 Tests for update of country information
6 Given the 1.0 grid with origin DE
11 Scenario: When country names are changed old ones are no longer searchable
13 | osm | class | type | admin | name+name:xy | country | geometry |
14 | R1 | boundary | administrative | 2 | Loudou | de | (1,2,3,4,1) |
16 | osm | class | type | name |
17 | N10 | place | town | Wenig |
19 When sending search query "Wenig, Loudou"
24 | osm | class | type | admin | name+name:xy | country | geometry |
25 | R1 | boundary | administrative | 2 | Germany | de | (1,2,3,4,1) |
26 When sending search query "Wenig, Loudou"
27 Then exactly 0 results are returned
29 Scenario: When country names are deleted they are no longer searchable
31 | osm | class | type | admin | name+name:xy | country | geometry |
32 | R1 | boundary | administrative | 2 | Loudou | de | (1,2,3,4,1) |
34 | osm | class | type | name |
35 | N10 | place | town | Wenig |
37 When sending search query "Wenig, Loudou"
42 | osm | class | type | admin | name+name:en | country | geometry |
43 | R1 | boundary | administrative | 2 | Germany | de | (1,2,3,4,1) |
44 When sending search query "Wenig, Loudou"
45 Then exactly 0 results are returned
46 When sending search query "Wenig"
50 | osm | display_name |
51 | N10 | Wenig, Germany |
54 Scenario: Default country names are always searchable
56 | osm | class | type | name |
57 | N10 | place | town | Wenig |
59 When sending search query "Wenig, Germany"
63 When sending search query "Wenig, de"
68 | osm | class | type | admin | name+name:en | country | geometry |
69 | R1 | boundary | administrative | 2 | Lilly | de | (1,2,3,4,1) |
70 When sending search query "Wenig, Germany"
74 | osm | display_name |
75 | N10 | Wenig, Lilly |
76 When sending search query "Wenig, de"
80 | osm | display_name |
81 | N10 | Wenig, Lilly |
84 Scenario: When a localised name is deleted, the standard name takes over
86 | osm | class | type | admin | name+name:de | country | geometry |
87 | R1 | boundary | administrative | 2 | Loudou | de | (1,2,3,4,1) |
89 | osm | class | type | name |
90 | N10 | place | town | Wenig |
92 When sending search query "Wenig, Loudou"
96 | osm | display_name |
97 | N10 | Wenig, Loudou |
99 | osm | class | type | admin | name+name:en | country | geometry |
100 | R1 | boundary | administrative | 2 | Germany | de | (1,2,3,4,1) |
101 When sending search query "Wenig, Loudou"
102 Then exactly 0 results are returned
103 When sending search query "Wenig"
107 | osm | display_name |
108 | N10 | Wenig, Deutschland |