gatein SVN: r2714 - portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-21 02:56:45 -0400 (Wed, 21 Apr 2010)
New Revision: 2714
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml
Log:
GTNPORTAL-1109: Typo in JCR/JBoss Cache configuration
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml 2010-04-21 05:06:43 UTC (rev 2713)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml 2010-04-21 06:56:45 UTC (rev 2714)
@@ -279,7 +279,7 @@
<property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml" />
<property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />
<property name="jgroups-multiplexer-stack" value="true" />
- <property name="jbosscache-cluster-namejbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system" />
+ <property name="jbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_wsrp_system" />
<property name="jbosscache-cl-cache.jdbc.table.create" value="true" />
<property name="jbosscache-cl-cache.jdbc.table.drop" value="false" />
@@ -346,7 +346,7 @@
<property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml"/>
<property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>
<property name="jgroups-multiplexer-stack" value="true"/>
- <property name="jbosscache-cluster-namejbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system"/>
+ <property name="jbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system"/>
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_portlet_state_system"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
<property name="jbosscache-cl-cache.jdbc.table.drop" value="false"/>
14 years, 6 months
gatein SVN: r2713 - portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application.
by do-not-reply@jboss.org
Author: thuy.nguyen
Date: 2010-04-21 01:06:43 -0400 (Wed, 21 Apr 2010)
New Revision: 2713
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl
Log:
GTNPORTAL-1034: Broken form of gaget when edit number of column is 4
Modified: portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl
===================================================================
--- portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl 2010-04-21 04:48:27 UTC (rev 2712)
+++ portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl 2010-04-21 05:06:43 UTC (rev 2713)
@@ -31,18 +31,17 @@
<div class="GadgetControl" style="visibility: visible;">
<div class="LeftControlBar">
<div class="RightControlBar">
- <div class="CenterControlBar">
- <div class="GadgetTitle" style="display: none"><%= uicomponent.getApplicationName() %></div>
+ <div class="CenterControlBar ClearFix">
<div class="CloseGadget IconControl" onclick="eXo.gadget.UIGadget.deleteGadget(this)" onmousedown="event.cancelBubble=true;" title="<%=_ctx.appRes("UIGadget.tooltip.deleteGadget")%>"><span></span></div>
+ <div class="<%=view.equals(uicomponent.HOME_VIEW) ? "MaximizeGadget" : "RestoreGadget";%> IconControl"
+ onclick="eXo.gadget.UIGadget.maximizeGadget(this)" onmousedown="event.cancelBubble=true;"
+ title="<%=view.equals(uicomponent.HOME_VIEW) ? maxiTitle : unmaxiTitle%>"><span></span></div>
<div class="<%=isMini ? "RestoreGadget": "MinimizeGadget";%> MinimizeAction IconControl"
onclick="eXo.gadget.UIGadget.minimizeGadget(this)" onmousedown="event.cancelBubble=true;" style="display:none;"
title="<%=isMini ? unminiTitle : miniTitle%>" miniTitle="$miniTitle" unminiTitle="$unminiTitle"><span></span></div>
<div class="EditGadget IconControl" onclick="eXo.gadget.UIGadget.editGadget('$id')" onmousedown="event.cancelBubble=true;" title="<%=_ctx.appRes("UIGadget.tooltip.editGadget")%>"><span></span></div>
- <div class="<%=view.equals(uicomponent.HOME_VIEW) ? "MaximizeGadget" : "RestoreGadget";%> IconControl"
- onclick="eXo.gadget.UIGadget.maximizeGadget(this)" onmousedown="event.cancelBubble=true;"
- title="<%=view.equals(uicomponent.HOME_VIEW) ? maxiTitle : unmaxiTitle%>"><span></span></div>
<div class="GadgetDragHandleArea"><span></span></div>
- <div style="clear: both;"><span></span></div>
+ <div class="GadgetTitle" style="display: none; float: none; width: auto; margin-right: 75px"><%= uicomponent.getApplicationName() %></div>
</div>
</div>
</div>
14 years, 6 months
gatein SVN: r2712 - in portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm: background and 1 other directory.
by do-not-reply@jboss.org
Author: thuy.nguyen
Date: 2010-04-21 00:48:27 -0400 (Wed, 21 Apr 2010)
New Revision: 2712
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm/Stylesheet.css
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm/background/ChangeSkinForm.jpg
Log:
GTNPORTAL-970: No Preview for Simple skin
Modified: portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm/Stylesheet.css
===================================================================
--- portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm/Stylesheet.css 2010-04-21 04:40:19 UTC (rev 2711)
+++ portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm/Stylesheet.css 2010-04-21 04:48:27 UTC (rev 2712)
@@ -50,13 +50,21 @@
cursor: pointer ;
}
-.UIChangeSkinForm .UIItemSelector .TemplateContainer .VistaImage {
+.UIChangeSkinForm .UIItemSelector .TemplateContainer .VistaImage {
margin: auto;
width: 329px; height: 204px;
background: url('background/ChangeSkinForm.jpg') no-repeat center -406px;
cursor: pointer ;
}
+.UIChangeSkinForm .UIItemSelector .TemplateContainer .SimpleSkinImage {
+ margin: auto;
+ width: 329px; height: 204px;
+ background: url('background/ChangeSkinForm.jpg') no-repeat center -615px;
+ cursor: pointer ;
+}
+
+
.UIChangeSkinForm .UIItemSelector .ItemListContainer .ItemList {
background: white url('background/ItemListBg167x127.gif') no-repeat bottom ;
}
Modified: portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/customization/UIChangeSkinForm/background/ChangeSkinForm.jpg
===================================================================
(Binary files differ)
14 years, 6 months
gatein SVN: r2711 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-21 00:40:19 -0400 (Wed, 21 Apr 2010)
New Revision: 2711
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_09_003_CreateNewPortalWithBlankName.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_015_CreateUserPageWithExistingGroupPage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_016_CreateNewUsersPageWithExistingPortalsPage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_001_CutPasteNodeToSamePlace.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html
Log:
Clean and improvement Selenium for design folder
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_09_003_CreateNewPortalWithBlankName.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_09_003_CreateNewPortalWithBlankName.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_09_003_CreateNewPortalWithBlankName.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -18,7 +18,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Create new portal with blank name--</td>
+ <td>--Create new portal with name start by number--</td>
<td></td>
</tr>
<tr>
@@ -72,6 +72,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Portal Template--</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@id='UISiteManagement']//div[@class='UIAction']//div[@class='ActionButton BlueButton']</td>
<td></td>
@@ -97,7 +102,27 @@
<td></td>
</tr>
<tr>
+ <td>select</td>
+ <td>locale</td>
+ <td>label=English</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>skin</td>
+ <td>label=Default</td>
+</tr>
+<tr>
<td>echo</td>
+ <td>--Choose Properties--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
<td>--Select Permission Setting--</td>
<td></td>
</tr>
@@ -177,18 +202,18 @@
<td></td>
</tr>
<tr>
- <td>verifyTextPresent</td>
- <td>The field "Portal Name " is required.</td>
- <td></td>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='PopupMessage']</td>
+ <td>The field "Portal Name :" is required.</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleRightSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td>//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleRightSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td>//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//a</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_015_CreateUserPageWithExistingGroupPage.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_015_CreateUserPageWithExistingGroupPage.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_015_CreateUserPageWithExistingGroupPage.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -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_015_CreateNewUser'sPageWithExistingGroup'sPage</title>
+<title>Test_POR_20_015_CreateUserPageWithExistingGroupPage</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_POR_20_015_CreateNewUser'sPageWithExistingGroup'sPage</td></tr>
+<tr><td rowspan="1" colspan="3">Test_POR_20_015_CreateUserPageWithExistingGroupPage</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -77,6 +77,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Page Setting--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>ownerType</td>
<td></td>
@@ -119,36 +124,61 @@
<tr>
<td>type</td>
<td>name</td>
- <td>POR_20_015</td>
+ <td>Test_POR_20_015</td>
</tr>
<tr>
<td>type</td>
<td>title</td>
- <td>POR_20_015</td>
+ <td>Test_POR_20_015</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Page Layout</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Choose Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
<td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Access Permission Setting</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Access permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>link=Edit Permission Setting</td>
+ <td>link=Access Permission Setting</td>
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Edit permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td>link=Edit Permission Setting</td>
<td></td>
</tr>
<tr>
@@ -194,14 +224,19 @@
<tr>
<td>type</td>
<td>name</td>
- <td>POR_20_015</td>
+ <td>Test_POR_20_015</td>
</tr>
<tr>
<td>type</td>
<td>title</td>
- <td>POR_20_015</td>
+ <td>Test_POR_20_015</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Page layout--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
<td></td>
@@ -248,7 +283,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Delete page of user--</td>
+ <td>--Delete page of group--</td>
<td></td>
</tr>
<tr>
@@ -278,7 +313,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Delete page of group--</td>
+ <td>--Delete page of user--</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_016_CreateNewUsersPageWithExistingPortalsPage.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_016_CreateNewUsersPageWithExistingPortalsPage.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_016_CreateNewUsersPageWithExistingPortalsPage.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -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_016_CreateNewUser'sPageWithExistingPortal'sPage</title>
+<title>Test_POR_20_016_CreateNewUsersPageWithExistingPortalsPage</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_POR_20_016_CreateNewUser'sPageWithExistingPortal'sPage</td></tr>
+<tr><td rowspan="1" colspan="3">Test_POR_20_016_CreateNewUsersPageWithExistingPortalsPage</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -63,31 +63,11 @@
</tr>
<tr>
<td>echo</td>
- <td>--Add new page for portal--</td>
+ <td>--Page Setting--</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Page Management</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Page Management</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
<td></td>
</tr>
@@ -114,14 +94,19 @@
<tr>
<td>type</td>
<td>name</td>
- <td>POR_20_016</td>
+ <td>Test_POR_20_016</td>
</tr>
<tr>
<td>type</td>
<td>title</td>
- <td>POR_20_016</td>
+ <td>Test_POR_20_016</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Page Layout--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
<td></td>
@@ -132,6 +117,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Permission Setting--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
<td></td>
@@ -142,6 +132,26 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Access permission setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Access Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Choose Edit permission setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
@@ -152,6 +162,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Add new page for user--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>link=Page Management</td>
<td></td>
@@ -163,7 +178,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Add new page for user--</td>
+ <td>--Page Setting--</td>
<td></td>
</tr>
<tr>
@@ -184,14 +199,19 @@
<tr>
<td>type</td>
<td>name</td>
- <td>POR_20_016</td>
+ <td>Test_POR_20_016</td>
</tr>
<tr>
<td>type</td>
<td>title</td>
- <td>POR_20_016</td>
+ <td>Test_POR_20_016</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>--Choose Page Layout--</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
<td></td>
@@ -219,7 +239,7 @@
<tr>
<td>type</td>
<td>searchTerm</td>
- <td>POR_20_016</td>
+ <td>Test_POR_20_016</td>
</tr>
<tr>
<td>select</td>
@@ -268,7 +288,7 @@
</tr>
<tr>
<td>echo</td>
- <td>--Delete page of group--</td>
+ <td>--Delete page of poral--</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_001_CopyPasteNodeIntoTheSameNavigation.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -53,12 +53,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
@@ -77,8 +77,13 @@
<td></td>
</tr>
<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[6]//a</td>
+ <td>xpath=//div[@id="UINavigationNodeSelector"]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]//a</td>
<td></td>
</tr>
<tr>
@@ -98,17 +103,17 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[2]//a</td>
+ <td>xpath=//div[@id="UINavigationManagement"]/div[2]/div/div</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='NavigationNodePopupMenu']/div[@class='UIContextMenuContainer']/div[2]/div/div/div[4]//a</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div[2]/div/div/div[2]/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]//a</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div[2]/div/div/div[2]/a</td>
<td></td>
</tr>
<tr>
@@ -118,12 +123,12 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[2]/div[2]/div/div//a</td>
+ <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[3]//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]//a</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div/div//div[2]/div/div/div[7]//a</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_04_003_CopyPasteNodeToSamePlace.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -53,12 +53,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
@@ -77,8 +77,13 @@
<td></td>
</tr>
<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[6]//a</td>
+ <td>xpath=//div[@id="UINavigationNodeSelector"]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]//a</td>
<td></td>
</tr>
<tr>
@@ -98,17 +103,17 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>//div[@class="UIRightPopupMenuContainer"]/div[2]//a</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[2]//a</td>
+ <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[2]//a</td>
+ <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a</td>
<td></td>
</tr>
<tr>
@@ -118,17 +123,17 @@
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>This node name already exists. </td>
+ <td>This node name already exists.</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleRightSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td>//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleRightSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td>//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_001_CutPasteNodeToSamePlace.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_001_CutPasteNodeToSamePlace.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_001_CutPasteNodeToSamePlace.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -53,12 +53,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
@@ -77,8 +77,13 @@
<td></td>
</tr>
<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[6]//a</td>
+ <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]//div/div/div[2]/div[2]/div/div//a</td>
<td></td>
</tr>
<tr>
@@ -97,23 +102,18 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[6]//a</td>
- <td></td>
-</tr>
-<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[6]//a</td>
+ <td>//a[@title='Organization']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Paste Node</td>
+ <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[6]/a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Paste Node</td>
+ <td>//div[@class='UIContextMenuContainer']/div[2]/div/div/div[7]/a</td>
<td></td>
</tr>
<tr>
@@ -123,27 +123,27 @@
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>This node name already exists.</td>
+ <td>This node name already exists</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleRightSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td>//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='UIPortalApplication']//div[@class='ExoMessageDecorator']//div[@class='MiddleRightSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td>//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Save</td>
+ <td>//div[@id='UINavigationManagement']//table[@class='ActionContainer']//tr//td[2]//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Save</td>
+ <td>//div[@id='UINavigationManagement']//table[@class='ActionContainer']//tr//td[2]//a</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html 2010-04-21 04:39:16 UTC (rev 2710)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_25_05_002_CutPasteNodeToSameNavigation.html 2010-04-21 04:40:19 UTC (rev 2711)
@@ -53,12 +53,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=Site</td>
+ <td>link=Group</td>
<td></td>
</tr>
<tr>
@@ -77,8 +77,18 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div/a</td>
+ <td></td>
+</tr>
+<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[6]//a</td>
+ <td>xpath=//div[@id="UINavigationNodeSelector"]/div[3]/div/div/div/div/div/div[2]/div/div/div[2]/div[2]/div[2]/div//a</td>
<td></td>
</tr>
<tr>
@@ -98,17 +108,17 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[2]//a</td>
+ <td>xpath=//div[@id="UINavigationManagement"]/div[2]/div/div//div[2]/div/div</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='NavigationNodePopupMenu']/div[@class='UIContextMenuContainer']/div[2]/div/div/div[4]//a</td>
+ <td>//div[@id='UINavigationManagement']/div[2]/div/div/div[2]/div/div/div[2]//a</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]//a</td>
+ <td>//div[@id='UINavigationManagement']/div[2]/div/div/div[2]/div/div/div[2]//a</td>
<td></td>
</tr>
<tr>
@@ -118,12 +128,17 @@
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//div[@id="UINavigationNodeSelector"]/div/div/div/div[2]/div/div/div[2]/div[2]/div/div//a</td>
+ <td>//a[@title='Users and groups management']</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Delete Node</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
- <td>//div[@id='NavigationNodePopupMenu']/div/div[2]/div/div/div[7]//a</td>
+ <td>link=Delete Node</td>
<td></td>
</tr>
<tr>
14 years, 6 months
gatein SVN: r2710 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-21 00:39:16 -0400 (Wed, 21 Apr 2010)
New Revision: 2710
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_07_007_ChangeLanguageOfUserCreateInPublicMode.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_014_CreateUserSameNameDifferentUser.html
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_002_CreateNewPortalWithValidValue.html
Log:
Clean and improvement Selenium for ko folder
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_07_007_ChangeLanguageOfUserCreateInPublicMode.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_07_007_ChangeLanguageOfUserCreateInPublicMode.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_07_007_ChangeLanguageOfUserCreateInPublicMode.html 2010-04-21 04:39:16 UTC (rev 2710)
@@ -0,0 +1,372 @@
+<?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>Test_POR_07_007_ChangeLanguageOfUserCreateInPublicMode</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_07_007_ChangeLanguageOfUserCreateInPublicMode</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-New Account-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>setSpeed</td>
+ <td>150</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Register new account</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>User Name:</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>confirmPassword</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>firstName</td>
+ <td>test_name_first_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastName</td>
+ <td>test_name_last_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>emailAddress</td>
+ <td>test_user_07(a)yahoo.com</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Subscribe</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--ChangeLanguagePrivateMode by new accout--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</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>POR_07_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Change Language</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Change Language</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Change language from English to German--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=German</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=German</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Apply</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Verify</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Startseite</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Startseite</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Abmelden</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Abmelden</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Login in with new language--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</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>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Verify</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Startseite</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Startseite</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Abmelden</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Sign in again to change language to English--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</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>POR_07_07</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_07_07</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Change back to English</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sprache wechseln</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Englisch</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Englisch</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Anwenden</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Home</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Home</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>clickAt</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[4]//img[@class='DeleteUserIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@class='UIListUsers']//tbody/tr[4]//img[@class='DeleteUserIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForConfirmation</td>
+ <td>Are you sure you want to delete por_07_07?</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>
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-04-21 04:37:07 UTC (rev 2709)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_09_002_CreateNewPortalWithValidValue.html 2010-04-21 04:39:16 UTC (rev 2710)
@@ -118,12 +118,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='LeftTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='LeftTab']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[2]//div[@class='LeftTab']</td>
+ <td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']/div[3]//div[@class='LeftTab']</td>
<td></td>
</tr>
<tr>
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage.html 2010-04-21 04:39:16 UTC (rev 2710)
@@ -0,0 +1,582 @@
+<?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_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_14_01_044_CheckWhenUserDoesNotHaveRightToAddNewPage</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Register new user</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_14_01_044-user</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_14_01_044-user</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>confirmPassword</td>
+ <td>POR_14_01_044-user</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>firstName</td>
+ <td>hoa</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastName</td>
+ <td>nguyen</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>emailAddress</td>
+ <td>POR_14_01_044-user(a)gmail.com</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Subscribe</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Subscribe</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIPage']//div[@class='ExoMessageDecorator']//table[@class='ActionContainer']//div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIPage']//div[@class='ExoMessageDecorator']//table[@class='ActionContainer']//div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new user into group</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>waitForElementPresent</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@class='UserNameField']/td/input</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@class='UserNameField']/td/input</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@id='UIPortalLoginFormControl']/td/input</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@id='UIPortalLoginFormControl']/td/input</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIOrganizationPortlet']//a[@class='GroupButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIOrganizationPortlet']//a[@class='GroupButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='UIGroupManagement']/div[@class='GroupPanel']/div[@class='GroupNavigation']/div[@class='GroupNavigationContainer']/div[@class='UITrees ScrollArea']/div[@class='TreeContainer JSContainer']/div/div[2]/div[@class='ExpandIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='UIGroupManagement']/div[@class='GroupPanel']/div[@class='GroupNavigation']/div[@class='GroupNavigationContainer']/div[@class='UITrees ScrollArea']/div[@class='TreeContainer JSContainer']/div/div[2]/div[@class='ExpandIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_14_01_044-user</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>echo</td>
+ <td>--Add new page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIPageBrowser']/div[@class='UIAction']/table[@class='ActionContainer']//div[@class='ActionButton LightBlueStyle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIPageBrowser']/div[@class='UIAction']/table[@class='ActionContainer']//div[@class='ActionButton LightBlueStyle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageForm']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/select[@class='selectbox']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageForm']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/select[@class='selectbox']</td>
+ <td>label=portal</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageForm']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[4]/td[2]/input</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageForm']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[4]/td[2]/input</td>
+ <td>POR_14_01_044-page</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>echo</td>
+ <td>--Add new node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</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>waitForElementPresent</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageNodeForm2']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/input</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//div[@class='UIFormTabPane']//form[@id='UIPageNodeForm2']//div[@class='UITabContentContainer']/div[@class='UITabContent']/div[@class='UIFormInputSet']/table[@class='UIFormGrid']/tbody/tr[2]/td[2]/input</td>
+ <td>POR_14_01_044-node</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@class='UIFormTabPane']/div[@class='UITabPane']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@class='UIFormTabPane']/div[@class='UITabPane']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Search and Select Page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Search and Select Page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='SelectPage']//div[@id='UIVirtualList']//table[@class='UIGrid']/tbody[@class='FeedBox']/tr[1]/td[5]/div[@class='ActionContainer']/img[@class='SelectPageIcon']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='SelectPage']//div[@id='UIVirtualList']//table[@class='UIGrid']/tbody[@class='FeedBox']/tr[1]/td[5]/div[@class='ActionContainer']/img[@class='SelectPageIcon']</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>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Login by 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>waitForElementPresent</td>
+ <td>username</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_14_01_044-user</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_14_01_044-user</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--View created node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='PortalNavigationTopContainer']/div[3]/div/div/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Check Add new page by user have not right</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForText</td>
+ <td>xpath=//div[@class='UIRowContainer']/div[3]//a[@class='Selected']</td>
+ <td>POR_14_01_044-node</td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>Add New Page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete new user</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>
+<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>waitForElementPresent</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@class='UserNameField']/td/input</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@class='UserNameField']/td/input</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@id='UIPortalLoginFormControl']/td/input</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>//form[@id='UIPortalComponentLogin']//table[@class='UIFormGrid']/tbody/tr[@id='UIPortalLoginFormControl']/td/input</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//img[@alt='DeleteUser']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//img[@alt='DeleteUser']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Are you sure you want to delete POR_14_01_044-user user?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>POR_14_01_044-user</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UINavigationManagement']//a[@title='POR_14_01_044-node']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>componentExoContextMenu</td>
+ <td>//div[@id='UINavigationManagement']//a[@title='POR_14_01_044-node']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Delete Node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Delete Node</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</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>waitForElementNotPresent</td>
+ <td>//div[@id='UINavigationManagement']//a[@title='POR_14_01_044-node']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementNotPresent</td>
+ <td>//div[@id='UINavigationManagement']//a[@title='POR_14_01_044-node']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Navigation</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Site</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementNotPresent</td>
+ <td>POR_14_01_044-page</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextNotPresent</td>
+ <td>POR_14_01_044-page</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/ko/Test_POR_20_014_CreateUserSameNameDifferentUser.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_014_CreateUserSameNameDifferentUser.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/ko/Test_POR_20_014_CreateUserSameNameDifferentUser.html 2010-04-21 04:39:16 UTC (rev 2710)
@@ -0,0 +1,492 @@
+<?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_POR_20_014_CreateUserSameNameDifferentUser</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_20_014_CreateUserSameNameDifferentUser</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Register New Account-</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Register</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>confirmPassword</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>firstName</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastName</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>emailAddress</td>
+ <td>POR_20_014(a)yahoo.com</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Subscribe</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Login in portal--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</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>clickAt</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--GroupManagement--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select User and group managent in menu--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Users and groups management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='GroupButton']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']//div[@class='ManagementIconContainer']/a[@class='GroupButton']</td>
+ <td>1,1</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIOrganizationPortlet']/div[2]/div[2]/div[1]/div[2]/div[1]/div[2]/div/div/div/div[3]/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>-select group from the tree-</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=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIGroupMembershipForm']//div[@class='HorizontalLayout']//table[@class='UIFormGrid']//td[@class='FieldComponent']/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//td[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIUserSelector']/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>POR_20_014</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Click add button--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton LightBlueStyle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//form[@id='UIUserSelector']//div[@class='UIAction']//a[@class='ActionButton LightBlueStyle']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>membership</td>
+ <td>label=manager</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</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>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Create new page for new user--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</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>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select Page Mangement on menu item--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</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>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Create new page for root--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</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>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select Page Mangement on menu item--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Search new page created--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>POR_20_014</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page created--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</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>
14 years, 6 months
gatein SVN: r2709 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-04-21 00:37:07 -0400 (Wed, 21 Apr 2010)
New Revision: 2709
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_08_MembershipsManagement.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_09_ImportApplication.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_25_EditPageOfNode.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_26_MoveUpAndDownANode.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_30_CreateAndEditPageAndEditSiteLayoutForUser.html
Log:
Clean and improvement Selenium for unstable folder
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_08_MembershipsManagement.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_08_MembershipsManagement.html 2010-04-21 04:08:11 UTC (rev 2708)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_08_MembershipsManagement.html 2010-04-21 04:37:07 UTC (rev 2709)
@@ -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_SNF_PRL_08</title>
+<title>Test_SNF_PRL_08_MembershipsManagement</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_SNF_PRL_08</td></tr>
+<tr><td rowspan="1" colspan="3">Test_SNF_PRL_08_MembershipsManagement</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -48,16 +48,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>link=Users and groups management</td>
<td></td>
</tr>
@@ -104,7 +94,7 @@
<tr>
<td>clickAt</td>
<td>link=Save</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_09_ImportApplication.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_09_ImportApplication.html 2010-04-21 04:08:11 UTC (rev 2708)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_09_ImportApplication.html 2010-04-21 04:37:07 UTC (rev 2709)
@@ -3,13 +3,13 @@
<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/" />
-<title>SNF_PRL_09</title>
+<link rel="selenium.base" href="" />
+<title>_09dung</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_09</td></tr>
+<tr><td rowspan="1" colspan="3">_09dung</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -17,21 +17,16 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>-AutoImport-</td>
+ <td>waitForElementPresent</td>
+ <td>link=Sign in</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</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>
@@ -43,114 +38,29 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Select "Application Registry"</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
+ <td>clickAndWait</td>
<td>link=Application Registry</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Import Applications</td>
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Auto Import</td>
+ <td>click</td>
+ <td>//div[@onclick="javascript:if(confirm('This action will automatically create categories and import all the gadgets and portlets on it.'))ajaxGet('/portal/private/classic/administration/registry?portal:componentId=6ab1d351-d18c-42c0-8c59-94bc2d12f83b&portal:type=action&uicomponent=UIApplicationOrganizer&op=ImportAllApplications&ajaxRequest=true')"]</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//a[contains(@onclick,'op=RemoveApplication&objectId=GroupNavigationPortlet&ajaxRequest=true')]</td>
+ <td>assertConfirmation</td>
+ <td>This action will automatically create categories and import all the gadgets and portlets on it.</td>
<td></td>
</tr>
<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure to delete this application?</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextNotPresent</td>
- <td>Group Navigation Portlet</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextNotPresent</td>
- <td>Group Navigation Portlet</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']//div[@class='IconControl ImportIcon']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>storeConfirmation</td>
- <td>autoimport</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Group Navigation Portlet</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextPresent</td>
- <td>Group Navigation Portlet</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//a[contains(@onclick,'op=RemoveApplication&objectId=GroupNavigationPortlet&ajaxRequest=true')]</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//a[contains(@onclick,'op=RemoveApplication&objectId=GroupNavigationPortlet&ajaxRequest=true')]</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForConfirmation</td>
- <td>Are you sure to delete this application?</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextNotPresent</td>
- <td>Group Navigation Portlet</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyTextNotPresent</td>
- <td>Group Navigation Portlet</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UIApplicationOrganizer']//div[@class='UIControlbar']//div[@class='IconControl ImportIcon']</td>
- <td>1,1</td>
-</tr>
-<tr>
- <td>storeConfirmation</td>
- <td>clean</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>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_25_EditPageOfNode.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_25_EditPageOfNode.html 2010-04-21 04:08:11 UTC (rev 2708)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_25_EditPageOfNode.html 2010-04-21 04:37:07 UTC (rev 2709)
@@ -3,13 +3,13 @@
<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/" />
-<title>Test_SNF_PRL_25</title>
+<link rel="selenium.base" href="http://localhost:8080/portal" />
+<title>dung_editPageOfNode</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_SNF_PRL_25</td></tr>
+<tr><td rowspan="1" colspan="3">dung_editPageOfNode</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -42,7 +42,7 @@
<td>gtn</td>
</tr>
<tr>
- <td>clickAndWait</td>
+ <td>clickAt</td>
<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
@@ -77,6 +77,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>xpath=/organization/management/executive-board <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Add new Node <br /> Paste Node <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Add new Node <br /> Edit Node's Page <br /> Edit this Node <br /> Copy Node <br /> Clone Node <br /> Cut Node <br /> Delete Node <br /> Move Up <br /> Move Down <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Organization <br /> <br /> node27 <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Add Node <br /> <br /> <br /> <br /> Save</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Add Node</td>
<td></td>
@@ -89,12 +94,12 @@
<tr>
<td>type</td>
<td>name</td>
- <td>test_grp_node_25</td>
+ <td>test_grp_node_27</td>
</tr>
<tr>
<td>type</td>
<td>label</td>
- <td>test_grp_label_25</td>
+ <td>test_grp_label_27</td>
</tr>
<tr>
<td>clickAt</td>
@@ -132,18 +137,13 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIWorkingWorkspace']//div[@class='UIRowContainer']/div[@id='UISiteBody']//div[@id='UIPageBody']//div[@id='UIGroupNavigationManagement']/div[@class='UIPopupWindow UIDragObject']//div[@class='PopupContent']//div[@class='UIAction']//td[2]//a</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
- <td>xpath=//div[@id='UIWorkingWorkspace']//div[@class='UIRowContainer']/div[@id='UISiteBody']//div[@id='UIPageBody']//div[@id='UIGroupNavigationManagement']/div[@class='UIPopupWindow UIDragObject']//div[@class='PopupContent']//div[@class='UIAction']//td[2]//a</td>
+ <td>link=Save</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=test_grp_label_25</td>
+ <td>echo</td>
+ <td>--- OK den doan nay</td>
<td></td>
</tr>
<tr>
@@ -152,11 +152,6 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
<td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
@@ -168,12 +163,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIPopupWindow UIDragObject' and contains(@style,'width: 400px; display: block; visibility: visible')]//a[@title='test_grp_label_25']</td>
+ <td>xpath=//div[@class='UIPopupWindow UIDragObject' and contains(@style,'width: 400px; display: block; visibility: visible')]//a[@title='test_grp_label_27']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td>xpath=//a[@title='test_grp_label_27']</td>
<td></td>
</tr>
<tr>
@@ -232,22 +227,7 @@
<td></td>
</tr>
<tr>
- <td>echo</td>
- <td>--Delete new group navigation and page edit</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>xpath=//div[@ID='UIGroupNavigationGrid']//table[1]//a[@class='EditNavIcon']</td>
<td></td>
</tr>
@@ -258,96 +238,21 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIPopupWindow UIDragObject' and contains(@style,'width: 400px; display: block; visibility: visible')]//a[@title='test_grp_label_25']</td>
+ <td>xpath=//a[@title='test_grp_label_27']</td>
<td></td>
</tr>
<tr>
<td>componentExoContextMenu</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
+ <td>xpath=//a[@title='test_grp_label_27']</td>
<td></td>
</tr>
<tr>
- <td>clickAt</td>
- <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon EditPageNode16x16Icon']</td>
- <td></td>
-</tr>
-<tr>
<td>waitForElementPresent</td>
- <td>link=View Page properties</td>
+ <td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon']</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
- <td>link=View Page properties</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//input[@class='checkbox']</td>
- <td></td>
-</tr>
-<tr>
- <td>uncheck</td>
- <td>xpath=//input[@class='checkbox']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//a[@class='EdittedSaveButton']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>xpath=//a[@class='EdittedSaveButton']</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>waitForElementPresent</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</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[1]//a[@class='EditNavIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@class='UIPopupWindow UIDragObject' and contains(@style,'width: 400px; display: block; visibility: visible')]//a[@title='test_grp_label_25']</td>
- <td></td>
-</tr>
-<tr>
- <td>componentExoContextMenu</td>
- <td>xpath=//a[@title='test_grp_label_25']</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon DeleteNode16x16Icon']</td>
<td></td>
</tr>
@@ -367,16 +272,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementNotPresent</td>
- <td>link=test_grp_label_25</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementNotPresent</td>
- <td>link=test_grp_label_25</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_26_MoveUpAndDownANode.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_26_MoveUpAndDownANode.html 2010-04-21 04:08:11 UTC (rev 2708)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_26_MoveUpAndDownANode.html 2010-04-21 04:37:07 UTC (rev 2709)
@@ -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_SNF_PRL_26</title>
+<title>Test_SNF_PRL_26_MoveUpAndDownANode</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_SNF_PRL_26</td></tr>
+<tr><td rowspan="1" colspan="3">Test_SNF_PRL_26_MoveUpAndDownANode</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -137,11 +137,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>xpath=//div[@id='PortalNavigationTopContainer']/div[2]/div/div/div/div/div/div/a</td>
- <td></td>
-</tr>
-<tr>
<td>echo</td>
<td>--Edit node's position</td>
<td></td>
@@ -238,36 +233,6 @@
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>xpath=//div[@class='TreeContainer JSContainer']/div/div[${nodeLvl}]/div/a[@title='test_grp_label_26']</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
- <td>Node is at level ${nodeLvl}</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Save</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAt</td>
- <td>link=Group</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</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[1]//a[@class='EditNavIcon']</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
<td>xpath=//a[@title='test_grp_label_26']</td>
<td></td>
</tr>
@@ -302,21 +267,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementNotPresent</td>
- <td>link=test_grp_label_26</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementNotPresent</td>
- <td>link=test_grp_label_26</td>
- <td></td>
-</tr>
-<tr>
- <td>setSpeed</td>
- <td>0</td>
- <td></td>
-</tr>
-<tr>
<td>clickAt</td>
<td>link=Sign out</td>
<td></td>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html 2010-04-21 04:08:11 UTC (rev 2708)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html 2010-04-21 04:37:07 UTC (rev 2709)
@@ -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_SNF_PRL_29</title>
+<title>Test_SNF_PRL_29_AddAndEditAndDeleteTab</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">Test_SNF_PRL_29</td></tr>
+<tr><td rowspan="1" colspan="3">Test_SNF_PRL_29_AddAndEditAndDeleteTab</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -22,6 +22,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementNotPresent</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>link=Sign in</td>
<td></td>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_30_CreateAndEditPageAndEditSiteLayoutForUser.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_30_CreateAndEditPageAndEditSiteLayoutForUser.html 2010-04-21 04:08:11 UTC (rev 2708)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/unstable/Test_SNF_PRL_30_CreateAndEditPageAndEditSiteLayoutForUser.html 2010-04-21 04:37:07 UTC (rev 2709)
@@ -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_30</title>
+<title>Test_SNF_PRL_30_CreateAndEditPageAndEditSiteLayoutForUser</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1" colspan="3">SNF_PRL_30</td></tr>
+<tr><td rowspan="1" colspan="3">Test_SNF_PRL_30_CreateAndEditPageAndEditSiteLayoutForUser</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -58,11 +58,6 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UITabPaneDashboard']/div/div/div/div/div/div[1]/div/div/div/div/span</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
<td>link=Add New Page</td>
<td></td>
</tr>
@@ -262,6 +257,11 @@
<td>1,1</td>
</tr>
<tr>
+ <td>verifyTextPresent</td>
+ <td>Locale</td>
+ <td></td>
+</tr>
+<tr>
<td>select</td>
<td>locale</td>
<td>label=English</td>
14 years, 6 months
gatein SVN: r2708 - portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UISelector/UIItemSelector.
by do-not-reply@jboss.org
Author: thuy.nguyen
Date: 2010-04-21 00:08:11 -0400 (Wed, 21 Apr 2010)
New Revision: 2708
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UISelector/UIItemSelector/Stylesheet.css
Log:
GTNPORTAL-1002: IE6:Error UI in Skin Setting form
Modified: portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UISelector/UIItemSelector/Stylesheet.css
===================================================================
--- portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UISelector/UIItemSelector/Stylesheet.css 2010-04-21 04:03:36 UTC (rev 2707)
+++ portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UISelector/UIItemSelector/Stylesheet.css 2010-04-21 04:08:11 UTC (rev 2708)
@@ -155,7 +155,7 @@
}
.UIItemSelector .RightColumnStyle .ItemListContainer .Title {
- width: 145px; overflow: hidden;
+ width: 143px; overflow: hidden;
}
.UIItemSelector .RightColumnStyle .Title {
14 years, 6 months
gatein SVN: r2707 - in portal/trunk/web/portal/src/main/webapp/login/skin: images and 1 other directory.
by do-not-reply@jboss.org
Author: thuy.nguyen
Date: 2010-04-21 00:03:36 -0400 (Wed, 21 Apr 2010)
New Revision: 2707
Modified:
portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css
portal/trunk/web/portal/src/main/webapp/login/skin/images/LoginBackground.gif
Log:
GTNPORTAL-1000: Show wrong in Sign in form with invalid value in private mode
Modified: portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css
===================================================================
--- portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css 2010-04-21 03:33:02 UTC (rev 2706)
+++ portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css 2010-04-21 04:03:36 UTC (rev 2707)
@@ -91,7 +91,7 @@
height: 18px;
border: solid 1px #b7b7b7 ;
padding-left: 18px;
- background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -236px;
+ background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -266px;
}
.UILogin .LoginContent .FieldContainer input.Password {
@@ -100,7 +100,7 @@
height: 18px;
border: solid 1px #b7b7b7 ;
padding-left: 18px;
- background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -260px;
+ background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -290px;
}
.UILogin a.TextHelp {
@@ -161,17 +161,17 @@
.UILogin .LoginContent .LoginButton .Button .LeftButton {
line-height: 22px;
padding-left: 11px;
- background: url('../skin/images/LoginBackground.gif') no-repeat left -281px;
+ background: url('../skin/images/LoginBackground.gif') no-repeat left -311px;
}
.UILogin .LoginContent .LoginButton .Button .RightButton {
line-height: 22px;
padding-right: 11px;
- background: url('../skin/images/LoginBackground.gif') no-repeat right -281px;
+ background: url('../skin/images/LoginBackground.gif') no-repeat right -311px;
}
.UILogin .LoginContent .LoginButton .Button .MiddleButton {
height: 22px;
line-height: 21px;
- background: url('../skin/images/LoginBackground.gif') center -281px;
+ background: url('../skin/images/LoginBackground.gif') center -311px;
}
Modified: portal/trunk/web/portal/src/main/webapp/login/skin/images/LoginBackground.gif
===================================================================
(Binary files differ)
14 years, 6 months
gatein SVN: r2706 - portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal.
by do-not-reply@jboss.org
Author: kien_nguyen
Date: 2010-04-20 23:33:02 -0400 (Tue, 20 Apr 2010)
New Revision: 2706
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties
Log:
GTNPORTAL-1070 Translate GateIn in VNeses(missing file)
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties 2010-04-21 03:32:16 UTC (rev 2705)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties 2010-04-21 03:33:02 UTC (rev 2706)
@@ -1298,7 +1298,7 @@
UIAddGroupNavigation.Action.Add=Thêm Navigation
UIAddGroupNavigation.header.Group=Group
-UIAddGroupNavigation.Label.NoPermission=This user doesn't have permisson to add navigation
+UIAddGroupNavigation.Label.NoPermission=Tài khỏan của bạn không có quyền để thêm navigation
############################################################################
# org.exoplatform.portal.webui.application.UIGadget #
@@ -1312,3 +1312,4 @@
UIGadget.tooltip.deleteGadget=Xóa Gadget
UIListPermissionSelectorPopup.title.ListPermissionSelector=Lựa chọn quyền
+UIUserToolBarDashboard.page.ClickAndType=Nhấp chuột và điền tên trang
14 years, 6 months
gatein SVN: r2705 - portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin.
by do-not-reply@jboss.org
Author: kien_nguyen
Date: 2010-04-20 23:32:16 -0400 (Tue, 20 Apr 2010)
New Revision: 2705
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_vi.properties
Log:
GTNPORTAL-1070 Translate GateIn in VNeses
Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_vi.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_vi.properties 2010-04-21 03:21:13 UTC (rev 2704)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/RegisterPortlet_vi.properties 2010-04-21 03:32:16 UTC (rev 2705)
@@ -28,8 +28,8 @@
UIRegisterForm.label.lastName=Họ:
UIRegisterForm.label.emailAddress=Địa chỉ email:
UIRegisterForm.label.captcha=Mã xác nhận:
-UIRegisterForm.Action.Subscribe=Đăng ký
-UIRegisterForm.Action.Reset=Nhập lại
+UIRegisterForm.action.Subscribe=Đăng ký
+UIRegisterForm.action.Reset=Nhập lại
UIRegisterEditMode.title=Đăng ký Portlet Preferences
UIRegisterEditMode.label.useCaptcha=Dùng mã xác nhận:
14 years, 6 months