Author: vuthelinh
Date: 2010-07-06 04:34:17 -0400 (Tue, 06 Jul 2010)
New Revision: 3582
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet.html
Log:
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet.html 2010-07-06
06:55:54 UTC (rev 3581)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_12_02_049_CheckFinishFunctionAfterEditedPortlet.html 2010-07-06
08:34:17 UTC (rev 3582)
@@ -52,6 +52,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Site</td>
<td></td>
@@ -92,6 +97,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>title</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>title</td>
<td>POR_Test_12_02_049</td>
@@ -147,11 +157,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save And Close</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Save And Close</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
<td></td>
@@ -162,11 +182,6 @@
<td></td>
</tr>
<tr>
- <td>click</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[1]</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>link=Edit Layout</td>
<td></td>
@@ -283,12 +298,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td>//a[contains(@href,
"javascript:ajaxGet('/portal/private/classic/portalnavigation?portal:componentId=UIPortalComposer&portal:action=Finish&ajaxRequest=true')")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIPortalComposer']/div[1]/div/div/div/a[2]</td>
+ <td>//a[contains(@href,
"javascript:ajaxGet('/portal/private/classic/portalnavigation?portal:componentId=UIPortalComposer&portal:action=Finish&ajaxRequest=true')")]</td>
<td></td>
</tr>
<tr>