Revision: 573
          http://svn.sourceforge.net/jwebunit/?rev=573&view=rev
Author:   henryju
Date:     2006-10-02 01:05:55 -0700 (Mon, 02 Oct 2006)

Log Message:
-----------
Update test case to not forget bug 1567947.

Modified Paths:
--------------
    
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java
    
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html

Modified: 
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java
===================================================================
--- 
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java
   2006-10-02 07:34:55 UTC (rev 572)
+++ 
trunk/jwebunit-commons-tests/src/main/java/net/sourceforge/jwebunit/tests/FormAssertionsTest.java
   2006-10-02 08:05:55 UTC (rev 573)
@@ -22,9 +22,9 @@
 
     public void testAssertButtonWithTextPresent() {
         beginAt("/assertButtonWithText.html");
-        assertButtonPresentWithText("buttonValue1");
-        assertButtonPresentWithText("buttonValue2");
-        assertButtonNotPresentWithText("buttonValue3");
+        assertButtonPresentWithText("foo");
+        assertButtonPresentWithText("bar");
+        assertButtonNotPresentWithText("foobar");
     }
     
     public void testAssertFormParameterPresent() throws Throwable {

Modified: 
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html
===================================================================
--- 
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html
      2006-10-02 07:34:55 UTC (rev 572)
+++ 
trunk/jwebunit-commons-tests/src/main/resources/testcases/FormAssertionsTest/assertButtonWithText.html
      2006-10-02 08:05:55 UTC (rev 573)
@@ -4,8 +4,8 @@
        </head>
        <body>
                <form>
-                       <button name="buttonName1" id="buttonId1" 
value="buttonValue1" />
+                       <button name="buttonName1" id="buttonId1" 
value="buttonValue1">foo</button>
                </form>
-               <button name="buttonName2" id="buttonId2" value="buttonValue2" 
/>
+               <button name="buttonName2" id="buttonId2" 
value="buttonValue2">bar</button>
        </body>
 </html>
\ No newline at end of file


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to