Author: dbaeli
Date: 2010-02-22 18:32:56 -0500 (Mon, 22 Feb 2010)
New Revision: 1812
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/
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/unstable/
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html
Removed:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_22.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_24.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_28.html
Modified:
portal/trunk/testsuite/selenium-snifftests/pom.xml
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/TestSuite_SNF_PRL.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html
Log:
GTNPORTAL-509: Selenium tests
* Hudson integration, tuning tests
* Fixing unstable tests (22, 28)
* Default Speed to 300 (Some tests can't run full speed for now, like 7 and 10)
Modified: portal/trunk/testsuite/selenium-snifftests/pom.xml
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/pom.xml 2010-02-22 20:13:16 UTC (rev 1811)
+++ portal/trunk/testsuite/selenium-snifftests/pom.xml 2010-02-22 23:32:56 UTC (rev 1812)
@@ -16,8 +16,8 @@
<org.selenium.server.version>1.0.1</org.selenium.server.version>
<selenium.port>4444</selenium.port>
<selenium.browser>firefox</selenium.browser>
- <selenium.timeout>30000</selenium.timeout>
- <selenium.speed>150</selenium.speed>
+ <selenium.timeout>10000</selenium.timeout>
+ <selenium.speed>300</selenium.speed>
<org.selenium.maven-plugin.version>1.0</org.selenium.maven-plugin.version>
</properties>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/main/java/org/exoplatform/portal/selenium/SeleniumTestCaseGenerator.java 2010-02-22
23:32:56 UTC (rev 1812)
@@ -120,7 +120,7 @@
if (xml.indexOf(""") != -1) {
xml = replace(xml, """, "\"");
- writeFile(outputdir + "/" + scriptFile, xml);
+ //writeFile(outputdir + "/" + scriptFile, xml);
}
int x = xml.indexOf("<tbody>");
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/TestSuite_SNF_PRL.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/TestSuite_SNF_PRL.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/TestSuite_SNF_PRL.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -23,25 +23,25 @@
<tr><td><a
href="Test_SNF_PRL_16.html">SNF_PRL_16</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_17.html">SNF_PRL_17</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_18.html">SNF_PRL_18</a></td></tr>
-<tr><td><a
href="Test_SNF_PRL_20.html">SNF_PRL_20</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_31.html">SNF_PRL_31</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_32.html">SNF_PRL_32</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_33.html">SNF_PRL_33</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_34.html">SNF_PRL_34</a></td></tr>
<tr><td><a
href="Test_SNF_PRL_35.html">SNF_PRL_35</a></td></tr>
-<tr><td><a href="ko/Test_SNF_PRL_21.html">SNF_PRL_21 Not
java</a></td></tr>
-<tr><td><a href="ko/Test_SNF_PRL_22.html">SNF_PRL_22 Not
working select</a></td></tr>
-<tr><td><a href="ko/Test_SNF_PRL_24.html">SNF_PRL_24 Users
not always same place</a></td></tr>
-<tr><td><a href="ko/Test_SNF_PRL_25.html">SNF_PRL_25 Not
working</a></td></tr>
+<tr><td><a
href="candidate/Test_SNF_PRL_28.html">SNF_PRL_28</a></td></tr>
+<tr><td><a
href="candidate/Test_SNF_PRL_22.html">SNF_PRL_22</a></td></tr>
+<tr><td><a href="unstable/Test_SNF_PRL_20.html">SNF_PRL_20
getConfirmation</a></td></tr>
+<tr><td><a href="ko/Test_SNF_PRL_21.html">SNF_PRL_21
verifyTextNotPresent failing in Java</a></td></tr>
+<tr><td><a href="ko/Test_SNF_PRL_25.html">SNF_PRL_25 Not
working full speed popup</a></td></tr>
<tr><td><a href="ko/Test_SNF_PRL_26.html">SNF_PRL_26 Not
working</a></td></tr>
<tr><td><a href="ko/Test_SNF_PRL_27.html">SNF_PRL_27 Not
working</a></td></tr>
-<tr><td><a href="ko/Test_SNF_PRL_28.html">SNF_PRL_28 Not
working</a></td></tr>
<tr><td><a href="ko/Test_SNF_PRL_29.html">SNF_PRL_29 Not
working</a></td></tr>
<tr><td><a href="ko/Test_SNF_PRL_30.html">SNF_PRL_30 Not
working</a></td></tr>
<tr><td><a href="issues/Test_SNF_PRL_06.html">SNF_PRL_06
GTNPORTAL-270</a></td></tr>
<tr><td><a href="issues/Test_SNF_PRL_13.html">SNF_PRL_13
GTNPORTAL-439</a></td></tr>
<tr><td><a href="issues/Test_SNF_PRL_19.html">SNF_PRL_19 On
tomcat to confirm</a></td></tr>
<tr><td><a href="issues/Test_SNF_PRL_23.html">SNF_PRL_23
GroupNavigation elements order not stable</a></td></tr>
+<tr><td><a href="issues/Test_SNF_PRL_24.html">SNF_PRL_24
GroupNavigation elements order not stable</a></td></tr>
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_07.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -113,12 +113,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIOrganizationPortlet']//div[@class='TitleBar']/a[@class='TreeActionIcon
AddGroupIcon']</td>
+ <td>//div[@class="GroupNavigation"]//a[@class="TreeActionIcon
AddGroupIcon"]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[2]/div[1]/div[1]/a[3]</td>
+ <td>//div[@class="GroupNavigation"]//a[@class="TreeActionIcon
AddGroupIcon"]</td>
<td></td>
</tr>
<tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_10.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -27,6 +27,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
<td>type</td>
<td>username</td>
<td>root</td>
Deleted:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -1,207 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
-<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_20</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_20</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-DeletePortal-</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Site</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Add new portal</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Add New Portal</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Add New Portal</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>name</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name</td>
- <td>test_portal_name_20</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'Properties');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=Properties')"]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>document.forms[0].elements[6]</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PermissionSetting')"]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>publicMode</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>publicMode</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Edit Permission Setting</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Select Permission</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Select Permission</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Platform</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Platform</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=exact:*</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=exact:*</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
- <td>exact:*</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>test_portal_name_20</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Delete portal</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure you want to delete this portal?</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextNotPresent</td>
- <td>test_portal_name_20</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextNotPresent</td>
- <td>test_portal_name_20</td>
- <td>1,1</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>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Copied:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html
(from rev 1794,
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_22.html)
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html
(rev 0)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_22.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
+<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="http://localhost:8080/portal"
/>
+<title>SNF_PRL_22 Not working select</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SNF_PRL_22 Not working
select</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-EditPortalLayout-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Layout</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Portal Properties</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Portal Properties</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>locale</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>locale</td>
+ <td>label=French</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>publicMode</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Select Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Select Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Users</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForText</td>
+ <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
+ <td>exact:*</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=classic</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Verify</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Layout</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Portal Properties</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Portal Properties</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>locale</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>French</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>locale</td>
+ <td>label=French</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>publicMode</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=classic</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td>1,1</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Copied:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html
(from rev 1794,
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_28.html)
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html
(rev 0)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/candidate/Test_SNF_PRL_28.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
+<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_28 Not working</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SNF_PRL_28 Not
working</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-ActionsDashboardpage-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAtAndWait</td>
+ <td>link=Dashboard</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add gadgets into dashboard page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Gadgets</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Gadgets</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--By url</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//input[@id='url']</td>
+ <
td>http://www.google.com/ig/modules/datetime.xml</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//img[@class='AddNewNodeIcon']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='GadgetTitle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//div[@class='GadgetTitle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@title='Delete Gadget']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure to delete this gadget?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Gadgets</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Gadgets</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--By drag and drop</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>dragAndDropToObject</td>
+ <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
+ <td>//div[@class='UIDashboardContainer']</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--------To fast</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='GadgetTitle' and @style='display:
block;']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//div[@class='GadgetTitle' and @style='display:
block;']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='CloseGadget IconControl']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='UIPopupWindow
UIDragObject']//div[@class='CloseButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure to delete this gadget?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Drag your gadgets here.</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Copied:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html
(from rev 1794,
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_24.html)
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html
(rev 0)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_24.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
+<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 Users not always same place</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">SNF_PRL_24 Users not
always same place</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-EditDeleteNavigation-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/private/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Navigation</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Cancel</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Cancel</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForText</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>test_grp_node_24</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>label</td>
+ <td>test_grp_label_24</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Choose "Page Selector" tab</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Search and Select Page</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select the first page from pages list</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIRepeater']//img[@class='SelectPageIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=test_grp_label_24</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=test_grp_label_24</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Edit navigation properties</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>priority</td>
+ <td></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>waitForElementPresent</td>
+ <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//a[@title='test_grp_label_24']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
+ <td>//a[@title='test_grp_label_24']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete new group navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>componentExoContextMenu</td>
+ <td>//a[@title='test_grp_label_24']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure you want to delete this node?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Deleted:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_22.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_22.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_22.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -1,232 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
-<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="http://localhost:8080/portal"
/>
-<title>SNF_PRL_22</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_22</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-EditPortalLayout-</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Site</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Edit Layout</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Portal Properties</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Portal Properties</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>locale</td>
- <td></td>
-</tr>
-<tr>
- <td>select</td>
- <td>locale</td>
- <td>label=French (France)</td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>publicMode</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Edit Permission Setting</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Select Permission</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Select Permission</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Platform</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Platform</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Users</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Users</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=exact:*</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=exact:*</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
- <td>exact:*</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=classic</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=classic</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Verify</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Site</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Edit Layout</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Portal Properties</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Portal Properties</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>locale</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>French (France)</td>
- <td></td>
-</tr>
-<tr>
- <td>select</td>
- <td>locale</td>
- <td>label=French (France)</td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>publicMode</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UIPortalComposer']//a[@class='EdittedSaveButton']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=classic</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=classic</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td>1,1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Deleted:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_24.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_24.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_24.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -1,252 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
-<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 Users not always same place</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_24 Users not
always same place</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/portal/public/classic</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-EditDeleteNavigation-</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/portal/private/classic/</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Add Navigation</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Add Navigation</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Cancel</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Cancel</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Edit Navigation</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Add Node</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Add Node</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>name</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>name</td>
- <td>test_grp_node_24</td>
-</tr>
-<tr>
- <td>type</td>
- <td>label</td>
- <td>test_grp_label_24</td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Choose "Page Selector" tab</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@class='CenterHorizontalTabs']//div[@class='NormalTab']//div[@class='MiddleTab']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Search and Select Page</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Select the first page from pages list</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UIRepeater']//img[@class='SelectPageIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=test_grp_label_24</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=test_grp_label_24</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Edit navigation properties</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UIGroupNavigationGrid']/table[4]//td[@class='ActionBlock']//a[@class='EditProIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>priority</td>
- <td></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>waitForElementPresent</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@ID='UIGroupNavigationGrid']//table[4]//a[@class='EditNavIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//a[@title='test_grp_label_24']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//a[@title='test_grp_label_24']</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Delete new group navigation</td>
- <td></td>
-</tr>
-<tr>
- <td>componentExoContextMenu</td>
- <td>//a[@title='test_grp_label_24']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon
DeleteNode16x16Icon']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure you want to delete this node?</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Deleted:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_28.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_28.html 2010-02-22
20:13:16 UTC (rev 1811)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_SNF_PRL_28.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
-<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_28</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_28</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/portal/public/classic</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-ActionsDashboardpage-</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>root</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>gtn</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAtAndWait</td>
- <td>link=Dashboard</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Add gadgets into dashboard page</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Add Gadgets</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Add Gadgets</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--By url</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>//input[@id='url']</td>
- <
td>http://www.google.com/ig/modules/datetime.xml</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//img[@class='AddNewNodeIcon']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UIAddGadgetPopup']//div[@class='CloseButton']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@class='GadgetTitle']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//div[@class='GadgetTitle']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@title='Delete Gadget']</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure to delete this gadget?</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Add Gadgets</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Add Gadgets</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--By drag and drop</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
- <td></td>
-</tr>
-<tr>
- <td>dragAndDropToObject</td>
- <td>//div[@class='GadgetTitle' and
@title='Calculator']</td>
- <td>//div[@class='UIDashboardContainer']</td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--------To fast</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@class='GadgetTitle' and @style='display:
block;']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//div[@class='GadgetTitle' and @style='display:
block;']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@class='CloseGadget IconControl']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@id='UIAddGadgetPopup']//div[@class='CloseButton']</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>//div[(a)onclick='eXo.gadget.UIGadget.deleteGadget(this)']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure to delete this gadget?</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Drag your gadgets here.</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Copied:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html
(from rev 1810,
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_20.html)
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html
(rev 0)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_20.html 2010-02-22
23:32:56 UTC (rev 1812)
@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
+<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_20</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1"
colspan="3">SNF_PRL_20</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-DeletePortal-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new portal</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add New Portal</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add New Portal</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PortalSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PortalSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>test_portal_name_20</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'Properties');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=Properties')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>document.forms[0].elements[6]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick=&quot;eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this,
'UIPortalForm',
'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPortalForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>publicMode</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>publicMode</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Select Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Select Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>setSpeed</td>
+ <td>1000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForText</td>
+ <td>//div[@id='UIPermissionSelector']/div/div[2]/div[1]/div[3]/div[2]</td>
+ <td>exact:*</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>test_portal_name_20</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete portal</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure you want to delete this portal?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextNotPresent</td>
+ <td>test_portal_name_20</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>test_portal_name_20</td>
+ <td>1,1</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>
+</tr>
+
+</tbody></table>
+</body>
+</html>