From 183ca79a45452c53f961dbb0942a37cb2787eef9 Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Tue, 17 Dec 2024 12:46:52 -0800 Subject: [PATCH] Disable not applicable "/communities" test suite. --- test/system/view_communities_test.rb | 38 +++++++++++++++------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/test/system/view_communities_test.rb b/test/system/view_communities_test.rb index 349d0a5bf7..7fe4c35a9f 100644 --- a/test/system/view_communities_test.rb +++ b/test/system/view_communities_test.rb @@ -1,22 +1,24 @@ require "application_system_test_case" class ViewCommunitiesTest < ApplicationSystemTestCase - def test_lc_links - # Check that all the parsing of the chapter information has worked - visit "/communities" - assert_link "OpenStreetMap US", :href => "https://www.openstreetmap.us/" - assert_link "OpenStreetMap Belgium", :href => "https://openstreetmap.be/" - end - - def test_translated_links - sign_in_as(create(:user)) - - visit edit_preferences_path - fill_in "Preferred Languages", :with => "fr" - click_on "Update Preferences" - - visit "/communities" - assert_link "OpenStreetMap États-Unis", :href => "https://www.openstreetmap.us/" - assert_link "OpenStreetMap Belgique", :href => "https://openstreetmap.be/" - end + # OHM has no Communities/Chapters and thus has no "/communities" uri + # + # def test_lc_links + # # Check that all the parsing of the chapter information has worked + # visit "/communities" + # assert_link "OpenStreetMap US", :href => "https://www.openstreetmap.us/" + # assert_link "OpenStreetMap Belgium", :href => "https://openstreetmap.be/" + # end + # + # def test_translated_links + # sign_in_as(create(:user)) + # + # visit edit_preferences_path + # fill_in "Preferred Languages", :with => "fr" + # click_on "Update Preferences" + # + # visit "/communities" + # assert_link "OpenStreetMap États-Unis", :href => "https://www.openstreetmap.us/" + # assert_link "OpenStreetMap Belgique", :href => "https://openstreetmap.be/" + # end end