Author: arthurpeltier
Date: 2010-03-15 07:25:03 -0400 (Mon, 15 Mar 2010)
New Revision: 2260
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html
Removed:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_33_SettingAccount.html
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_002_CreateNewPortalWithValidValue.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_008_CreateNewPortalWithNameIsTheSameWithExistingOne.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_023_CreateNewPageForGroupWithValidValues.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
Log:
GTNPORTAL-775 : * Correct tests and reorganize tests following status
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
(rev 0)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -0,0 +1,142 @@
+<?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>Test_SNF_PRL_13</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_13</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-AddGadget-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>setSpeed</td>
+ <td>150</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</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Application Registry</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Gadget</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Gadget</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='IconControl AddNewIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='IconControl AddNewIcon']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>url</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>url</td>
+ <
td>http://www.google.com/ig/modules/datetime.xml</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Gadget Details</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementNotPresent</td>
+ <td>//div[@class='PopupIcon ErrorMessageIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Gadget Details</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='SelectedItem ItemContent']/a[2]</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>//div[@class='SelectedItem
ItemContent']/a[@title='Calculator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementNotPresent</td>
+ <td>//a[@title='Date & Time']</td>
+ <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>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html
(rev 0)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_33_SettingAccount.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -0,0 +1,272 @@
+<?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>Test_SNF_PRL_33_SettingAccount</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_33_SettingAccount</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-AccountSetting-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Register new account</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>test_user_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>test_pwd_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>confirmPassword</td>
+ <td>test_pwd_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>firstName</td>
+ <td>test_name_first_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastName</td>
+ <td>test_name_last_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>emailAddress</td>
+ <td>test_user_33(a)yahoo.com</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Subscribe</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Sign in and modify</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>test_user_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>test_pwd_33</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>test_name_first_33 test_name_last_33</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=test_name_first_33 test_name_last_33</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Change Password</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Change Password</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>currentpass</td>
+ <td>test_pwd_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>newpass</td>
+ <td>test_edit_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>confirmnewpass</td>
+ <td>test_edit_33</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>css=form#UIAccountChangePass div.ActionButton</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>clickAndWait</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Verify modifications</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>test_user_33</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>test_edit_33</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>test_name_first_33 test_name_last_33</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>test_name_first_33 test_name_last_33</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete new user</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</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>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure you want to delete test_user_33 user?</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/issues/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -1,142 +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>Test_SNF_PRL_13</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_13</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-AddGadget-</td>
- <td></td>
-</tr>
-<tr>
- <td>setSpeed</td>
- <td>150</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</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Application Registry</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Gadget</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Gadget</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>//div[@class='IconControl AddNewIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@class='IconControl AddNewIcon']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>url</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>url</td>
- <
td>http://www.google.com/ig/modules/datetime.xml</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Add</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Gadget Details</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementNotPresent</td>
- <td>//div[@class='PopupIcon ErrorMessageIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Gadget Details</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>//div[@class='SelectedItem ItemContent']/a[2]</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>//div[@class='SelectedItem
ItemContent']/a[@title='Calculator']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementNotPresent</td>
- <td>//a[@title='Date & Time']</td>
- <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>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Deleted:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_33_SettingAccount.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_33_SettingAccount.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/issues/Test_SNF_PRL_33_SettingAccount.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -1,277 +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>Test_SNF_PRL_33</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_33</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>-AccountSetting-</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Register new account</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Register</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>username</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>username</td>
- <td>test_user_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>test_pwd_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>confirmPassword</td>
- <td>test_pwd_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>firstName</td>
- <td>test_name_first_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>lastName</td>
- <td>test_name_last_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>emailAddress</td>
- <td>test_user_33(a)yahoo.com</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Subscribe</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>open</td>
- <td>/portal/public/classic/</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Sign in and modify</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>test_user_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>test_pwd_33</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>test_name_first_33 test_name_last_33</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=test_name_first_33 test_name_last_33</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Change Password</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Change Password</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>currentpass</td>
- <td>test_pwd_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>newpass</td>
- <td>test_edit_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>confirmnewpass</td>
- <td>test_edit_33</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>css=form#UIAccountChangePass div.ActionButton</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>clickAndWait</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Known issue :
https://jira.jboss.org/jira/browse/GTNPORTAL-837</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Verify modifications</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>test_user_33</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>test_edit_33</td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>test_name_first_33 test_name_last_33</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>test_name_first_33 test_name_last_33</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>--Delete new user</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign in</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>clickAt</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Users and groups management</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Users and groups management</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//div[@class='UIListUsers']//tbody/tr[5]//img[@class='DeleteUserIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure you want to delete test_user_33 user?</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Sign out</td>
- <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_002_CreateNewPortalWithValidValue.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_002_CreateNewPortalWithValidValue.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_002_CreateNewPortalWithValidValue.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -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>Test_POR_09_002</title>
+<title>Test_POR_09_002_CreateNewPortalWithValidValue</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_09_002</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_09_002_CreateNewPortalWithValidValue</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -197,7 +197,7 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>waitForTextPresent</td>
<td>Portal Navigation</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_008_CreateNewPortalWithNameIsTheSameWithExistingOne.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_008_CreateNewPortalWithNameIsTheSameWithExistingOne.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_008_CreateNewPortalWithNameIsTheSameWithExistingOne.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -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>Test_POR_09_008</title>
+<title>Test_POR_09_008_CreateNewPortalWithNameIsTheSameWithExistingOne</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_09_008</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_09_008_CreateNewPortalWithNameIsTheSameWithExistingOne</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -97,6 +97,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>name</td>
<td>test_por_09_008</td>
@@ -212,11 +217,16 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>name</td>
<td>Test_POR_09_008</td>
@@ -282,7 +292,7 @@
<td>exact:*</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>link=Save</td>
<td></td>
</tr>
@@ -312,6 +322,16 @@
<td></td>
</tr>
<tr>
+ <td>waitForTextPresent</td>
+ <td>test_por_09_008</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>test_por_09_008</td>
+ <td>1,1</td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
<td></td>
@@ -327,12 +347,12 @@
<td></td>
</tr>
<tr>
- <td>waitForTextPresent</td>
+ <td>waitForTextNotPresent</td>
<td>test_por_09_008</td>
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
+ <td>verifyTextNotPresent</td>
<td>test_por_09_008</td>
<td>1,1</td>
</tr>
@@ -357,7 +377,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>xpath=//div[@id='UISiteManagement']/table[2]/tbody/tr/td[3]/a[4]</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -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>Test_POR_09_009</title>
+<title>Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_09_009</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_09_009_CreateNewPortalWithPortalNameTheSameWithExistingButDifferentByLowerAndUpperCase</td></tr>
</thead><tbody>
<tr>
<td>open</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_10_002_DeleteCurrentPortalByLegalUser.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -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>Test_POR_10_002</title>
+<title>Test_POR_10_002_DeleteCurrentPortalByLegalUser</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_10_002</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_10_002_DeleteCurrentPortalByLegalUser</td></tr>
</thead><tbody>
<tr>
<td>open</td>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_023_CreateNewPageForGroupWithValidValues.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_023_CreateNewPageForGroupWithValidValues.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_023_CreateNewPageForGroupWithValidValues.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -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>Test_POR_20_023</title>
+<title>Test_POR_20_023_CreateNewPageForGroupWithValidValues</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_20_023</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_20_023_CreateNewPageForGroupWithValidValues</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -97,6 +97,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>ownerId</td>
+ <td></td>
+</tr>
+<tr>
<td>select</td>
<td>ownerId</td>
<td>label=/organization/operations</td>
@@ -212,6 +217,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Add Permission</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Add Permission</td>
<td></td>
@@ -327,6 +337,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>searchTerm</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>searchTerm</td>
<td>POR_20_023</td>
@@ -342,7 +357,7 @@
<td></td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
<td></td>
</tr>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-03-15
07:59:18 UTC (rev 2259)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties.html 2010-03-15
11:25:03 UTC (rev 2260)
@@ -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="http://localhost:8080/portal"
/>
-<title>Test_POR_22_019</title>
+<title>Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">Test_POR_22_019</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_POR_22_019_ChangeEditRightOnPortalPageWhileEditingPortalPageProperties</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -142,13 +142,23 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>waitForElementPresent</td>
<td>link=POR_22_019_label</td>
<td></td>
</tr>
<tr>
+ <td>open</td>
+ <td>/portal/private/classic/POR_22_019_name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementNotPresent</td>
+ <td>link=Add New Portal</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='SelectedNavigationTab']//a[contains(@href,'POR_22_019_name')]</td>
+ <td>xpath=//div[@class='SelectedNavigationTab']//a[contains(@href,'POR_22_019')]</td>
<td></td>
</tr>
<tr>
@@ -257,6 +267,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>
@@ -277,6 +292,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>username</td>
<td>john</td>
@@ -303,7 +323,7 @@
</tr>
<tr>
<td>clickAt</td>
- <td>link=Edit Page</td>
+ <td>xpath=//a[@class='ItemIcon EditPageIcon']</td>
<td></td>
</tr>
<tr>
@@ -352,11 +372,21 @@
<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=Guests</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Guests</td>
<td></td>
@@ -422,6 +452,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>username</td>
<td>demo</td>
@@ -487,6 +522,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>username</td>
<td>root</td>
@@ -497,7 +537,7 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
<td></td>
</tr>