Return-Path:
Delivered-To: apmail-struts-commits-archive@minotaur.apache.org
Received: (qmail 21494 invoked from network); 4 Mar 2009 22:01:03 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2)
by minotaur.apache.org with SMTP; 4 Mar 2009 22:01:03 -0000
Received: (qmail 6179 invoked by uid 500); 4 Mar 2009 22:01:01 -0000
Delivered-To: apmail-struts-commits-archive@struts.apache.org
Received: (qmail 6145 invoked by uid 500); 4 Mar 2009 22:01:01 -0000
Mailing-List: contact commits-help@struts.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@struts.apache.org
Delivered-To: mailing list commits@struts.apache.org
Received: (qmail 6136 invoked by uid 99); 4 Mar 2009 22:01:01 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 14:01:01 -0800
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 22:00:53 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id 1AEF52388870; Wed, 4 Mar 2009 22:00:33 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r750181 - in
/struts/sandbox/trunk/s2-jquery-showcase/src:
main/webapp/WEB-INF/content/form/ test/resources/selenium/
Date: Wed, 04 Mar 2009 22:00:32 -0000
To: commits@struts.apache.org
From: wesw@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20090304220033.1AEF52388870@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: wesw
Date: Wed Mar 4 22:00:32 2009
New Revision: 750181
URL: http://svn.apache.org/viewvc?rev=750181&view=rev
Log:
Adding reset functionality and a single selenium test, will add more tests
Added:
struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp-input.jsp
- copied, changed from r750152, struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormGetAjaxResponse-input.jsp
struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp.jsp
- copied unchanged from r750152, struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormGetAjaxResponse.jsp
struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetGetReqAjaxResp
Modified:
struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/s2-jquery-plugin-selenium-tests
Copied: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp-input.jsp (from r750152, struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormGetAjaxResponse-input.jsp)
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp-input.jsp?p2=struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp-input.jsp&p1=struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormGetAjaxResponse-input.jsp&r1=750152&r2=750181&rev=750181&view=diff
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormGetAjaxResponse-input.jsp (original)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp-input.jsp Wed Mar 4 22:00:32 2009
@@ -16,6 +16,7 @@
ajaxResult="true" ajaxResultHandler="handleAjaxResponse" >
+
+
+
+FormWithResetGetReqAjaxResp |
+
+
+ open |
+ /s2-jquery-showcase/FormWithResetGetReqAjaxResp_input.action |
+ |
+
+
+ click |
+ indexForm_0 |
+ |
+
+
+ pause |
+ 500 |
+ |
+
+
+ verifyTextPresent |
+ You must enter a message. |
+ |
+
+
+ type |
+ indexForm_msg |
+ a message |
+
+
+ click |
+ indexForm_0 |
+ |
+
+
+ pause |
+ 500 |
+ |
+
+
+ verifyTextPresent |
+ a message |
+ |
+
+
+ click |
+ //input[@value='Reset'] |
+ |
+
+
+ pause |
+ 500 |
+ |
+
+
+ verifyTextNotPresent |
+ You must enter a message |
+ |
+
+
+ type |
+ indexForm_msg |
+ another message |
+
+
+ click |
+ indexForm_0 |
+ |
+
+
+ pause |
+ 500 |
+ |
+
+
+ verifyTextPresent |
+ another message |
+ |
+
+
+ click |
+ //input[@value='Reset'] |
+ |
+
+
+ click |
+ indexForm_0 |
+ |
+
+
+ pause |
+ 500 |
+ |
+
+
+ verifyTextPresent |
+ You must enter a message. |
+ |
+
+
+
+
Added: struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetGetReqAjaxResp
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetGetReqAjaxResp?rev=750181&view=auto
==============================================================================
--- struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetGetReqAjaxResp (added)
+++ struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetGetReqAjaxResp Wed Mar 4 22:00:32 2009
@@ -0,0 +1,112 @@
+
+
+
+