X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9649b192c03f7a333f3a02697a64910cd6669dab..28726e5f11cb46add4e6b86eb9a958798b83c46a:/test/system/user_signup_test.rb diff --git a/test/system/user_signup_test.rb b/test/system/user_signup_test.rb index 0835df741..0e02b904f 100644 --- a/test/system/user_signup_test.rb +++ b/test/system/user_signup_test.rb @@ -8,4 +8,16 @@ class UserSignupTest < ApplicationSystemTestCase assert_content "Confirm Password" end + + test "Show OpenID form when OpenID provider button is clicked" do + visit login_path + + assert_no_field "OpenID URL" + assert_no_button "Continue" + + click_on "Log in with OpenID" + + assert_field "OpenID URL" + assert_button "Continue" + end end