[Jifty-commit] r3801 - in Test-WWW-Declare: doc

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Aug 6 12:33:36 EDT 2007


Author: sartak
Date: Mon Aug  6 12:33:35 2007
New Revision: 3801

Modified:
   Test-WWW-Declare/   (props changed)
   Test-WWW-Declare/doc/fancy-sessions.t

Log:
 r29941 at caladan:  sartak | 2007-08-06 12:32:34 -0400
 Little changes to the example


Modified: Test-WWW-Declare/doc/fancy-sessions.t
==============================================================================
--- Test-WWW-Declare/doc/fancy-sessions.t	(original)
+++ Test-WWW-Declare/doc/fancy-sessions.t	Mon Aug  6 12:33:35 2007
@@ -5,6 +5,7 @@
 
 session "gooduser" => run {
     flow "create task" => check {
+        login as 'gooduser';
         fill form 'tasklist-new_item_create' => {
             summary => "bouncy task",
         };
@@ -24,6 +25,7 @@
 
     session "otheruser" => run {
         flow "accept gooduser's task" => check {
+            login as 'otheruser';
             click href qr{unaccepted task(s)?};
             content should contain 'bouncy task';
             click href qr{bouncy task};
@@ -49,7 +51,7 @@
 
         session "otheruser" => run {
             flow "check that we got the comment" => check {
-                click href qr{bouncy task};
+                reload;
                 content should contain 'first comment';
             };
         };


More information about the Jifty-commit mailing list