X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5cbe87ed37f9cba8224fa4049047d7f981f66a..8c32e6349281dc041af55d3b493fdeac85212b02:/test/system/user_logout_test.rb?ds=inline diff --git a/test/system/user_logout_test.rb b/test/system/user_logout_test.rb index a097b6374..fc27b7c18 100644 --- a/test/system/user_logout_test.rb +++ b/test/system/user_logout_test.rb @@ -6,8 +6,8 @@ class UserLogoutTest < ApplicationSystemTestCase sign_in_as(user) assert_no_content "Log In" - click_on user.display_name - click_on "Log Out" + click_button user.display_name + click_link "Log Out" assert_content "Log In" end @@ -17,8 +17,8 @@ class UserLogoutTest < ApplicationSystemTestCase visit traces_path assert_no_content "Log In" - click_on user.display_name - click_on "Log Out" + click_button user.display_name + click_link "Log Out" assert_content "Log In" assert_content "Public GPS Traces" end