Author: hangnguyen
Date: 2010-03-04 00:01:43 -0500 (Thu, 04 Mar 2010)
New Revision: 1955
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_23.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html
Log:
GTNPORTAL-741 : modify waitfor on 4 test cases for improving speed & stability
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html 2010-03-03
22:24:16 UTC (rev 1954)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_08.html 2010-03-04
05:01:43 UTC (rev 1955)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_08</title>
+<title>Test_SNF_PRL_08</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_08</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_08</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -72,6 +72,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='MembershipButton']</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='MembershipButton']</td>
<td></td>
@@ -132,6 +137,11 @@
<td>test_description_edit_08</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td>1,1</td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Save</td>
<td>1,1</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_23.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_23.html 2010-03-03
22:24:16 UTC (rev 1954)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_23.html 2010-03-04
05:01:43 UTC (rev 1955)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_23</title>
+<title>Test_SNF_PRL_23</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_23</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_23</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -143,12 +143,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html 2010-03-03
22:24:16 UTC (rev 1954)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html 2010-03-04
05:01:43 UTC (rev 1955)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_24</title>
+<title>Test_SNF_PRL_24</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_24</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_24</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -168,47 +168,27 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
+ <td>xpath=//div[@id='UIGroupNavigationGrid']/table[1]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
+ <td>xpath=//div[@id='UIGroupNavigationGrid']/table[1]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>description</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>description</td>
- <td>test_description_edit_24</td>
-</tr>
-<tr>
- <td>select</td>
- <td>priority</td>
- <td>10</td>
-</tr>
-<tr>
<td>clickAt</td>
<td>link=Save</td>
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
- <td>Description: test_description_edit_24</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html 2010-03-03
22:24:16 UTC (rev 1954)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_21.html 2010-03-04
05:01:43 UTC (rev 1955)
@@ -4,12 +4,12 @@
<head
profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/>
<link rel="selenium.base" href="" />
-<title>SNF_PRL_21 verifyTextNotPresent failing in Java</title>
+<title>Test_SNF_PRL_21</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_21
verifyTextNotPresent failing in Java</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_21</td></tr>
</thead><tbody>
<tr>
<td>open</td>