@@ -134,6 +134,36 @@ Feature: Media tags
134
134
Then I should not see "Not a medium" within "#header .primary .dropdown .menu"
135
135
And I should not see "Not a medium" within "#main .splash .browse"
136
136
137
+ Scenario : Renaming a media tag as admin changes it in the Fandoms header menu
138
+ Given I have just created the canonical media tag "New Mediia Tag"
139
+ And I am logged out
140
+ # Make sure the old state gets cached
141
+ And I go to the homepage
142
+ Then I should see "New Mediia Tag" within "#header .primary .dropdown .menu"
143
+ When I am logged in as a "tag_wrangling" admin
144
+ And I edit the tag "New Mediia Tag"
145
+ And I fill in "Name" with "New Media Tag"
146
+ And I press "Save changes"
147
+ Then I should see "Tag was updated."
148
+ And I am logged out
149
+ When I go to the homepage
150
+ Then I should see "New Media Tag" within "#header .primary .dropdown .menu"
151
+
152
+ Scenario : Renaming a media tag as admin changes it in the Fandoms list on the homepage
153
+ Given I have just created the canonical media tag "New Mediia Tag"
154
+ And I am logged out
155
+ # Make sure the old state gets cached
156
+ And I go to the homepage
157
+ Then I should see "New Mediia Tag" within "#main .splash .browse"
158
+ When I am logged in as a "tag_wrangling" admin
159
+ And I edit the tag "New Mediia Tag"
160
+ And I fill in "Name" with "New Media Tag"
161
+ And I press "Save changes"
162
+ Then I should see "Tag was updated."
163
+ And I am logged out
164
+ When I go to the homepage
165
+ Then I should see "New Media Tag" within "#main .splash .browse"
166
+
137
167
@javascript
138
168
Scenario : Wranglers can add fandoms to new media tags
139
169
Given I have just created the canonical media tag "New Media 5"
0 commit comments