Author: hangnguyen
Date: 2010-10-08 00:59:26 -0400 (Fri, 08 Oct 2010)
New Revision: 4596
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_070_CreatePageWizardWithInvalidValueForPublicationDateTime.html
Log:
TestVN-356:Clean and Improve existing Selenium for GateIn
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html 2010-10-08
04:50:12 UTC (rev 4595)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_046_CreatePagesAtTheSameLevelWithSameNodeName.html 2010-10-08
04:59:26 UTC (rev 4596)
@@ -188,12 +188,12 @@
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>This name already exists. </td>
+ <td>This name already exists.</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>This name already exists. </td>
+ <td>This name already exists.</td>
<td></td>
</tr>
<tr>
@@ -247,8 +247,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_POR_19_046']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseDownRight</td>
- <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_POR_19_046']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_POR_19_046']</td>
<td></td>
</tr>
<tr>
@@ -277,6 +282,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html 2010-10-08
04:50:12 UTC (rev 4595)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_047_CreateANewPageWithNodeNameIsTheSameWithExistingNodeNameAtTheSameLevel.html 2010-10-08
04:59:26 UTC (rev 4596)
@@ -228,12 +228,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[3]/div/table/tbody/tr/td/div/div/div/div</td>
+ <td>//div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/table/tbody/tr/td/div/div/div/div</td>
+ <td>//div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
</tr>
<tr>
@@ -272,8 +272,13 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_POR_19_047']</td>
+ <td></td>
+</tr>
+<tr>
<td>mouseDownRight</td>
- <td>//a[@class='NodeIcon DefaultPageIcon' and
@title='Test_POR_19_047']</td>
+ <td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and
@title='Test_POR_19_047']</td>
<td></td>
</tr>
<tr>
@@ -307,6 +312,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_070_CreatePageWizardWithInvalidValueForPublicationDateTime.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_070_CreatePageWizardWithInvalidValueForPublicationDateTime.html 2010-10-08
04:50:12 UTC (rev 4595)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_POR_19_070_CreatePageWizardWithInvalidValueForPublicationDateTime.html 2010-10-08
04:59:26 UTC (rev 4596)
@@ -167,6 +167,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Sign out</td>
<td></td>
Show replies by date