You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by pa...@apache.org on 2006/12/12 03:49:50 UTC

svn commit: r485989 - in /myfaces/tomahawk/trunk/examples/simple/src/test/selenium: TestSuite-FireFox.html hFormTest-FireFox.html

Author: paulsp
Date: Mon Dec 11 18:49:50 2006
New Revision: 485989

URL: http://svn.apache.org/viewvc?view=rev&rev=485989
Log:
MYFACES-1510 - Test case to verify the issue is resolved.  
TOMAHAWK-809 - Added FireFox specific test suite.

Note: This test case will NOT work on IE

Added:
    myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite-FireFox.html
    myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormTest-FireFox.html

Added: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite-FireFox.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite-FireFox.html?view=auto&rev=485989
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite-FireFox.html (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite-FireFox.html Mon Dec 11 18:49:50 2006
@@ -0,0 +1,15 @@
+
+<html>
+   <body>
+      <table>
+         <tr>
+            <td>Test that should pass in FireFox, but fail in an other browser</td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hFormTest-FireFox.html">hForm</a>
+           </td>
+         </tr>
+      </table>
+   </body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormTest-FireFox.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormTest-FireFox.html?view=auto&rev=485989
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormTest-FireFox.html (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormTest-FireFox.html Mon Dec 11 18:49:50 2006
@@ -0,0 +1,36 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormText</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormText</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hForm.jsf</td>
+	<td></td>
+</tr>
+<!--Test basicForm-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//form[@id='basicForm']</td>
+	<td></td>
+</tr>
+
+<!--Test formWithAttributes-->
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@accept-charset</td>
+	<td>charSet</td>
+</tr>
+</tbody></table>
+</body>
+</html>