[Jifty-commit] jifty branch, master, updated. e11809d2b21ebdd67f6d068a4c5935246a5bcee9

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 3 03:39:57 EST 2010


The branch, master has been updated
       via  e11809d2b21ebdd67f6d068a4c5935246a5bcee9 (commit)
      from  be0a4a683aadea16014343a8499dd923334b76f8 (commit)

Summary of changes:
 t/TestApp-JiftyJS/t/5-action.t        |    2 +-
 t/TestApp-JiftyJS/t/6-offer-actions.t |    8 +++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit e11809d2b21ebdd67f6d068a4c5935246a5bcee9
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Feb 3 16:39:51 2010 +0800

    jiftyjs tests update

diff --git a/t/TestApp-JiftyJS/t/5-action.t b/t/TestApp-JiftyJS/t/5-action.t
index c974957..a40687d 100644
--- a/t/TestApp-JiftyJS/t/5-action.t
+++ b/t/TestApp-JiftyJS/t/5-action.t
@@ -21,7 +21,7 @@ my $URL    = $server->started_ok;
 
 $sel->open("/");
 
-if ($ENV{'SELENIUM_RC_BROWSER'} eq '*iexplore') {
+if (($ENV{'SELENIUM_RC_BROWSER'}||'') eq '*iexplore') {
     $sel->set_speed(1000);
 }
 
diff --git a/t/TestApp-JiftyJS/t/6-offer-actions.t b/t/TestApp-JiftyJS/t/6-offer-actions.t
index 2f4b915..aebba63 100644
--- a/t/TestApp-JiftyJS/t/6-offer-actions.t
+++ b/t/TestApp-JiftyJS/t/6-offer-actions.t
@@ -44,7 +44,7 @@ open
     /__jifty/admin/model/Offer
 
 type
-    xpath=//div[contains(@class, "jifty_admin create item")]//input[@type="text"]
+    xpath=//div[contains(@class, "crud create item")]//input[@type="text"]
     Not A Job Offer
 
 click
@@ -76,13 +76,11 @@ type
     Offer A Job
 
 check
-    xpath=//input[starts-with(@id, "J:A:F-is_job-create")][@type="checkbox"]
-
+    xpath=//input[starts-with(@id, "J:A:F-is_job-auto")][@type="checkbox"]
 
 # Click the "Create" button
 click
-    xpath=//div[@class="submit_button"]/input[contains(@name,"create")]
- 
+    xpath=//div[@class="submit_button"]/input[@type="submit"]
 
 pause
     100

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list