Author: hangnguyen
Date: 2010-11-30 06:01:44 -0500 (Tue, 30 Nov 2010)
New Revision: 5384
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_01_001_CheckShowingGroupManagementForm.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_002_AddNewGroupWithBlankRequireFields.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_003_AddNewGroupWhenNameStartWithNumber.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_004_AddNewGroupWhenGroupNameStartsWithDash.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_006_AddNewGroupWIthNameContainsSpace.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_007_AddNewGroupWhenNameContainsSpecialChars.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_012_AddNewGroupSameNameWithExisting.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_07_004_CheckShowGroupPageListAfterUserWasRemovedFromGroupWith1Role.html
Log:
TESTVN-2082 - Daily tests on GateIn
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_01_001_CheckShowingGroupManagementForm.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_01_001_CheckShowingGroupManagementForm.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_01_001_CheckShowingGroupManagementForm.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
@@ -113,12 +113,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
@@ -163,22 +163,22 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a</td>
+ <td>//a[@title='Up Level']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a</td>
+ <td>//a[@title='Up Level']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a</td>
+ <td>//a[@title='Up Level']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[1]/a</td>
+ <td>//a[@title='Up Level']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_002_AddNewGroupWithBlankRequireFields.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_002_AddNewGroupWithBlankRequireFields.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_002_AddNewGroupWithBlankRequireFields.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
@@ -88,12 +88,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_003_AddNewGroupWhenNameStartWithNumber.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_003_AddNewGroupWhenNameStartWithNumber.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_003_AddNewGroupWhenNameStartWithNumber.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -88,12 +88,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_004_AddNewGroupWhenGroupNameStartsWithDash.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_004_AddNewGroupWhenGroupNameStartsWithDash.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_004_AddNewGroupWhenGroupNameStartsWithDash.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -88,12 +88,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_006_AddNewGroupWIthNameContainsSpace.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_006_AddNewGroupWIthNameContainsSpace.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_006_AddNewGroupWIthNameContainsSpace.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -73,12 +73,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[1]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
@@ -88,12 +88,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_007_AddNewGroupWhenNameContainsSpecialChars.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_007_AddNewGroupWhenNameContainsSpecialChars.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_007_AddNewGroupWhenNameContainsSpecialChars.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -83,17 +83,17 @@
</tr>
<tr>
<td>echo</td>
- <td>-- Click Add new group icon--</td>
+ <td>-- Click Add new group --</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
@@ -127,14 +127,14 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>//div[2]/div[2]/div/div/div/div/div[2]</td>
+ <td>waitForTextPresent</td>
+ <td>Only alpha, digit, dash and underscore characters allowed for the field
"Group Name".</td>
<td></td>
</tr>
<tr>
- <td>verifyText</td>
- <td>//div[2]/div[2]/div/div/div/div/div[2]</td>
+ <td>verifyTextPresent</td>
<td>Only alpha, digit, dash and underscore characters allowed for the field
"Group Name".</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_012_AddNewGroupSameNameWithExisting.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_012_AddNewGroupSameNameWithExisting.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_02_012_AddNewGroupSameNameWithExisting.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -68,12 +68,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[2]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]/div[2]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
@@ -83,12 +83,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[1]/a[3]</td>
+ <td>//a[@title='Add New Group']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_05_012_AddSomeUsersIntoGroupInCaseAfterCommaHasSpace.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -68,12 +68,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[1]/div/div/div/div/div/div/a[2]</td>
+ <td>//div[@class='GroupManagementIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_07_004_CheckShowGroupPageListAfterUserWasRemovedFromGroupWith1Role.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_07_004_CheckShowGroupPageListAfterUserWasRemovedFromGroupWith1Role.html 2010-11-30
10:56:15 UTC (rev 5383)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_03_07_004_CheckShowGroupPageListAfterUserWasRemovedFromGroupWith1Role.html 2010-11-30
11:01:44 UTC (rev 5384)
@@ -163,12 +163,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
@@ -212,6 +212,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Add more role for user --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>username</td>
<td></td>
@@ -224,7 +229,7 @@
<tr>
<td>waitForElementPresent</td>
<td>membership</td>
- <td>label=manager</td>
+ <td></td>
</tr>
<tr>
<td>select</td>
@@ -247,14 +252,14 @@
<td></td>
</tr>
<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
+ <td>echo</td>
+ <td>-- Login with new user --</td>
<td></td>
</tr>
<tr>
- <td>windowMaximize</td>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
<td></td>
- <td></td>
</tr>
<tr>
<td>click</td>
@@ -462,6 +467,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Delete user --</td>
+ <td></td>
+</tr>
+<tr>
<td>open</td>
<td>/portal/public/classic/</td>
<td></td>
@@ -907,6 +917,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_PLT_03_07_004']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseDownRight</td>
<td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_PLT_03_07_004']</td>
<td></td>
@@ -927,6 +942,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_PLT_03_07_004_add']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseDownRight</td>
<td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_PLT_03_07_004_add']</td>
<td></td>