X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1276fb944a8024884f3121d21577ef892353dfd1..257f4673e1dd86a3704f6a965e5e077283a04a00:/test/system/user_signup_test.rb?ds=sidebyside diff --git a/test/system/user_signup_test.rb b/test/system/user_signup_test.rb index 7e2c6ba54..0e02b904f 100644 --- a/test/system/user_signup_test.rb +++ b/test/system/user_signup_test.rb @@ -4,8 +4,20 @@ class UserSignupTest < ApplicationSystemTestCase test "Sign up from login page" do visit login_path - click_on "Register now" + click_on "Sign up" 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