From e69da7c5e879f9292bd1e8a3ecbad93c71392b67 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Sun, 31 Oct 2010 17:50:03 -0700 Subject: [PATCH] Cucumber feature for user registration. --- features/signs_up.feature | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 features/signs_up.feature diff --git a/features/signs_up.feature b/features/signs_up.feature new file mode 100644 index 000000000..59d34f3fa --- /dev/null +++ b/features/signs_up.feature @@ -0,0 +1,19 @@ +Feature: new user registration + + Scenario: new user sees profile wizard + When I go to the new user registration page + And I fill in "Username" with "ohai" + And I fill in "Email" with "ohai@example.com" + And I fill in "Password" with "secret" + And I fill in "Password confirmation" with "secret" + And I press "Sign up" + Then I should be on the getting started page + And I should see "Welcome to Diaspora!" + + When I fill in "person_profile_first_name" with "O" + And I fill in "person_profile_last_name" with "Hai" + And I press "Save and continue" + Then I should see "Profile updated" + And I should see "Your aspects" + +