2 Feature: Country handling
3 Tests for update of country information
6 Given the 1.0 grid with origin DE
12 Scenario: When country names are changed old ones are no longer searchable
14 | osm | class | type | admin | name+name:xy | country | geometry |
15 | R1 | boundary | administrative | 2 | Loudou | de | (1,2,3,4,1) |
17 | osm | class | type | name |
18 | N10 | place | town | Wenig |
20 When sending search query "Wenig, Loudou"
25 | osm | class | type | admin | name+name:xy | country | geometry |
26 | R1 | boundary | administrative | 2 | Germany | de | (1,2,3,4,1) |
27 When sending search query "Wenig, Loudou"
28 Then exactly 0 results are returned
31 Scenario: When country names are deleted they are no longer searchable
33 | osm | class | type | admin | name+name:xy | country | geometry |
34 | R1 | boundary | administrative | 2 | Loudou | de | (1,2,3,4,1) |
36 | osm | class | type | name |
37 | N10 | place | town | Wenig |
39 When sending search query "Wenig, Loudou"
44 | osm | class | type | admin | name+name:en | country | geometry |
45 | R1 | boundary | administrative | 2 | Germany | de | (1,2,3,4,1) |
46 When sending search query "Wenig, Loudou"
47 Then exactly 0 results are returned
48 When sending search query "Wenig"
52 | osm | display_name |
53 | N10 | Wenig, Germany |
56 Scenario: Default country names are always searchable
58 | osm | class | type | name |
59 | N10 | place | town | Wenig |
61 When sending search query "Wenig, Germany"
65 When sending search query "Wenig, de"
70 | osm | class | type | admin | name+name:en | country | geometry |
71 | R1 | boundary | administrative | 2 | Lilly | de | (1,2,3,4,1) |
72 When sending search query "Wenig, Germany"
76 | osm | display_name |
77 | N10 | Wenig, Lilly |
78 When sending search query "Wenig, de"
82 | osm | display_name |
83 | N10 | Wenig, Lilly |
87 Scenario: When a localised name is deleted, the standard name takes over
89 | osm | class | type | admin | name+name:de | country | geometry |
90 | R1 | boundary | administrative | 2 | Loudou | de | (1,2,3,4,1) |
92 | osm | class | type | name |
93 | N10 | place | town | Wenig |
95 When sending search query "Wenig, Loudou"
99 | osm | display_name |
100 | N10 | Wenig, Loudou |
102 | osm | class | type | admin | name+name:en | country | geometry |
103 | R1 | boundary | administrative | 2 | Germany | de | (1,2,3,4,1) |
104 When sending search query "Wenig, Loudou"
105 Then exactly 0 results are returned
106 When sending search query "Wenig"
110 | osm | display_name |
111 | N10 | Wenig, Deutschland |