1 require "application_system_test_case"
3 class UserSignupTest < ApplicationSystemTestCase
4 test "Sign up from login page" do
7 click_on "Register now"
9 assert_content "Confirm Password"
12 test "externally redirect when contributor terms declined" do
17 fill_in "Email", :with => user.email
18 fill_in "Email Confirmation", :with => user.email
19 fill_in "Display Name", :with => user.display_name
20 fill_in "Password", :with => "testtest"
21 fill_in "Confirm Password", :with => "testtest"
22 click_button "Sign Up"
24 assert_content "Contributor terms"
27 assert_current_path "https://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined"