Author: jasha
Date: Tue May 29 20:04:11 2012
New Revision: 1343954

URL: http://svn.apache.org/viewvc?rev=1343954&view=rev
Log:
Split up profile edit & revert stories to show changes persist between sessions

Modified:
    
rave/trunk/rave-integration-tests/rave-default-account-tests/src/main/stories/johnDoe.story

Modified: 
rave/trunk/rave-integration-tests/rave-default-account-tests/src/main/stories/johnDoe.story
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-integration-tests/rave-default-account-tests/src/main/stories/johnDoe.story?rev=1343954&r1=1343953&r2=1343954&view=diff
==============================================================================
--- 
rave/trunk/rave-integration-tests/rave-default-account-tests/src/main/stories/johnDoe.story
 (original)
+++ 
rave/trunk/rave-integration-tests/rave-default-account-tests/src/main/stories/johnDoe.story
 Tue May 29 20:04:11 2012
@@ -13,7 +13,7 @@ Then I see the message "Hello John Doe, 
 When I log out
 Then I see the Rave login page
 
-Scenario: John Doe updates and reverts his profile
+Scenario: John Doe updates his profile
 When I log in with username "john.doe" and password "john.doe"
 And I go to "http://localhost:8080/portal/app/person/john.doe";
 Then I see the email address "[email protected]" on the profile page
@@ -28,6 +28,15 @@ And I submit the edit profile form
 Then I see the email address "[email protected]" on the profile page
 And I see the about me "I'm a test user" on the profile page
 And I see the status "It's complicated" on the profile page
+When I log out
+Then I see the Rave login page
+
+Scenario: John Doe reverts his profile after logging out and in
+When I log in with username "john.doe" and password "john.doe"
+And I go to "http://localhost:8080/portal/app/person/john.doe";
+Then I see the email address "[email protected]" on the profile page
+And I see the about me "I'm a test user" on the profile page
+And I see the status "It's complicated" on the profile page
 When I click on the "profileEdit" button
 Then I can edit the email address
 When I change the email address to "[email protected]"
@@ -37,5 +46,4 @@ And I submit the edit profile form
 Then I see the email address "[email protected]" on the profile page
 And I see the about me "" on the profile page
 And I see the status "" on the profile page
-When I log out
-Then I see the Rave login page
+


Reply via email to