Show/hide entire OpenID form
This commit is contained in:
parent
d80fac7ad9
commit
66140c8d1d
3 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue