Author: mvanco(a)redhat.com
Date: 2010-05-03 14:01:39 -0400 (Mon, 03 May 2010)
New Revision: 2944
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html
Log:
EPP5 UI tests: improved test POR_07_002
Modified:
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html
===================================================================
---
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html 2010-05-03
16:17:14 UTC (rev 2943)
+++
portal/branches/EPP_5_0_Branch/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_07_002_ChangeLanguage.html 2010-05-03
18:01:39 UTC (rev 2944)
@@ -22,6 +22,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign in</td>
<td></td>
@@ -42,12 +47,17 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Change Language</td>
<td></td>
</tr>
@@ -72,16 +82,26 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>waitForElementPresent</td>
<td>link=Apply</td>
<td></td>
</tr>
<tr>
+ <td>click</td>
+ <td>link=Apply</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Verify</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>Accueil</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextPresent</td>
<td>Accueil</td>
<td></td>
@@ -102,11 +122,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Sign in</td>
<td></td>
@@ -132,11 +147,16 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Déconnexion</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Déconnexion</td>
<td></td>
@@ -147,8 +167,8 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic</td>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
<td></td>
</tr>
<tr>
@@ -172,16 +192,26 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>echo</td>
<td>--Change back to English</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Changer la langue</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Changer la langue</td>
<td></td>
@@ -197,16 +227,31 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Appliquer</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Appliquer</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>Home</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextPresent</td>
<td>Home</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
Show replies by date