From: Amir E. Aharoni Date: Thu, 27 Mar 2025 18:22:31 +0000 (-0400) Subject: Update tests with "Followings" X-Git-Tag: live~24^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b6060413573ff720678d1bd47f56a3cd66363170 Update tests with "Followings" --- diff --git a/test/system/dashboard_test.rb b/test/system/dashboard_test.rb index 12d960938..34c348d84 100644 --- a/test/system/dashboard_test.rb +++ b/test/system/dashboard_test.rb @@ -19,7 +19,7 @@ class DashboardSystemTest < ApplicationSystemTestCase visit dashboard_path assert_no_text "You have not followed any user yet." - friends_heading = find :element, "h2", :text => "Followings" + friends_heading = find :element, "h2", :text => "Users you follow" others_heading = find :element, "h2", :text => "Other nearby users" assert_link friend_user.display_name, :below => friends_heading, :above => others_heading @@ -41,7 +41,7 @@ class DashboardSystemTest < ApplicationSystemTestCase click_on "Follow" - followings_heading = find :element, "h2", :text => "Followings" + followings_heading = find :element, "h2", :text => "Users you follow" others_nearby_heading = find :element, "h2", :text => "Other nearby users" assert_text "There are no other users who admit to mapping nearby yet"