From: Andy Allan Date: Mon, 29 Mar 2021 14:51:07 +0000 (+0100) Subject: Add test case to ensure clicking on the registration link takes you to the right... X-Git-Tag: live~2207^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/60444d3015e5d038499fba2c1171940fa6f2021e?hp=-c Add test case to ensure clicking on the registration link takes you to the right page --- 60444d3015e5d038499fba2c1171940fa6f2021e diff --git a/test/system/user_signup_test.rb b/test/system/user_signup_test.rb new file mode 100644 index 000000000..d4da01436 --- /dev/null +++ b/test/system/user_signup_test.rb @@ -0,0 +1,11 @@ +require "application_system_test_case" + +class UserSignupTest < ApplicationSystemTestCase + test "Sign up from login page" do + visit login_path + + click_on "Register now" + + assert page.has_content? "Confirm Password" + end +end