diff --git a/app/views/tag/_tagging.html.erb b/app/views/tag/_tagging.html.erb index 2696043023..0763f69272 100644 --- a/app/views/tag/_tagging.html.erb +++ b/app/views/tag/_tagging.html.erb @@ -21,7 +21,7 @@ - <% elsif tag.class == UserTag && (tag.name[0..4] != "oauth" || (logged_in_as(['admin', 'moderator']) || (current_user && current_user.uid == tag.uid))) %>
  • diff --git a/test/system/post_test.rb b/test/system/post_test.rb index bc0e4605a6..f51ad8056a 100644 --- a/test/system/post_test.rb +++ b/test/system/post_test.rb @@ -201,7 +201,9 @@ def assert_page_does_not_reload(message = "page should not reload") # Wait for the location to be added wait_for_ajax - find('.tags-list a.show-more-tags').click() + + # there should also be a page reload now, because we want to reload to see the sidebar mini-map + find('a#tags-open').click() # Make sure proper latitude and longitude tags are added assert_selector('.tags-list .badge a[href="/tag/lat:22"]', text: "lat:22")