[gatein-commits] gatein SVN: r2355 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Mar 24 08:58:28 EDT 2010


Author: bdaw
Date: 2010-03-24 08:58:26 -0400 (Wed, 24 Mar 2010)
New Revision: 2355

Modified:
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02_CreateNewAccount.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html
   portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_CreateNewAccountPublicMode.html
Log:
- some selenium tests improvements: wait 5s after user creation before login and assert that user is not displayed in management portlet after removal.

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02_CreateNewAccount.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02_CreateNewAccount.html	2010-03-24 10:54:25 UTC (rev 2354)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_02_CreateNewAccount.html	2010-03-24 12:58:26 UTC (rev 2355)
@@ -82,6 +82,11 @@
 	<td></td>
 </tr>
 <tr>
+   <td>pause</td>
+   <td>5000</td>
+   <td></td>
+</tr>
+<tr>
 	<td>open</td>
 	<td>/portal/public/classic/</td>
 	<td></td>
@@ -187,6 +192,11 @@
 	<td></td>
 </tr>
 <tr>
+	<td>waitForTextNotPresent</td>
+	<td>test_user_02</td>
+	<td></td>
+</tr>
+<tr>
 	<td>clickAt</td>
 	<td>link=Sign out</td>
 	<td></td>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html	2010-03-24 10:54:25 UTC (rev 2354)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html	2010-03-24 12:58:26 UTC (rev 2355)
@@ -77,6 +77,11 @@
 	<td></td>
 </tr>
 <tr>
+   <td>pause</td>
+   <td>5000</td>
+   <td></td>
+</tr>
+<tr>
 	<td>open</td>
 	<td>/portal/public/classic/</td>
 	<td></td>
@@ -267,6 +272,11 @@
 	<td></td>
 </tr>
 <tr>
+	<td>waitForTextNotPresent</td>
+	<td>test_user_33</td>
+	<td></td>
+</tr>
+<tr>
 	<td>clickAt</td>
 	<td>link=Sign out</td>
 	<td></td>

Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_CreateNewAccountPublicMode.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_CreateNewAccountPublicMode.html	2010-03-24 10:54:25 UTC (rev 2354)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_35_CreateNewAccountPublicMode.html	2010-03-24 12:58:26 UTC (rev 2355)
@@ -112,6 +112,11 @@
 	<td></td>
 </tr>
 <tr>
+	<td>waitForTextPresent</td>
+	<td>You have registered a new account.</td>
+	<td></td>
+</tr>
+<tr>
 	<td>echo</td>
 	<td>--Verify</td>
 	<td></td>
@@ -157,6 +162,12 @@
 	<td></td>
 </tr>
 <tr>
+	<td>waitForTextNotPresent</td>
+	<td>test_user_35</td>
+	<td></td>
+</tr>
+<tr>
+<tr>
 	<td>clickAt</td>
 	<td>link=Sign out</td>
 	<td></td>



More information about the gatein-commits mailing list