gatein SVN: r3476 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.
by do-not-reply@jboss.org
Author: vuthelinh
Date: 2010-06-25 00:35:49 -0400 (Fri, 25 Jun 2010)
New Revision: 3476
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_CreateAndEditPageAndEditSiteLayoutForPortal.html
Log:
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_CreateAndEditPageAndEditSiteLayoutForPortal.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_CreateAndEditPageAndEditSiteLayoutForPortal.html 2010-06-25 02:38:22 UTC (rev 3475)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_22_CreateAndEditPageAndEditSiteLayoutForPortal.html 2010-06-25 04:35:49 UTC (rev 3476)
@@ -27,7 +27,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
<td></td>
</tr>
@@ -72,9 +72,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Site's Config</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -87,7 +87,7 @@
<td>label=French</td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>xpath=//div[@id='UIMaskWorkspace']//div[@class='TabsContainer']//div[3]//div[@class='MiddleTab']</td>
<td></td>
</tr>
@@ -97,7 +97,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Edit Permission Setting</td>
<td></td>
</tr>
@@ -107,7 +107,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Select Permission</td>
<td></td>
</tr>
@@ -117,7 +117,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Platform</td>
<td></td>
</tr>
@@ -127,7 +127,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Users</td>
<td></td>
</tr>
@@ -137,7 +137,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=exact:*</td>
<td></td>
</tr>
@@ -167,9 +167,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=classic</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>echo</td>
@@ -197,9 +197,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Site's Config</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
14 years, 6 months
gatein SVN: r3475 - epp/docs/branches/EPP_5_0_Branch/5.0.1_Release_Notes/en-US.
by do-not-reply@jboss.org
Author: smumford
Date: 2010-06-24 22:38:22 -0400 (Thu, 24 Jun 2010)
New Revision: 3475
Modified:
epp/docs/branches/EPP_5_0_Branch/5.0.1_Release_Notes/en-US/Revision_History.xml
Log:
Updated Rev history for staging
Modified: epp/docs/branches/EPP_5_0_Branch/5.0.1_Release_Notes/en-US/Revision_History.xml
===================================================================
--- epp/docs/branches/EPP_5_0_Branch/5.0.1_Release_Notes/en-US/Revision_History.xml 2010-06-24 19:08:32 UTC (rev 3474)
+++ epp/docs/branches/EPP_5_0_Branch/5.0.1_Release_Notes/en-US/Revision_History.xml 2010-06-25 02:38:22 UTC (rev 3475)
@@ -7,7 +7,7 @@
<revhistory>
<revision>
<revnumber>1.0</revnumber>
- <date>Mon Jun 21 2010</date>
+ <date>Fri Jun 25 2010</date>
<author>
<firstname>Scott</firstname>
<surname>Mumford</surname>
14 years, 6 months
gatein SVN: r3474 - components/wsrp/trunk/wsrp-producer-war.
by do-not-reply@jboss.org
Author: mwringe
Date: 2010-06-24 15:08:32 -0400 (Thu, 24 Jun 2010)
New Revision: 3474
Modified:
components/wsrp/trunk/wsrp-producer-war/pom.xml
Log:
GTNWSRP-46: Disable starting cargo or creating the test archives if maven.test.skip is set.
Modified: components/wsrp/trunk/wsrp-producer-war/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/pom.xml 2010-06-24 16:09:13 UTC (rev 3473)
+++ components/wsrp/trunk/wsrp-producer-war/pom.xml 2010-06-24 19:08:32 UTC (rev 3474)
@@ -122,6 +122,109 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>integration-tests-enabled</id>
+ <activation>
+ <property>
+ <name>!maven.test.skip</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>1.0.1</version>
+ <executions>
+ <execution>
+ <id>pre-integration-start-server</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>post-integration-stop-server</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <finalName>test</finalName>
+ <appendAssemblyId>true</appendAssemblyId>
+ <!-- we don't want to add these archives into the repo -->
+ <attach>false</attach>
+ <outputDirectory>${project.build.directory}/test-archives</outputDirectory>
+ <descriptors>
+ <descriptor>src/test/assembly/test-producer.xml</descriptor>
+ <descriptor>src/test/assembly/test-markup-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-renderparam-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-session-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-basic-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-dispatcher-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-getlocales-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-encodeurl-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-usercontext-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-multivalued-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-implicitcloning-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-resource-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-resourcenoencodeurl-portlet.xml</descriptor>
+ <descriptor>src/test/assembly/test-applicationscope-portlet.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>assemble</id>
+ <!-- note that package phase happens after the test phase and before the integration test phase -->
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jboss-packaging-maven-plugin</artifactId>
+ <version>2.1.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <!-- Copy Google Portlet samples from PC module to test-archives so that they can be used in tests -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.gatein.pc</groupId>
+ <artifactId>pc-samples</artifactId>
+ <version>2.1.1-GA</version>
+ <classifier>google-portlet</classifier>
+ <type>war</type>
+ <destFileName>google-portlet.war</destFileName>
+ <outputDirectory>${project.build.directory}/test-archives</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencies>
@@ -296,77 +399,7 @@
</executions>
</plugin>
<plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <finalName>test</finalName>
- <appendAssemblyId>true</appendAssemblyId>
- <!-- we don't want to add these archives into the repo -->
- <attach>false</attach>
- <outputDirectory>${project.build.directory}/test-archives</outputDirectory>
- <descriptors>
- <descriptor>src/test/assembly/test-producer.xml</descriptor>
- <descriptor>src/test/assembly/test-markup-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-renderparam-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-session-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-basic-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-dispatcher-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-getlocales-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-encodeurl-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-usercontext-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-multivalued-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-implicitcloning-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-resource-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-resourcenoencodeurl-portlet.xml</descriptor>
- <descriptor>src/test/assembly/test-applicationscope-portlet.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>assemble</id>
- <!-- note that package phase happens after the test phase and before the integration test phase -->
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jboss-packaging-maven-plugin</artifactId>
- <version>2.1.1</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <!-- Copy Google Portlet samples from PC module to test-archives so that they can be used in tests -->
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.1</version>
- <executions>
- <execution>
- <id>copy</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.gatein.pc</groupId>
- <artifactId>pc-samples</artifactId>
- <version>2.1.1-GA</version>
- <classifier>google-portlet</classifier>
- <type>war</type>
- <destFileName>google-portlet.war</destFileName>
- <outputDirectory>${project.build.directory}/test-archives</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
@@ -440,22 +473,6 @@
</configfiles>
</configuration>
</configuration>
- <executions>
- <execution>
- <id>pre-integration-start-server</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>start</goal>
- </goals>
- </execution>
- <execution>
- <id>post-integration-stop-server</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
<testResources>
14 years, 6 months
gatein SVN: r3473 - components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/behaviors.
by do-not-reply@jboss.org
Author: mwringe
Date: 2010-06-24 12:09:13 -0400 (Thu, 24 Jun 2010)
New Revision: 3473
Modified:
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/behaviors/PerUserInitCookieMarkupBehavior.java
Log:
GTNWSRP-46: Update the PerUnitCookiesMarkupBehaviour so that a cookie gets set and the v1 MarkupTestCases will finally pass.
Modified: components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/behaviors/PerUserInitCookieMarkupBehavior.java
===================================================================
--- components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/behaviors/PerUserInitCookieMarkupBehavior.java 2010-06-24 14:02:46 UTC (rev 3472)
+++ components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/test/protocol/v1/behaviors/PerUserInitCookieMarkupBehavior.java 2010-06-24 16:09:13 UTC (rev 3473)
@@ -23,7 +23,20 @@
package org.gatein.wsrp.test.protocol.v1.behaviors;
+import java.util.List;
+
+import javax.xml.soap.MimeHeaders;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+import org.gatein.wsrp.handler.RequestHeaderClientHandler;
+import org.gatein.wsrp.test.handler.MockSOAPMessage;
+import org.gatein.wsrp.test.handler.MockSOAPMessageContext;
import org.gatein.wsrp.test.protocol.v1.BehaviorRegistry;
+import org.oasis.wsrp.v1.V1AccessDenied;
+import org.oasis.wsrp.v1.V1Extension;
+import org.oasis.wsrp.v1.V1InvalidRegistration;
+import org.oasis.wsrp.v1.V1OperationFailed;
+import org.oasis.wsrp.v1.V1RegistrationContext;
/**
* @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
@@ -42,4 +55,24 @@
{
portletHandle = PER_USER_INIT_COOKIE_HANDLE;
}
+
+ @Override
+ public List<V1Extension> initCookie(V1RegistrationContext registrationContext) throws V1InvalidRegistration,
+ V1AccessDenied, V1OperationFailed
+ {
+ //Set the Cookie through the RequestHeaderClientHandler manually here since we use a test BehaviourBackedServiceFactory instead
+ //of the real SOAPServiceFactory.
+ MockSOAPMessage message = new MockSOAPMessage();
+ SOAPMessageContext msgContext = MockSOAPMessageContext.createMessageContext(message, getClass().getClassLoader());
+ MimeHeaders headers = new MimeHeaders();
+ headers.setHeader("Set-Cookie", "name=value");
+ message.setMimeHeaders(headers);
+
+ RequestHeaderClientHandler rhch = new RequestHeaderClientHandler();
+ rhch.handleResponse(msgContext);
+
+ return super.initCookie(registrationContext);
+ }
+
+
}
14 years, 6 months
gatein SVN: r3472 - components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2010-06-24 10:02:46 -0400 (Thu, 24 Jun 2010)
New Revision: 3472
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
Log:
- GTNWSRP-51: properly create a new NamedString for each parameter.
Modified: components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
===================================================================
--- components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24 13:54:36 UTC (rev 3471)
+++ components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24 14:02:46 UTC (rev 3472)
@@ -189,9 +189,10 @@
{
String name = (String)param.getKey();
String[] values = (String[])param.getValue();
- NamedString formParameter = new NamedString();
+ NamedString formParameter;
for (String value : values)
{
+ formParameter = new NamedString();
formParameter.setName(name);
formParameter.setValue(value);
formParameters.add(formParameter);
14 years, 6 months
gatein SVN: r3471 - components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2010-06-24 09:54:36 -0400 (Thu, 24 Jun 2010)
New Revision: 3471
Modified:
components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
Log:
- GTNWSRP-51: properly created a new NamedString for each parameter.
Modified: components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
===================================================================
--- components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24 10:56:09 UTC (rev 3470)
+++ components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24 13:54:36 UTC (rev 3471)
@@ -188,9 +188,10 @@
{
String name = (String)param.getKey();
String[] values = (String[])param.getValue();
- NamedString formParameter = new NamedString();
+ NamedString formParameter;
for (String value : values)
{
+ formParameter = new NamedString();
formParameter.setName(name);
formParameter.setValue(value);
formParameters.add(formParameter);
14 years, 6 months
gatein SVN: r3469 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.
by do-not-reply@jboss.org
Author: vuthelinh
Date: 2010-06-24 06:52:33 -0400 (Thu, 24 Jun 2010)
New Revision: 3469
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html
Log:
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-06-24 10:52:11 UTC (rev 3468)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_28_AddDragDropInDashboardInApplicationRegistry.html 2010-06-24 10:52:33 UTC (rev 3469)
@@ -98,27 +98,17 @@
</tr>
<tr>
<td>echo</td>
- <td>new iteams display: " Date and Time"</td>
- <td></td>
-</tr>
-<tr>
- <td>verifyElementPresent</td>
- <td>//div[3]/div[1]/div/div[1]/div/div/div/div[6]</td>
- <td></td>
-</tr>
-<tr>
- <td>echo</td>
<td>-- Close Dashboard Workspace--</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
@@ -163,17 +153,17 @@
</tr>
<tr>
<td>dragAndDropToObject</td>
- <td>xpath=//div[@class='GadgetTitle' and @title='Calculator']</td>
+ <td>//div[@id='Gadgets/Calendar']/div/div</td>
<td>xpath=//div[@class='UIDashboardContainer']</td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div[1]/div/div[1]/div/div[1]/div/div/div/div[2]</td>
+ <td>//div[contains(@id,'UIAddGadgetPopup')]/div/div[1]/div/div/div/div[2]</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html 2010-06-24 10:52:11 UTC (rev 3468)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_29_AddAndEditAndDeleteTab.html 2010-06-24 10:52:33 UTC (rev 3469)
@@ -27,11 +27,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>link=Sign in</td>
- <td></td>
-</tr>
-<tr>
<td>click</td>
<td>link=Sign in</td>
<td></td>
14 years, 6 months
gatein SVN: r3468 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium.
by do-not-reply@jboss.org
Author: vuthelinh
Date: 2010-06-24 06:52:11 -0400 (Thu, 24 Jun 2010)
New Revision: 3468
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04_SignInAndSignOut.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_UsersManagement.html
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_16_ExpandAll.html
Log:
Update
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04_SignInAndSignOut.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04_SignInAndSignOut.html 2010-06-24 10:43:06 UTC (rev 3467)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_04_SignInAndSignOut.html 2010-06-24 10:52:11 UTC (rev 3468)
@@ -53,7 +53,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>xpath=//div[@id='UIPortalLoginFormAction']//a</td>
+ <td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
<td></td>
</tr>
<tr>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_UsersManagement.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_UsersManagement.html 2010-06-24 10:43:06 UTC (rev 3467)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_06_UsersManagement.html 2010-06-24 10:52:11 UTC (rev 3468)
@@ -48,7 +48,7 @@
</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>
@@ -86,9 +86,15 @@
<td>--Edit fields</td>
<td></td>
</tr>
+<!--choose Mary to Edit-->
<tr>
+ <td>waitForElementPresent</td>
+ <td>//tr[3]/td[5]/div/img[1]</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>xpath=//div[@id='UIListUsersGird']//tbody/tr[3]//td[5]//div//img</td>
+ <td>//tr[3]/td[5]/div/img[1]</td>
<td></td>
</tr>
<tr>
@@ -118,25 +124,30 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIListUsersGird']//tbody/tr[3]//td[5]//div//img</td>
+ <td>//tr[3]/td[5]/div/img[1]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>xpath=//div[@id='UIListUsersGird']//tbody/tr[3]//td[5]//div//img</td>
+ <td>//tr[3]/td[5]/div/img[1]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>xpath=//div[@id='UIUserManagement']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>//div[@id='UIUserManagement']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>xpath=//div[@id='UIUserManagement']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td>//div[@id='UIUserManagement']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>user.name.given</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>user.name.given</td>
<td>test_name_given_06</td>
@@ -157,11 +168,6 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
- <td>css=div#UIOrganizationPortlet div.ManagementTabContent > div.UIPopupWindow div.ActionButton</td>
- <td></td>
-</tr>
-<tr>
<td>waitForTextPresent</td>
<td>The user profile has been updated.</td>
<td></td>
Modified: 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 2010-06-24 10:43:06 UTC (rev 3467)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_13_AddRemoteAndCreateNewGadget.html 2010-06-24 10:52:11 UTC (rev 3468)
@@ -117,11 +117,6 @@
<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>
Modified: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16_ExpandAll.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16_ExpandAll.html 2010-06-24 10:43:06 UTC (rev 3467)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_16_ExpandAll.html 2010-06-24 10:52:11 UTC (rev 3468)
@@ -27,9 +27,9 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>link=Sign in</td>
- <td>1,1</td>
+ <td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
@@ -72,7 +72,7 @@
<td></td>
</tr>
<tr>
- <td>clickAt</td>
+ <td>click</td>
<td>xpath=//div[@id='UISiteMap']//div[@class='ClearFix']/div[2]</td>
<td></td>
</tr>
14 years, 6 months
gatein SVN: r3467 - portal/trunk/testsuite.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-06-24 06:43:06 -0400 (Thu, 24 Jun 2010)
New Revision: 3467
Modified:
portal/trunk/testsuite/GateIn_v3.1.0_BasicPortlets_TestDefinition.ods
portal/trunk/testsuite/GateIn_v3.1.0_MainFucntions_TestDefinition.ods
Log:
Update test case for GateIn_v3.1.0GA
Modified: portal/trunk/testsuite/GateIn_v3.1.0_BasicPortlets_TestDefinition.ods
===================================================================
(Binary files differ)
Modified: portal/trunk/testsuite/GateIn_v3.1.0_MainFucntions_TestDefinition.ods
===================================================================
(Binary files differ)
14 years, 6 months