Author: mvanco(a)redhat.com
Date: 2010-04-28 04:59:05 -0400 (Wed, 28 Apr 2010)
New Revision: 2860
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_004_CreateNewPortalWithNameStartNumber.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_01_006_CreateNewNodeInTheFirstLevel.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_019_CreateSameNameGroupPagesInSameGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_004_CopyPasteNodeIntoTheSameResource.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_001_CutPasteNodeToSamePlace.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_004_CutPasteNodeByAddPageWizard.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_CreateAndEditAndDeleteCategoryInApplicationRegistry.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14_ShowOrNotImportApplicationIcon.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_EditNavigationAndEditPropertiesAndDeleteInGroupNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html
Log:
UI Tests: fixed and improved bunch of new tests: POR_25_05_001, SNF_PRL_24, POR_25_05_002,
POR_25_04_001, POR_09_009, SNF_PRL_12, POR_14_01_006, SNF_PRL_10, POR_20_019, POR_09_004,
POR_25_04_004, POR_25_04_003, SNF_PRL_14, POR_25_05_004, SNF_PRL_25
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_004_CreateNewPortalWithNameStartNumber.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_004_CreateNewPortalWithNameStartNumber.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_004_CreateNewPortalWithNameStartNumber.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -77,8 +77,8 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UISiteManagement']//div[@class='UIAction']//div[@class='ActionButton
BlueButton']</td>
+ <td>waitForElementPresent</td>
+ <td>name</td>
<td></td>
</tr>
<tr>
@@ -112,6 +112,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>sessionAlive</td>
+ <td></td>
+</tr>
+<tr>
<td>select</td>
<td>sessionAlive</td>
<td>label=On Demand</td>
@@ -137,6 +142,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>publicMode</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>publicMode</td>
<td></td>
@@ -212,8 +222,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>The "Portal Name :" field must start with a character and
must not contain special characters.</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextPresent</td>
- <td>The "Portal Name :" field must start with a character and
must not contain special characters."</td>
+ <td>The "Portal Name :" field must start with a character and
must not contain special characters.</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -132,6 +132,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>publicMode</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>publicMode</td>
<td></td>
@@ -222,26 +227,11 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UISiteManagement']//div[@class='UIAction']//div[@class='ActionButton
BlueButton']</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Choose Portal Setting--</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>name</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
- <td></td>
-</tr>
-<tr>
<td>type</td>
<td>name</td>
<td>Test_POR_09_009</td>
@@ -382,8 +372,8 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
- <td>The Best of eXo and JBoss Portal</td>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='BreadcumbsInfoBar']//a[text()='Home']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_01_006_CreateNewNodeInTheFirstLevel.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_01_006_CreateNewNodeInTheFirstLevel.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_14_01_006_CreateNewNodeInTheFirstLevel.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -47,11 +47,6 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/private/classic/</td>
- <td></td>
-</tr>
-<tr>
<td>clickAndWait</td>
<td>link=Group</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_019_CreateSameNameGroupPagesInSameGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_019_CreateSameNameGroupPagesInSameGroup.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_20_019_CreateSameNameGroupPagesInSameGroup.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -222,6 +222,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>searchTerm</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>searchTerm</td>
<td>POR_20_019</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -77,6 +77,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='New Staff']</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon' and @title='New Staff']</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -77,6 +77,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='New Staff']</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon' and @title='New Staff']</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_004_CopyPasteNodeIntoTheSameResource.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_004_CopyPasteNodeIntoTheSameResource.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_04_004_CopyPasteNodeIntoTheSameResource.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -77,6 +77,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='New Staff']</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon
DefaultPageIcon' and @title='New Staff']</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_001_CutPasteNodeToSamePlace.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_001_CutPasteNodeToSamePlace.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_001_CutPasteNodeToSamePlace.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -77,13 +77,18 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]//div/div/div[2]/div[2]/div/div//a</td>
+ <td>//a[@title='New Staff']</td>
<td></td>
</tr>
<tr>
@@ -108,7 +113,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[6]/a</td>
+ <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a</td>
<td></td>
</tr>
<tr>
@@ -122,6 +127,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>This node name already exists</td>
+ <td></td>
+</tr>
+<tr>
<td>verifyTextPresent</td>
<td>This node name already exists</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -78,17 +78,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='Users and groups management']</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]/div[2]/div//a</td>
+ <td>//a[@title='Users and groups management']</td>
<td></td>
</tr>
<tr>
@@ -108,7 +113,7 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationManagement"]/div[2]/div/div//div[2]/div/div</td>
+ <td>//div[@class='HomeNode']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_004_CutPasteNodeByAddPageWizard.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_004_CutPasteNodeByAddPageWizard.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_25_05_004_CutPasteNodeByAddPageWizard.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -168,6 +168,16 @@
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//a[@title='Organization']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[1]/div/a</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_CreateAndEditAndDeleteCategoryInApplicationRegistry.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_CreateAndEditAndDeleteCategoryInApplicationRegistry.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10_CreateAndEditAndDeleteCategoryInApplicationRegistry.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -47,6 +47,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Application Registry</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Application Registry</td>
<td>1,1</td>
@@ -118,12 +123,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Platform</td>
+ <td>link=Administrators</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Platform</td>
+ <td>link=Administrators</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12_Portlet.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -42,11 +42,16 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>click</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Application Registry</td>
+ <td>1,1</td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Application Registry</td>
<td>1,1</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14_ShowOrNotImportApplicationIcon.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14_ShowOrNotImportApplicationIcon.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_14_ShowOrNotImportApplicationIcon.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -97,11 +97,21 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Close</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Close</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
@@ -166,12 +176,22 @@
<td>link=Save</td>
<td></td>
</tr>
+<<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Close</td>
+ <td></td>
+</tr>
<tr>
<td>clickAt</td>
<td>link=Close</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_EditNavigationAndEditPropertiesAndDeleteInGroupNavigation.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_EditNavigationAndEditPropertiesAndDeleteInGroupNavigation.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_24_EditNavigationAndEditPropertiesAndDeleteInGroupNavigation.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -47,8 +47,8 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/private/classic/</td>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
@@ -77,6 +77,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Edit Navigation</td>
<td></td>
@@ -117,6 +122,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Search and Select Page</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Search and Select Page</td>
<td>1,1</td>
@@ -127,19 +137,34 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIRepeater']//img[@class='SelectPageIcon']</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UIRepeater']//img[@class='SelectPageIcon']</td>
<td></td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Search:</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
<td>1,1</td>
</tr>
<tr>
+ <td>waitForTextNotPresent</td>
+ <td>Page Selector</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -158,7 +183,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
@@ -222,6 +247,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementNotPresent</td>
+ <td>xpath=//a[@title='test_grp_label_24']</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -232,6 +262,11 @@
<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>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html 2010-04-28
08:41:32 UTC (rev 2859)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_25_EditPageOfNode.html 2010-04-28
08:59:05 UTC (rev 2860)
@@ -78,7 +78,7 @@
</tr>
<tr>
<td>echo</td>
- <td>xpath=/organization/management/executive-board <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> <br />
<br /> Add new Node <br /> Paste Node <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> Add new Node
<br /> Edit Node's Page <br /> Edit this Node <br /> Copy Node
<br /> Clone Node <br /> Cut Node <br /> Delete Node <br /> Move
Up <br /> Move Down <br /> <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> Organization
<br /> <br /> node27 <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> Add Node <br /> <br />
<br /> <br /> Save</td>
+ <td>xpath=/organization/management/executive-board <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> <br />
<br /> Add new Node <br /> Paste Node <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> Add new Node
<br /> Edit Node's Page <br /> Edit this Node <br /> Copy Node
<br /> Clone Node <br /> Cut Node <br /> Delete Node <br /> Move
Up <br /> Move Down <br /> <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> Organization
<br /> <br /> node25 <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> <br /> <br /> <br />
<br /> <br /> <br /> <br /> Add Node <br /> <br />
<br /> <br /> Save</td>
<td></td>
</tr>
<tr>
@@ -94,12 +94,12 @@
<tr>
<td>type</td>
<td>name</td>
- <td>test_grp_node_27</td>
+ <td>test_grp_node_25</td>
</tr>
<tr>
<td>type</td>
<td>label</td>
- <td>test_grp_label_27</td>
+ <td>test_grp_label_25</td>
</tr>
<tr>
<td>clickAt</td>
@@ -163,12 +163,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIPopupWindow UIDragObject' and
contains(@style,'width: 400px; display: block; visibility:
visible')]//a[@title='test_grp_label_27']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//a[@title='test_grp_label_27']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
@@ -202,6 +202,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
<td></td>
@@ -238,12 +243,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//a[@title='test_grp_label_27']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//a[@title='test_grp_label_27']</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
<td></td>
</tr>
<tr>
@@ -262,6 +267,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementNotPresent</td>
+ <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -272,6 +282,11 @@
<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>